429 lines
7.4 KiB
CSS
429 lines
7.4 KiB
CSS
.settings-banner {
|
|
background-color: var(--background-secondary-alt);
|
|
border-radius: 4px;
|
|
margin-bottom: 2em;
|
|
padding: 1.5em;
|
|
text-align: left;
|
|
}
|
|
|
|
.settings-banner-title {
|
|
font-weight: var(--font-bold);
|
|
margin: 0 0 0.5em;
|
|
}
|
|
|
|
.calendar-note-panel {
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
margin-top: 12px;
|
|
min-height: 0;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.calendar-note-panel-header {
|
|
align-items: center;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
font-size: 12px;
|
|
gap: 8px;
|
|
justify-content: space-between;
|
|
line-height: 1.4;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.calendar-note-count {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.calendar-note-list {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
list-style: none;
|
|
margin: 0;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.calendar-note-list li {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.calendar-note-list-item {
|
|
align-items: flex-start;
|
|
background: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
box-shadow: none;
|
|
color: var(--text-normal);
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font: inherit;
|
|
height: auto;
|
|
line-height: 1.35;
|
|
min-height: 0;
|
|
padding: 8px;
|
|
text-align: left;
|
|
transition: background-color 120ms ease, border-color 120ms ease;
|
|
white-space: normal;
|
|
width: 100%;
|
|
}
|
|
|
|
.calendar-note-list-item:hover {
|
|
background: var(--background-modifier-hover);
|
|
border-color: var(
|
|
--background-modifier-border-hover,
|
|
var(--background-modifier-border)
|
|
);
|
|
}
|
|
|
|
.calendar-note-list-item:focus-visible {
|
|
outline: 2px solid var(--interactive-accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.calendar-note-title,
|
|
.calendar-note-path {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.calendar-note-title {
|
|
color: var(--text-normal);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.calendar-note-path,
|
|
.calendar-note-empty {
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.calendar-note-path {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.calendar-note-empty {
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.calendar-filter-panel {
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
margin-top: 10px;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.calendar-filter-toggle {
|
|
align-items: center;
|
|
background: transparent;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
box-shadow: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
display: flex;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
justify-content: space-between;
|
|
line-height: 1.4;
|
|
padding: 4px;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.calendar-filter-toggle:hover {
|
|
background: var(--background-modifier-hover);
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.calendar-filter-toggle:focus-visible,
|
|
.calendar-filter-action:focus-visible,
|
|
.calendar-filter-textarea:focus-visible {
|
|
outline: 2px solid var(--interactive-accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.calendar-filter-summary {
|
|
color: var(--text-faint);
|
|
flex: 0 0 auto;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.calendar-filter-body {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.calendar-filter-textarea {
|
|
background: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
color: var(--text-normal);
|
|
font: inherit;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
min-height: 64px;
|
|
padding: 6px;
|
|
resize: vertical;
|
|
width: 100%;
|
|
}
|
|
|
|
.calendar-filter-textarea::placeholder {
|
|
color: var(--text-faint);
|
|
}
|
|
|
|
.calendar-folder-list {
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
margin-bottom: 6px;
|
|
max-height: 180px;
|
|
overflow-y: auto;
|
|
padding: 4px;
|
|
}
|
|
|
|
.calendar-folder-row {
|
|
align-items: center;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
gap: 2px;
|
|
}
|
|
|
|
.calendar-folder-row:hover {
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.calendar-folder-expand {
|
|
background: none;
|
|
border: none;
|
|
box-shadow: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
font-size: 10px;
|
|
height: 18px;
|
|
line-height: 18px;
|
|
padding: 0;
|
|
width: 16px;
|
|
}
|
|
|
|
.calendar-folder-expand-spacer {
|
|
flex-shrink: 0;
|
|
width: 16px;
|
|
}
|
|
|
|
.calendar-folder-option {
|
|
align-items: center;
|
|
cursor: pointer;
|
|
display: flex;
|
|
flex: 1;
|
|
font-size: 12px;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
padding: 2px 4px 2px 0;
|
|
}
|
|
|
|
.calendar-folder-option input[type="checkbox"] {
|
|
flex-shrink: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.calendar-folder-path {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.calendar-list-controls {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.calendar-hub-view-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.calendar-hub-nav {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.calendar-hub-list-panel {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.calendar-hub-list-panel .calendar-list-tree {
|
|
flex: 1;
|
|
max-height: none;
|
|
}
|
|
|
|
.calendar-list-total {
|
|
align-self: center;
|
|
color: var(--text-faint);
|
|
flex-shrink: 0;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.calendar-list-filter-toggle {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.calendar-settings-folder-tree {
|
|
margin: 0 0 18px;
|
|
}
|
|
|
|
.calendar-settings-folder-tree .calendar-folder-list {
|
|
max-width: 480px;
|
|
}
|
|
|
|
.calendar-list-filter-body {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.calendar-list-select {
|
|
flex: 1;
|
|
font-size: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.calendar-list-tree {
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
padding: 4px;
|
|
}
|
|
|
|
.calendar-list-group {
|
|
align-items: center;
|
|
background: none;
|
|
border: none;
|
|
border-radius: 4px;
|
|
box-shadow: none;
|
|
color: var(--text-normal);
|
|
cursor: pointer;
|
|
display: flex;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
gap: 4px;
|
|
height: auto;
|
|
padding: 3px 4px;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.calendar-list-group:hover {
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.calendar-list-subgroup {
|
|
padding-left: 18px;
|
|
}
|
|
|
|
.calendar-list-caret {
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
font-size: 10px;
|
|
width: 12px;
|
|
}
|
|
|
|
.calendar-list-label {
|
|
flex: 1;
|
|
font-weight: 500;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.calendar-list-count {
|
|
color: var(--text-faint);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.calendar-list-days {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
padding-left: 18px;
|
|
}
|
|
|
|
.calendar-list-days-nested {
|
|
padding-left: 32px;
|
|
}
|
|
|
|
.calendar-list-day {
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
margin-top: 4px;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.calendar-list-note {
|
|
background: none;
|
|
border: none;
|
|
border-radius: 4px;
|
|
box-shadow: none;
|
|
color: var(--text-normal);
|
|
cursor: pointer;
|
|
display: block;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
height: auto;
|
|
overflow: hidden;
|
|
padding: 2px 4px;
|
|
text-align: left;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
}
|
|
|
|
.calendar-list-note:hover {
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
|
|
.calendar-filter-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
justify-content: flex-end;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.calendar-filter-action {
|
|
background: var(--interactive-normal);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 4px;
|
|
box-shadow: none;
|
|
color: var(--text-normal);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-size: 12px;
|
|
height: auto;
|
|
line-height: 1.4;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.calendar-filter-action:hover:not(:disabled) {
|
|
background: var(--interactive-hover);
|
|
}
|
|
|
|
.calendar-filter-action:disabled {
|
|
cursor: default;
|
|
opacity: 0.55;
|
|
}
|