mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-02 17:43:56 +08:00
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
// out: false
|
|
|
|
// System - Partexp (legacy and current routes).
|
|
[data-page="admin-system-partexp"],
|
|
[data-page="admin-system-partexp-global"] {
|
|
.cbi-section {
|
|
padding: var(--field-gap) 0;
|
|
}
|
|
|
|
.info-note {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
// The plugin renders its log as a sibling of the form's section.
|
|
#state-container {
|
|
padding-block: var(--field-gap);
|
|
border-radius: var(--radius-card);
|
|
background: var(--surface-color);
|
|
box-shadow: var(--section-shadow);
|
|
|
|
> .cbi-section {
|
|
padding: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
#partexp-form {
|
|
--form-control-width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--field-gap);
|
|
|
|
// updateFormVisibility() writes block/none inline. Keep hidden fields
|
|
// hidden, and restore the theme's row layout only for visible ones.
|
|
> .cbi-value[style*="display: block"] {
|
|
display: flex !important;
|
|
}
|
|
}
|
|
|
|
#log-section {
|
|
margin-top: 0 !important;
|
|
padding-block-start: var(--section-gap);
|
|
}
|
|
|
|
#log-view {
|
|
display: block;
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
height: 18rem;
|
|
padding: .8rem;
|
|
resize: vertical;
|
|
direction: ltr;
|
|
unicode-bidi: plaintext;
|
|
text-align: start;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
|
font-size: .875rem;
|
|
line-height: 1.5;
|
|
color: var(--log-text);
|
|
background: var(--input-bg);
|
|
border: 1px solid var(--control-border);
|
|
border-radius: var(--radius-control);
|
|
}
|
|
}
|