chore: sync GovOPlaN module split state
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.calendar-loading-frame {
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.calendar-shell {
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
@@ -101,59 +106,13 @@
|
||||
|
||||
.calendar-mode-switch {
|
||||
flex: 0 1 520px;
|
||||
display: inline-grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
width: min(520px, 100%);
|
||||
max-width: 520px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #c9c3b9;
|
||||
border-radius: 8px;
|
||||
background: #c9c3b9;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 1px 1px rgba(0,0,0,.05);
|
||||
}
|
||||
|
||||
.calendar-mode-tab {
|
||||
.calendar-mode-switch .segmented-control-option {
|
||||
min-height: 34px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: linear-gradient(#ffffff, #f1efeb);
|
||||
color: #4f4a43;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 1px 1px rgba(0,0,0,.05);
|
||||
transition: background .18s ease, box-shadow .18s ease, color .18s ease;
|
||||
}
|
||||
|
||||
.calendar-mode-tab + .calendar-mode-tab {
|
||||
border-left: 1px solid #c9c3b9;
|
||||
}
|
||||
|
||||
.calendar-mode-tab:first-child {
|
||||
border-radius: 7px 0 0 7px;
|
||||
}
|
||||
|
||||
.calendar-mode-tab:last-child {
|
||||
border-radius: 0 7px 7px 0;
|
||||
}
|
||||
|
||||
.calendar-mode-tab:hover,
|
||||
.calendar-mode-tab:focus-visible {
|
||||
background: linear-gradient(#ffffff, #e8e5df);
|
||||
color: #4f4a43;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 2px 5px rgba(0,0,0,.08);
|
||||
}
|
||||
|
||||
.calendar-mode-tab:focus-visible {
|
||||
outline: 3px solid rgba(82, 130, 177, .22);
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
.calendar-mode-tab.is-active {
|
||||
background: var(--line);
|
||||
color: var(--text-strong);
|
||||
box-shadow: inset 0 2px 5px rgba(0,0,0,.12), inset 0 -1px 0 rgba(255,255,255,.45);
|
||||
}
|
||||
|
||||
.calendar-sidebar {
|
||||
@@ -216,7 +175,7 @@
|
||||
.calendar-list-row {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
grid-template-columns: 42px minmax(0, 1fr) 30px;
|
||||
grid-template-columns: 42px minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-height: 36px;
|
||||
@@ -230,6 +189,10 @@
|
||||
background: var(--panel-soft);
|
||||
}
|
||||
|
||||
.calendar-list-row.is-syncing {
|
||||
background: var(--panel-soft);
|
||||
}
|
||||
|
||||
.calendar-visibility-switch {
|
||||
--calendar-list-color: var(--green);
|
||||
width: 34px;
|
||||
@@ -286,6 +249,14 @@
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.calendar-list-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 2px;
|
||||
min-width: 28px;
|
||||
}
|
||||
|
||||
.calendar-row-icon-button.btn {
|
||||
width: 28px;
|
||||
min-width: 28px;
|
||||
@@ -306,44 +277,41 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.calendar-create-form input[type="color"] {
|
||||
width: 24px;
|
||||
min-width: 24px;
|
||||
height: 24px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--line-dark);
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
.calendar-row-icon-button.btn.is-syncing,
|
||||
.calendar-row-icon-button.btn.is-syncing:disabled {
|
||||
border-color: var(--green);
|
||||
background: var(--surface);
|
||||
color: var(--green);
|
||||
opacity: 1;
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
.calendar-create-form input:disabled {
|
||||
opacity: .55;
|
||||
cursor: not-allowed;
|
||||
.calendar-sync-spin {
|
||||
animation: calendar-sync-spin .85s linear infinite;
|
||||
}
|
||||
|
||||
.calendar-create-form {
|
||||
@keyframes calendar-sync-spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.calendar-sync-spin {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
.calendar-create-action {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 28px 36px;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
padding-top: 8px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.calendar-create-form input[type="text"],
|
||||
.calendar-create-form input:not([type]) {
|
||||
min-width: 0;
|
||||
height: 34px;
|
||||
border: 1px solid var(--line-dark);
|
||||
border-radius: 4px;
|
||||
background: var(--surface);
|
||||
color: var(--text);
|
||||
font: inherit;
|
||||
padding: 6px 8px;
|
||||
.calendar-create-action .btn {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.calendar-agenda {
|
||||
@@ -931,7 +899,11 @@
|
||||
}
|
||||
|
||||
.calendar-event-dialog {
|
||||
width: min(560px, 100%);
|
||||
width: min(680px, 100%);
|
||||
}
|
||||
|
||||
.calendar-vevent-dialog {
|
||||
width: min(920px, 100%);
|
||||
}
|
||||
|
||||
.calendar-dialog-form {
|
||||
@@ -974,14 +946,205 @@
|
||||
|
||||
.calendar-dialog-name-color-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 86px;
|
||||
grid-template-columns: minmax(0, 1fr) 142px;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.calendar-dialog-color-label input[type="color"] {
|
||||
.calendar-source-switch {
|
||||
grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.calendar-source-switch .segmented-control-option {
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
.calendar-source-pane {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 6px;
|
||||
background: var(--panel-soft);
|
||||
}
|
||||
|
||||
.calendar-source-pane h3 {
|
||||
margin: 0;
|
||||
color: var(--text-strong);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.calendar-source-pane-heading,
|
||||
.calendar-sync-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.calendar-dialog-grid-two,
|
||||
.calendar-dialog-grid-three,
|
||||
.calendar-caldav-setup,
|
||||
.calendar-sync-settings {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.calendar-dialog-grid-three {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.calendar-dialog-wide {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.calendar-caldav-setup {
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.calendar-discovery-actions {
|
||||
grid-column: 1 / -1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.calendar-discovery-actions .btn {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.calendar-discovery-actions span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-discovery-actions.is-readonly {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.calendar-advanced-settings {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.calendar-advanced-settings summary {
|
||||
width: fit-content;
|
||||
cursor: pointer;
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.calendar-advanced-settings[open] {
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.calendar-advanced-settings[open] summary {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.calendar-vevent-details {
|
||||
border-top: 1px solid var(--line);
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.calendar-vevent-section {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 12px 0;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.calendar-vevent-section:first-of-type {
|
||||
border-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.calendar-vevent-section h3 {
|
||||
margin: 0;
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.calendar-vevent-section textarea {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
||||
font-size: 12px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.calendar-sync-settings {
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.calendar-sync-status {
|
||||
padding: 3px 8px;
|
||||
border: 1px solid var(--line-dark);
|
||||
border-radius: 999px;
|
||||
background: var(--surface);
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.calendar-sync-status.is-error {
|
||||
border-color: #f0b8b2;
|
||||
background: #fff2f0;
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.calendar-sync-status.is-syncing {
|
||||
border-color: var(--green);
|
||||
background: var(--surface);
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.calendar-sync-button.btn.is-syncing,
|
||||
.calendar-sync-button.btn.is-syncing:disabled {
|
||||
opacity: 1;
|
||||
cursor: progress;
|
||||
}
|
||||
|
||||
.calendar-sync-status-panel {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 6px;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.calendar-sync-status-panel dl {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 8px 14px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.calendar-sync-status-panel dl div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calendar-sync-status-panel dt {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.calendar-sync-status-panel dd {
|
||||
margin: 2px 0 0;
|
||||
overflow: hidden;
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-form-error {
|
||||
@@ -1056,6 +1219,15 @@
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.calendar-delete-dialog {
|
||||
width: min(520px, 100%);
|
||||
}
|
||||
|
||||
.calendar-delete-dialog-body {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.calendar-event-dialog-footer {
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
@@ -1114,7 +1286,12 @@
|
||||
|
||||
.calendar-dialog-row,
|
||||
.calendar-dialog-date-row,
|
||||
.calendar-dialog-name-color-row {
|
||||
.calendar-dialog-name-color-row,
|
||||
.calendar-dialog-grid-two,
|
||||
.calendar-dialog-grid-three,
|
||||
.calendar-caldav-setup,
|
||||
.calendar-sync-settings,
|
||||
.calendar-sync-status-panel dl {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user