mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
0afb368829
commit
6d782de471
6 files changed
+606
-76
No files matched your search
+172
-10
@@ -1354,6 +1354,11 @@ button:not(:disabled):hover {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
#objectLinkFields .object-link-target {
|
||||
min-width: 0;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
}
|
||||
|
||||
.text-font {
|
||||
display: grid;
|
||||
min-width: 0;
|
||||
@@ -1743,15 +1748,126 @@ body[data-hide-meta] .meta-panel {
|
||||
|
||||
.settings-dialog {
|
||||
width: 560px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.settings-dialog > form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: calc(100dvh - 26px);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.settings-header {
|
||||
display: flex;
|
||||
flex: none;
|
||||
align-items: baseline;
|
||||
gap: 8px 16px;
|
||||
padding: 10px 12px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: #eef1f4;
|
||||
}
|
||||
|
||||
.settings-header .form-title {
|
||||
flex: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.settings-location {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
min-width: 0;
|
||||
margin-left: auto;
|
||||
color: var(--text-muted);
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
overflow: hidden;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.settings-location:empty,
|
||||
.settings-location[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.settings-dialog > form > .form-row {
|
||||
flex: none;
|
||||
margin: 0;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.settings-body {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
padding: 0 12px 12px;
|
||||
overflow: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
.settings-dialog .settings-section {
|
||||
min-width: 0;
|
||||
padding-block: 12px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.settings-dialog .settings-section:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.settings-dialog .settings-section-title {
|
||||
margin-bottom: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 1.5;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.settings-dialog .settings-section-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.settings-dialog .settings-section-actions > .button,
|
||||
#settingsActions .button {
|
||||
flex: 0 0 auto;
|
||||
min-width: calc(2em + 22px);
|
||||
padding-inline: 10px;
|
||||
}
|
||||
|
||||
.settings-dialog .settings-section[hidden],
|
||||
.settings-dialog .settings-section-actions[hidden],
|
||||
.settings-dialog .settings-section-actions > [hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.settings-dialog .form-row {
|
||||
grid-template-columns: 4em minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.settings-pick {
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
}
|
||||
|
||||
.settings-dialog details.settings-section {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.settings-dialog details.settings-section:not([open]) > summary {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.settings-dialog .form-row > label,
|
||||
.settings-dialog .form-row > span:not(.form-unit) {
|
||||
white-space: nowrap;
|
||||
.settings-dialog .form-row > span:not(.form-unit):not(.settings-readonly) {
|
||||
min-width: 0;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
line-height: 1.5;
|
||||
text-align-last: justify;
|
||||
}
|
||||
|
||||
@@ -1765,13 +1881,18 @@ body[data-hide-meta] .meta-panel {
|
||||
.settings-grid { grid-template-columns: minmax(0, 1fr); }
|
||||
}
|
||||
|
||||
.settings-dialog .form-status:not(:empty) {
|
||||
margin-bottom: 12px;
|
||||
#settingsStatus {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
#settingsStatus:not(:empty) {
|
||||
padding: 8px 12px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.settings-dialog .info-line {
|
||||
grid-template-columns: 4em minmax(0, 1fr);
|
||||
align-items: center;
|
||||
align-items: start;
|
||||
gap: 12px;
|
||||
min-height: var(--control-height);
|
||||
margin-bottom: 12px;
|
||||
@@ -1779,6 +1900,9 @@ body[data-hide-meta] .meta-panel {
|
||||
}
|
||||
|
||||
.settings-dialog .info-label {
|
||||
min-width: 0;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
text-align-last: justify;
|
||||
}
|
||||
|
||||
@@ -1786,18 +1910,47 @@ body[data-hide-meta] .meta-panel {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.settings-detail {
|
||||
.settings-dialog .settings-readonly {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
min-height: var(--control-height);
|
||||
padding-block: 4px;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
line-height: 1.5;
|
||||
text-align: left;
|
||||
text-align-last: auto;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
cursor: text;
|
||||
-webkit-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.settings-dialog .form-row:has(.settings-readonly) {
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.settings-dialog .settings-detail {
|
||||
min-width: 0;
|
||||
padding-block: 10px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.settings-detail pre {
|
||||
.settings-dialog .settings-detail pre {
|
||||
max-width: 100%;
|
||||
margin-block: 8px 0;
|
||||
white-space: pre-wrap;
|
||||
font: inherit;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.settings-binding {
|
||||
.settings-dialog .settings-detail .info-label {
|
||||
text-align-last: auto;
|
||||
}
|
||||
|
||||
.settings-dialog .settings-binding {
|
||||
margin-block: 12px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--line);
|
||||
@@ -1805,11 +1958,20 @@ body[data-hide-meta] .meta-panel {
|
||||
|
||||
#settingsActions {
|
||||
display: flex;
|
||||
flex: none;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
#settingsActions > .button {
|
||||
flex: 0 0 auto;
|
||||
#settingsActions .settings-section-actions:not([hidden]) {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
#settingsStatus:not(:empty) + #settingsActions {
|
||||
padding-top: 0;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
#settingsActions .settings-close {
|
||||
|
||||
Reference in new issue
Block a user