f1a4330306
Close #24302 Part of #24229, Follows #24246 This PR focused on CSS style fine-tune, main changes: 1. Give `.ui.ui.ui.container` a width of `1280px` with a max-width of `calc(100vw - 64px)`, so the main contents looks better on large devices. 2. Share styles for table elements in all levels settings pages to fix overflow of runners table on mobile and for consistency (The headers on mobile can be further improved, but haven't found a proper way yet). 3. Use [stackable grid](https://fomantic-ui.com/collections/grid.html#stackable) and [device column width](https://fomantic-ui.com/examples/responsive.html) for responsiveness for some pages (repo/org collaborators settings pages, org teams related page) 4. Fixed #24302 by sharing label related CSS in reporg.css 5. Fine tune repo tags settings page --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
63 lines
1 KiB
CSS
63 lines
1 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 .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: 1em;
|
|
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: var(--font-weight-bold);
|
|
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;
|
|
}
|