mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Finish new admin dashboard
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
|
@@ -6,4 +6,5 @@
|
||||
@import "gogs/repository";
|
||||
@import "gogs/settings";
|
||||
@import "gogs/issue";
|
||||
@import "gogs/organization";
|
||||
@import "gogs/organization";
|
||||
@import "gogs/admin";
|
23
public/ng/less/gogs/admin.less
Normal file
23
public/ng/less/gogs/admin.less
Normal file
@@ -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;
|
||||
}
|
||||
}
|
@@ -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;
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
@import "../ui/var";
|
||||
|
||||
#admin-wrapper,
|
||||
#setting-wrapper {
|
||||
padding-bottom: 100px;
|
||||
}
|
||||
|
@@ -10,8 +10,7 @@
|
||||
.panel-body {
|
||||
background-color: white;
|
||||
.panel-desc {
|
||||
padding: 0 40px;
|
||||
margin-bottom: 20px;
|
||||
padding: 0 40px 20px 40px;
|
||||
}
|
||||
}
|
||||
.panel-content {
|
||||
|
@@ -321,10 +321,10 @@ optgroup {
|
||||
}
|
||||
|
||||
// table elements
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
background-color: transparent;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
|
Reference in New Issue
Block a user