aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-28 22:29:00 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-28 22:29:00 +0800
commit1aec1a2ddae3a3714d6a167d85fcc1c69413b660 (patch)
tree07fb6534ac71aea4edca41d39ececd7d81976b04 /public
parent81287ba022ae906f1f9eb5b1324567cd93771b4e (diff)
downloadgitea-1aec1a2ddae3a3714d6a167d85fcc1c69413b660.tar.gz
gitea-1aec1a2ddae3a3714d6a167d85fcc1c69413b660.zip
Finish new admin dashboard
Diffstat (limited to 'public')
-rw-r--r--public/ng/css/gogs.css42
-rw-r--r--public/ng/css/ui.css4
-rw-r--r--public/ng/less/gogs.less3
-rw-r--r--public/ng/less/gogs/admin.less23
-rw-r--r--public/ng/less/gogs/base.less18
-rw-r--r--public/ng/less/gogs/settings.less2
-rw-r--r--public/ng/less/ui/panel.less3
-rw-r--r--public/ng/less/ui/reset.less6
8 files changed, 92 insertions, 9 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css
index 5ea7cf8f2d..dac5870064 100644
--- a/public/ng/css/gogs.css
+++ b/public/ng/css/gogs.css
@@ -234,6 +234,24 @@ img.avatar-100 {
.text-black {
color: #444444;
}
+.table {
+ width: 100%;
+ max-width: 100%;
+}
+.table > thead > tr > th,
+.table > tbody > tr > th,
+.table > tfoot > tr > th,
+.table > thead > tr > td,
+.table > tbody > tr > td,
+.table > tfoot > tr > td {
+ border-top: 1px solid #e7eaec;
+ line-height: 1.42857;
+ padding: 8px;
+ vertical-align: top;
+}
+th {
+ text-align: left;
+}
.markdown {
background-color: white;
font-size: 16px;
@@ -1342,6 +1360,7 @@ The register and sign-in page style
width: 100%;
list-style: none;
}
+#admin-wrapper,
#setting-wrapper {
padding-bottom: 100px;
}
@@ -1906,3 +1925,26 @@ textarea#issue-add-content {
height: 40px;
line-height: 40px;
}
+.admin-desc {
+ padding: 10px 20px;
+}
+.admin-table {
+ padding: 15px 20px 5px 20px;
+}
+.dl-horizontal dt {
+ float: left;
+ width: 160px;
+ clear: left;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.admin-dl-horizontal {
+ padding: 20px;
+}
+.admin-dl-horizontal > dt {
+ width: 250px;
+}
+.admin-dl-horizontal > dd {
+ margin-left: 240px;
+}
diff --git a/public/ng/css/ui.css b/public/ng/css/ui.css
index a60e2c8410..644fd83886 100644
--- a/public/ng/css/ui.css
+++ b/public/ng/css/ui.css
@@ -261,6 +261,7 @@ optgroup {
font-weight: bold;
}
table {
+ background-color: transparent;
border-collapse: collapse;
border-spacing: 0;
}
@@ -683,8 +684,7 @@ ul.menu-radius > li:last-child > a {
background-color: white;
}
.panel .panel-body .panel-desc {
- padding: 0 40px;
- margin-bottom: 20px;
+ padding: 0 40px 20px 40px;
}
.panel .panel-content {
padding: 1em 1.2em;
diff --git a/public/ng/less/gogs.less b/public/ng/less/gogs.less
index 7a94840822..a5cd26c42d 100644
--- a/public/ng/less/gogs.less
+++ b/public/ng/less/gogs.less
@@ -6,4 +6,5 @@
@import "gogs/repository";
@import "gogs/settings";
@import "gogs/issue";
-@import "gogs/organization"; \ No newline at end of file
+@import "gogs/organization";
+@import "gogs/admin"; \ No newline at end of file
diff --git a/public/ng/less/gogs/admin.less b/public/ng/less/gogs/admin.less
new file mode 100644
index 0000000000..d327f681fd
--- /dev/null
+++ b/public/ng/less/gogs/admin.less
@@ -0,0 +1,23 @@
+.admin-desc {
+ padding: 10px 20px;
+}
+.admin-table {
+ padding: 15px 20px 5px 20px;
+}
+.dl-horizontal dt {
+ float: left;
+ width: 160px;
+ clear: left;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+.admin-dl-horizontal {
+ padding: 20px;
+ > dt {
+ width: 250px;
+ }
+ > dd {
+ margin-left: 240px;
+ }
+} \ No newline at end of file
diff --git a/public/ng/less/gogs/base.less b/public/ng/less/gogs/base.less
index 1174e8e7a7..7ef7d24ccd 100644
--- a/public/ng/less/gogs/base.less
+++ b/public/ng/less/gogs/base.less
@@ -250,4 +250,22 @@ clear: both;
}
.text-black {
color: #444444;
+}
+.table {
+ width: 100%;
+ max-width: 100%;
+}
+.table > thead > tr > th,
+.table > tbody > tr > th,
+.table > tfoot > tr > th,
+.table > thead > tr > td,
+.table > tbody > tr > td,
+.table > tfoot > tr > td {
+ border-top: 1px solid #e7eaec;
+ line-height: 1.42857;
+ padding: 8px;
+ vertical-align: top;
+}
+th {
+ text-align: left;
} \ No newline at end of file
diff --git a/public/ng/less/gogs/settings.less b/public/ng/less/gogs/settings.less
index ad50e4ffa8..cc922e3ffe 100644
--- a/public/ng/less/gogs/settings.less
+++ b/public/ng/less/gogs/settings.less
@@ -1,5 +1,5 @@
@import "../ui/var";
-
+#admin-wrapper,
#setting-wrapper {
padding-bottom: 100px;
}
diff --git a/public/ng/less/ui/panel.less b/public/ng/less/ui/panel.less
index dc77715d53..c4bba16e24 100644
--- a/public/ng/less/ui/panel.less
+++ b/public/ng/less/ui/panel.less
@@ -10,8 +10,7 @@
.panel-body {
background-color: white;
.panel-desc {
- padding: 0 40px;
- margin-bottom: 20px;
+ padding: 0 40px 20px 40px;
}
}
.panel-content {
diff --git a/public/ng/less/ui/reset.less b/public/ng/less/ui/reset.less
index af497ca14d..36906ce5a7 100644
--- a/public/ng/less/ui/reset.less
+++ b/public/ng/less/ui/reset.less
@@ -321,10 +321,10 @@ optgroup {
}
// table elements
-
table {
- border-collapse: collapse;
- border-spacing: 0;
+ background-color: transparent;
+ border-collapse: collapse;
+ border-spacing: 0;
}
td,