mirror of
https://github.com/dartungar/obsidian-simple-note-review.git
synced 2026-07-22 06:40:27 +00:00
222 lines
4.4 KiB
CSS
222 lines
4.4 KiB
CSS
/* settings */
|
|
/* .section-setting {
|
|
display: block;
|
|
} */
|
|
|
|
/* .note-set-delete-modal {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
} */
|
|
|
|
.simple-note-review-settings-tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.25rem;
|
|
margin: 0.75rem 0 0.5rem;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.simple-note-review-settings-tab {
|
|
padding: 0.45rem 0.75rem;
|
|
border: 0;
|
|
border-radius: 0.35rem 0.35rem 0 0;
|
|
color: var(--text-muted);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.simple-note-review-settings-tab:hover,
|
|
.simple-note-review-settings-tab:focus-visible {
|
|
color: var(--text-normal);
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.simple-note-review-settings-tab.is-active {
|
|
color: var(--text-normal);
|
|
background-color: var(--background-secondary);
|
|
box-shadow: inset 0 -2px 0 var(--interactive-accent);
|
|
}
|
|
|
|
.simple-note-review-settings-tab-content {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
/* SIDEBAR */
|
|
.simple-note-review-muted {
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.simple-note-review-sidebar-compact .setting-item {
|
|
padding-top: 0.25rem;
|
|
padding-bottom: 0.25rem;
|
|
}
|
|
|
|
.simple-note-review-sidebar-compact .setting-item-info {
|
|
margin-right: 0.35rem;
|
|
}
|
|
|
|
.simple-note-review-sidebar-compact .setting-item-name,
|
|
.simple-note-review-sidebar-compact .setting-item-description {
|
|
font-size: var(--font-ui-smaller);
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.simple-note-review-sidebar-compact .setting-item-control {
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
.simple-note-review-sidebar-compact .clickable-icon {
|
|
padding: 0.15rem;
|
|
}
|
|
|
|
.simple-note-review-sidebar-compact h4 {
|
|
margin-top: 0.6rem;
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
|
|
.simple-note-review-setting-muted {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.simple-note-review-table-label {
|
|
padding-right: 1rem;
|
|
}
|
|
|
|
.simple-note-review-preview {
|
|
margin: 0.75rem 0;
|
|
}
|
|
|
|
.simple-note-review-modal-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-top: 1rem;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.simple-note-review-bottom-bar {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: 1.25rem;
|
|
transform: translate(-50%, 0);
|
|
z-index: var(--layer-popover, 1000);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
max-width: min(92vw, 48rem);
|
|
padding: 0.35rem 0.45rem;
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 0.5rem;
|
|
background-color: var(--background-primary);
|
|
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18);
|
|
opacity: 1;
|
|
transition: opacity 160ms ease, transform 160ms ease;
|
|
}
|
|
|
|
.simple-note-review-bottom-bar.is-opening,
|
|
.simple-note-review-bottom-bar.is-closing {
|
|
transform: translate(-50%, 0.65rem);
|
|
opacity: 0;
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-status {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.35rem;
|
|
min-width: 0;
|
|
max-width: 14rem;
|
|
padding: 0 0.35rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-select,
|
|
.simple-note-review-bottom-bar-progress {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-select {
|
|
max-width: 11rem;
|
|
min-width: 7rem;
|
|
height: 1.85rem;
|
|
padding-right: 1.5rem;
|
|
font-weight: var(--font-semibold);
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-progress {
|
|
color: var(--text-muted);
|
|
font-size: var(--font-ui-smaller);
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.15rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.85rem;
|
|
height: 1.85rem;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0.35rem;
|
|
color: var(--text-muted);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-button:hover,
|
|
.simple-note-review-bottom-bar-button:focus-visible {
|
|
color: var(--text-normal);
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-button svg {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-divider {
|
|
width: 1px;
|
|
height: 1.25rem;
|
|
margin: 0 0.2rem;
|
|
background-color: var(--background-modifier-border);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.simple-note-review-bottom-bar {
|
|
bottom: 0.75rem;
|
|
max-width: calc(100vw - 1rem);
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-status {
|
|
max-width: 9rem;
|
|
}
|
|
|
|
.simple-note-review-bottom-bar-select {
|
|
max-width: 7rem;
|
|
min-width: 6rem;
|
|
}
|
|
}
|
|
|
|
.sidebar-noteset-section {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
margin: 5px 0;
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
.sidebar-noteset-section:hover {
|
|
background-color: var(--background-primary);
|
|
}
|
|
|
|
.sidebar-noteset-section > span {
|
|
margin: 0 10px;
|
|
}
|