mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 01:43:56 +08:00
243 lines
4.7 KiB
Plaintext
243 lines
4.7 KiB
Plaintext
// out: false
|
|
|
|
[data-page="admin-system-argon-config"] {
|
|
#argon-update [hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.argon-update-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--field-gap);
|
|
padding: var(--field-gap) var(--section-inset);
|
|
|
|
> p {
|
|
margin: 0;
|
|
padding: 0;
|
|
line-height: 1.5;
|
|
}
|
|
}
|
|
|
|
.argon-update-versions {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(~"min(100%, 16rem)", 1fr));
|
|
gap: var(--field-gap);
|
|
margin: 0;
|
|
|
|
dt {
|
|
margin-bottom: var(--control-gap);
|
|
color: var(--muted-text);
|
|
font-size: .8125rem;
|
|
}
|
|
|
|
dd {
|
|
margin: 0;
|
|
color: var(--text-strong);
|
|
line-height: 1.5;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
}
|
|
|
|
.argon-update-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--control-gap);
|
|
color: var(--text-strong);
|
|
|
|
&[data-state="current"],
|
|
&[data-state="complete"] {
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
|
|
.argon-update-status-icon {
|
|
display: inline-flex;
|
|
flex: 0 0 1.25rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border: 1px solid var(--success);
|
|
border-radius: 50%;
|
|
color: var(--success);
|
|
font-size: .8125rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.argon-update-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--control-gap);
|
|
|
|
> .cbi-button {
|
|
min-height: 2.5rem;
|
|
max-width: 100%;
|
|
height: auto;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
}
|
|
|
|
#argon-update .argon-update-actions > .cbi-button-neutral {
|
|
color: var(--text-strong);
|
|
border: 1px solid var(--border-color);
|
|
background-color: var(--surface-muted);
|
|
}
|
|
|
|
.argon-update-checked {
|
|
color: var(--muted-text);
|
|
font-size: .8125rem;
|
|
}
|
|
|
|
.argon-update-details {
|
|
min-width: 0;
|
|
|
|
> summary {
|
|
cursor: pointer;
|
|
color: var(--text-strong);
|
|
line-height: 1.5;
|
|
}
|
|
}
|
|
|
|
.argon-update-notes {
|
|
max-height: 22rem;
|
|
margin: var(--control-gap) 0 0;
|
|
padding: var(--field-gap);
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: var(--radius-panel);
|
|
background-color: var(--surface-muted);
|
|
color: var(--text-strong);
|
|
font: inherit;
|
|
line-height: 1.6;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.argon-color-picker {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--control-gap);
|
|
width: var(--form-control-min-width);
|
|
max-width: 100%;
|
|
|
|
> input[type="text"] {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
width: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
> .argon-color-swatch {
|
|
flex: 0 0 2.5rem;
|
|
width: 2.5rem;
|
|
min-width: 0;
|
|
height: 2.5rem;
|
|
padding: .25rem;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
|
|
&::-webkit-color-swatch-wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
&::-webkit-color-swatch {
|
|
border: 0;
|
|
border-radius: calc(var(--radius-control) - .25rem - 1px);
|
|
}
|
|
|
|
&::-moz-color-swatch {
|
|
border: 0;
|
|
border-radius: calc(var(--radius-control) - .25rem - 1px);
|
|
}
|
|
|
|
&:focus-visible {
|
|
outline: 2px solid var(--focus-ring);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
&:disabled {
|
|
cursor: not-allowed;
|
|
opacity: .5;
|
|
}
|
|
}
|
|
}
|
|
|
|
// This file list contains plain actions, so rounding the final table is safe.
|
|
#cbi-filelist > .table:last-child {
|
|
border-collapse: separate;
|
|
border-end-start-radius: inherit;
|
|
border-end-end-radius: inherit;
|
|
overflow: hidden;
|
|
|
|
@media screen and (max-width: 1152px) {
|
|
overflow-x: auto;
|
|
}
|
|
}
|
|
|
|
.argon-login-preview {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
margin-block-start: var(--field-gap);
|
|
border-radius: var(--radius-panel);
|
|
}
|
|
|
|
.argon-branding-content {
|
|
padding: var(--field-gap) var(--section-inset) var(--section-inset);
|
|
|
|
> p {
|
|
margin: 0 0 var(--field-gap);
|
|
padding: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
> .cbi-button + p {
|
|
margin: var(--field-gap) 0 0;
|
|
}
|
|
|
|
.cbi-button {
|
|
max-width: 100%;
|
|
height: auto;
|
|
white-space: normal;
|
|
}
|
|
}
|
|
|
|
.argon-branding-cards {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--section-gap);
|
|
margin-block-end: var(--field-gap);
|
|
}
|
|
|
|
.argon-branding-card {
|
|
flex: 1 1 18rem;
|
|
min-width: 0;
|
|
|
|
h4 {
|
|
margin: 0 0 var(--control-gap);
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
.argon-branding-row,
|
|
.argon-branding-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--control-gap);
|
|
min-width: 0;
|
|
}
|
|
|
|
.argon-branding-row {
|
|
gap: var(--field-gap);
|
|
|
|
> img {
|
|
object-fit: contain;
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
}
|