refactor(webui): centralize Calendar icon actions
This commit is contained in:
@@ -89,21 +89,6 @@
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.calendar-icon-button.btn {
|
||||
width: 36px;
|
||||
min-width: 36px;
|
||||
height: 36px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.calendar-icon-button.btn:disabled {
|
||||
opacity: .42;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.calendar-mode-switch {
|
||||
flex: 0 1 520px;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
@@ -250,40 +235,7 @@
|
||||
}
|
||||
|
||||
.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;
|
||||
height: 28px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
border-color: transparent;
|
||||
background: transparent;
|
||||
opacity: .72;
|
||||
}
|
||||
|
||||
.calendar-row-icon-button.btn:hover,
|
||||
.calendar-row-icon-button.btn:focus-visible {
|
||||
border-color: var(--line-dark);
|
||||
background: var(--surface);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.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;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.calendar-sync-spin {
|
||||
|
||||
Reference in New Issue
Block a user