labels and automatizations
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1238,60 +1238,37 @@ body.mobile-mode .mobile-card {
|
||||
color: var(--bs-primary-text-emphasis);
|
||||
}
|
||||
|
||||
.automation-shell {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
.automation-main-card {
|
||||
padding: 0.75rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: 0.75rem;
|
||||
background: var(--bs-body-bg);
|
||||
}
|
||||
.automation-card-title {
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.automation-rule-grid,
|
||||
.automation-builder-grid {
|
||||
.automation-form-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(160px, 1fr));
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
.automation-enabled,
|
||||
.automation-negate {
|
||||
margin: 0;
|
||||
padding: 0.45rem 0.6rem 0.45rem 2.5rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
.automation-path-input {
|
||||
grid-column: span 2;
|
||||
}
|
||||
.automation-chip-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.auto-move-option,
|
||||
.auto-condition-option {
|
||||
gap: 0.45rem;
|
||||
margin: 0;
|
||||
}
|
||||
.automation-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
max-width: 100%;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: 999px;
|
||||
background: var(--bs-tertiary-bg);
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
.automation-actions,
|
||||
.automation-row-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
|
||||
.automation-builder-list {
|
||||
display: grid;
|
||||
grid-column: 1 / -1;
|
||||
gap: 0.4rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.automation-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.5rem;
|
||||
padding: 0.4rem 0.55rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: 0.55rem;
|
||||
background: var(--bs-secondary-bg);
|
||||
}
|
||||
|
||||
.automation-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -1303,49 +1280,10 @@ body.mobile-mode .mobile-card {
|
||||
margin-bottom: 0.45rem;
|
||||
background: var(--bs-body-bg);
|
||||
}
|
||||
.automation-row-main {
|
||||
min-width: 0;
|
||||
}
|
||||
.automation-action-pill {
|
||||
display: inline-flex;
|
||||
max-width: 100%;
|
||||
margin: 0.1rem;
|
||||
padding: 0.15rem 0.4rem;
|
||||
border-radius: 999px;
|
||||
background: var(--bs-secondary-bg);
|
||||
font-size: 0.78rem;
|
||||
white-space: normal;
|
||||
}
|
||||
.automation-history-details {
|
||||
max-width: min(620px, 60vw);
|
||||
}
|
||||
.automation-history-details summary {
|
||||
cursor: pointer;
|
||||
list-style-position: inside;
|
||||
}
|
||||
.automation-history-details pre,
|
||||
.automation-history-raw {
|
||||
max-width: 100%;
|
||||
max-height: 220px;
|
||||
margin: 0.35rem 0 0;
|
||||
padding: 0.5rem;
|
||||
overflow: auto;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: 0.5rem;
|
||||
background: var(--bs-tertiary-bg);
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.automation-rule-grid,
|
||||
.automation-builder-grid {
|
||||
.automation-form-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.automation-path-input,
|
||||
.automation-history-details {
|
||||
grid-column: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
.disk-status {
|
||||
display: inline-flex;
|
||||
@@ -2233,3 +2171,90 @@ body.mobile-mode .mobile-filter-bar {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Note: Automation history uses compact cards with horizontal scrolling so long torrent names never expand the modal. */
|
||||
.automation-history-toolbar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.automation-history-carousel {
|
||||
display: grid;
|
||||
gap: 0.6rem;
|
||||
max-height: 430px;
|
||||
overflow-y: auto;
|
||||
padding-right: 0.25rem;
|
||||
}
|
||||
|
||||
.automation-history-card {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 0.6rem;
|
||||
padding: 0.65rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: 0.7rem;
|
||||
background: var(--bs-body-bg);
|
||||
}
|
||||
|
||||
.automation-history-main {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.automation-history-title {
|
||||
overflow: hidden;
|
||||
font-weight: 600;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.automation-history-buttons,
|
||||
.automation-action-strip {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.automation-history-buttons {
|
||||
align-content: flex-start;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.automation-history-detail {
|
||||
grid-column: 1 / -1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.automation-name-carousel {
|
||||
display: flex;
|
||||
gap: 0.4rem;
|
||||
overflow-x: auto;
|
||||
padding-bottom: 0.35rem;
|
||||
}
|
||||
|
||||
.automation-name-carousel span {
|
||||
flex: 0 0 auto;
|
||||
max-width: 260px;
|
||||
overflow: hidden;
|
||||
padding: 0.25rem 0.45rem;
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: 999px;
|
||||
background: var(--bs-secondary-bg);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.automation-action-detail-list {
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.automation-action-detail {
|
||||
display: grid;
|
||||
gap: 0.25rem;
|
||||
min-width: 0;
|
||||
padding: 0.5rem;
|
||||
border-radius: 0.55rem;
|
||||
background: var(--bs-tertiary-bg);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user