mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-18 07:12:20 +00:00
202803fc69
Ran most of the Less files through the Less compiler and Prettier and then followed up with a round of manual fixes. The Less compiler had unfortunately stripped all `//` style comments that I had to restore (It did preserve `/* */` comments). Other fixes include duplicate selector removal which were revealed after the transpilation and which weren't caught by stylelint before but now are. Fixes: https://github.com/go-gitea/gitea/issues/15565
110 lines
1.9 KiB
CSS
110 lines
1.9 KiB
CSS
.admin.hooks .list > .item:not(:first-child) {
|
|
border-top: 1px solid var(--color-secondary);
|
|
padding: 0.25rem 1rem;
|
|
margin: 12px -1rem -1rem;
|
|
}
|
|
|
|
.admin .table.segment {
|
|
padding: 0;
|
|
font-size: 13px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.admin .table.segment:not(.striped) thead th:last-child {
|
|
padding-right: 5px !important;
|
|
}
|
|
|
|
.admin .table.segment th {
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.admin .table.segment:not(.select) th:first-of-type,
|
|
.admin .table.segment:not(.select) td:first-of-type {
|
|
padding-left: 15px !important;
|
|
}
|
|
|
|
.admin .table.segment form tbody button[type="submit"] {
|
|
padding: 5px 8px;
|
|
}
|
|
|
|
.admin .settings .button.adopt,
|
|
.admin .settings .button.delete {
|
|
margin-top: -15px;
|
|
margin-bottom: -15px;
|
|
}
|
|
|
|
.admin .settings .button.adopt .label,
|
|
.admin .settings .button.delete .label {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.admin.user .email {
|
|
max-width: 200px;
|
|
}
|
|
|
|
.admin dl.admin-dl-horizontal {
|
|
padding: 20px;
|
|
margin: 0;
|
|
}
|
|
|
|
.admin dl.admin-dl-horizontal dd {
|
|
margin-left: 275px;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.admin dl.admin-dl-horizontal dd {
|
|
margin-left: 5%;
|
|
}
|
|
}
|
|
|
|
.admin dl.admin-dl-horizontal dt {
|
|
font-weight: 600;
|
|
float: left;
|
|
width: 285px;
|
|
clear: left;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.admin dl.admin-dl-horizontal dt {
|
|
width: auto;
|
|
margin-right: 0.5em;
|
|
}
|
|
}
|
|
|
|
.admin.config #test-mail-btn {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.admin code,
|
|
.admin pre {
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.admin #notice-table .notice-description {
|
|
max-width: 80vw;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) and (max-width: 991px) {
|
|
.admin #notice-table .notice-description {
|
|
max-width: 360px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) and (max-width: 1200px) {
|
|
.admin #notice-table .notice-description {
|
|
max-width: 510px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1201px) {
|
|
.admin #notice-table .notice-description {
|
|
max-width: 640px;
|
|
}
|
|
}
|