aboutsummaryrefslogtreecommitdiffstats
path: root/public/ng/less
diff options
context:
space:
mode:
Diffstat (limited to 'public/ng/less')
-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
6 files changed, 48 insertions, 7 deletions
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,