mirror of
https://github.com/devonthesofa/obsidian-note-status.git
synced 2026-07-22 05:45:04 +00:00
1072 lines
27 KiB
CSS
1072 lines
27 KiB
CSS
/* styles/components/setting-item.css */
|
|
.setting-item-full {
|
|
width: 100%;
|
|
}
|
|
.setting-item-vertical {
|
|
flex-direction: column;
|
|
align-items: start;
|
|
gap: 4px;
|
|
}
|
|
|
|
/* styles/components/template-status-chip.css */
|
|
.template-status-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: var(--radius-xl);
|
|
background: var(--background-secondary);
|
|
font-size: 0.85em;
|
|
border: 1px solid var(--color-base-30);
|
|
gap: 4px;
|
|
}
|
|
.template-status-color-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background-color: var(--dot-color, --color-base-30);
|
|
}
|
|
|
|
/* styles/components/template-item.css */
|
|
.template-item {
|
|
border: var(--border-width) solid var(--color-base-30);
|
|
border-radius: var(--radius-xl);
|
|
margin-bottom: var(--size-4-2);
|
|
padding: var(--size-4-3);
|
|
background: var(--background-primary-alt);
|
|
cursor: pointer;
|
|
transition: background-color 0.1s ease;
|
|
}
|
|
.template-item:hover {
|
|
background: var(--background-modifier-hover);
|
|
}
|
|
.template-item.enabled {
|
|
background: var(--background-modifier-success-hover);
|
|
}
|
|
.template-item.enabled:hover {
|
|
background: var(--background-modifier-success);
|
|
}
|
|
.template-header {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.template-checkbox {
|
|
pointer-events: none;
|
|
}
|
|
.template-statuses {
|
|
margin-top: 7px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
}
|
|
|
|
/* styles/components/custom-status-item.css */
|
|
.custom-status-card {
|
|
background: var(--background-secondary);
|
|
border-radius: var(--radius-m);
|
|
padding: var(--size-4-3);
|
|
margin-bottom: var(--size-4-2);
|
|
}
|
|
.custom-status-preview {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-4-2);
|
|
padding: var(--size-4-2);
|
|
background: var(--background-primary-alt);
|
|
border-radius: var(--radius-s);
|
|
border-left: 4px solid var(--text-muted);
|
|
}
|
|
.custom-status-icon-input {
|
|
width: 40px;
|
|
text-align: center;
|
|
font-size: 1.2em;
|
|
background: transparent;
|
|
border: none;
|
|
padding: 2px;
|
|
}
|
|
.custom-status-text-inputs {
|
|
flex: 1;
|
|
}
|
|
.custom-status-name-input {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-normal);
|
|
font-weight: var(--font-semibold);
|
|
font-size: var(--font-ui-medium);
|
|
width: 100%;
|
|
margin-bottom: 2px;
|
|
}
|
|
.custom-status-description-input {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
font-size: var(--font-ui-smaller);
|
|
width: 100%;
|
|
}
|
|
.custom-status-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-4-2);
|
|
}
|
|
.custom-status-color-input {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: var(--radius-s);
|
|
cursor: pointer;
|
|
}
|
|
.custom-status-remove-btn {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* styles/components/quick-commands-settings.css */
|
|
.quick-commands-container {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
/* styles/components/status-group.css */
|
|
.status-group {
|
|
margin-bottom: 1.5em;
|
|
}
|
|
.status-group-description {
|
|
font-size: 0.85em;
|
|
opacity: 0.7;
|
|
}
|
|
.status-group-items {
|
|
margin-left: 1em;
|
|
}
|
|
|
|
/* styles/components/status-bar-enable-button.css */
|
|
.status-bar-enable-button {
|
|
opacity: var(--icon-opacity);
|
|
}
|
|
.status-bar-enable-button:hover {
|
|
opacity: var(--icon-opacity-hover);
|
|
background: var(--background-modifier-active);
|
|
}
|
|
|
|
/* styles/components/status-badge.css */
|
|
.status-badge-container {
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
border-radius: var(--radius-s);
|
|
transition: all var(--anim-duration-moderate) var(--anim-motion-smooth);
|
|
overflow: hidden;
|
|
min-width: auto;
|
|
max-width: none;
|
|
}
|
|
.status-badge-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-2-1);
|
|
padding: var(--size-2-1) var(--size-2-3);
|
|
transition: all var(--anim-duration-fast) ease;
|
|
}
|
|
.status-badge-icon {
|
|
transition: transform var(--anim-duration-fast) ease;
|
|
}
|
|
.status-badge-text {
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
/* styles/components/status-bar-group.css */
|
|
.status-bar-group-container {
|
|
display: flex;
|
|
gap: var(--size-2-1);
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
@keyframes status-slide-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.8) translateY(4px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
}
|
|
|
|
/* styles/components/status-bar.css */
|
|
.status-bar-group-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-4-2);
|
|
}
|
|
|
|
/* styles/components/collapsible-counter.css */
|
|
.collapsible-counter-container {
|
|
color: var(--text-muted);
|
|
padding: var(--size-2-1) var(--size-2-3);
|
|
borderRadius: var(--radius-s);
|
|
backgroundColor: var(--background-modifier-border);
|
|
border: 1px solid var(--background-modifier-border-hover);
|
|
fontWeight: var(--font-weight-medium);
|
|
transition: all var(--anim-duration-fast) ease;
|
|
minWidth: 20px;
|
|
textAlign: center;
|
|
}
|
|
|
|
/* styles/components/group-label.css */
|
|
.group-label-container {
|
|
fontSize: var(--font-text-size);
|
|
textTransform: uppercase;
|
|
letterSpacing: 0.8px;
|
|
fontWeight: var(--font-weight-semibold);
|
|
transition: color var(--anim-duration-fast) ease;
|
|
}
|
|
|
|
/* styles/components/file-explorer-icon.css */
|
|
.status-wrapper {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
.status-minimal {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
margin-left: 6px;
|
|
cursor: pointer;
|
|
opacity: 0.6;
|
|
transition: all 0.2s ease;
|
|
padding: 2px;
|
|
border-radius: var(--radius-s);
|
|
}
|
|
.status-minimal:hover {
|
|
opacity: 1;
|
|
background: color-mix(in srgb, var(--primary-color) 10%, transparent);
|
|
transform: scale(1.05);
|
|
}
|
|
.status-icon {
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
filter: grayscale(0.4);
|
|
transition: filter 0.2s ease;
|
|
}
|
|
.status-minimal:hover .status-icon {
|
|
filter: grayscale(0);
|
|
}
|
|
.status-count {
|
|
background: var(--primary-color);
|
|
color: var(--text-on-accent);
|
|
font-size: var(--font-smaller);
|
|
font-weight: var(--font-semibold);
|
|
min-width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 1px;
|
|
box-shadow: var(--shadow-s);
|
|
border: 1px solid var(--background-primary);
|
|
}
|
|
.status-modal {
|
|
position: fixed;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: var(--background-primary);
|
|
border: var(--border-width) solid var(--background-modifier-border);
|
|
border-radius: var(--radius-l);
|
|
box-shadow: var(--shadow-l);
|
|
z-index: var(--layer-tooltip);
|
|
min-width: 280px;
|
|
max-width: 360px;
|
|
animation: modalIn 0.15s ease-out;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
.status-modal.bottom {
|
|
top: calc(100% + 8px);
|
|
}
|
|
.status-modal.top {
|
|
bottom: calc(100% + 8px);
|
|
}
|
|
@keyframes modalIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-50%) scale(0.95);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(-50%) scale(1);
|
|
}
|
|
}
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: var(--size-4-4) var(--size-4-4) var(--size-4-2) var(--size-4-4);
|
|
border-bottom: var(--border-width) solid var(--background-modifier-border);
|
|
}
|
|
.modal-title {
|
|
font-size: var(--font-ui-medium);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-normal);
|
|
}
|
|
.modal-total {
|
|
background: var(--background-modifier-hover);
|
|
color: var(--text-muted);
|
|
font-size: var(--font-smallest);
|
|
font-weight: var(--font-medium);
|
|
padding: var(--size-2-1) var(--size-2-3);
|
|
border-radius: var(--radius-m);
|
|
}
|
|
.modal-content {
|
|
padding: var(--size-4-2) var(--size-4-4) var(--size-4-4) var(--size-4-4);
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
}
|
|
.status-group:not(:last-child) {
|
|
margin-bottom: var(--size-4-4);
|
|
}
|
|
.group-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: var(--size-2-3);
|
|
}
|
|
.group-name {
|
|
font-size: var(--font-ui-small);
|
|
font-weight: var(--font-semibold);
|
|
color: var(--text-normal);
|
|
text-transform: capitalize;
|
|
}
|
|
.group-count {
|
|
background: var(--background-modifier-hover);
|
|
color: var(--text-muted);
|
|
font-size: var(--font-smallest);
|
|
font-weight: var(--font-medium);
|
|
padding: var(--size-2-1) var(--size-2-2);
|
|
border-radius: var(--radius-s);
|
|
min-width: 16px;
|
|
text-align: center;
|
|
}
|
|
.status-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--size-2-2);
|
|
}
|
|
.status-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-4-2);
|
|
padding: var(--size-2-3) var(--size-4-2);
|
|
background: color-mix(in srgb, var(--item-color) 8%, transparent);
|
|
border: var(--border-width) solid color-mix(in srgb, var(--item-color) 20%, transparent);
|
|
border-radius: var(--radius-s);
|
|
transition: all 0.2s ease;
|
|
cursor: pointer;
|
|
}
|
|
.status-item:hover {
|
|
background: color-mix(in srgb, var(--item-color) 12%, transparent);
|
|
border-color: color-mix(in srgb, var(--item-color) 35%, transparent);
|
|
transform: translateX(2px);
|
|
}
|
|
.item-icon {
|
|
font-size: var(--font-ui-medium);
|
|
flex-shrink: 0;
|
|
}
|
|
.item-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--size-2-1);
|
|
min-width: 0;
|
|
}
|
|
.item-name {
|
|
font-size: var(--font-ui-small);
|
|
font-weight: var(--font-medium);
|
|
color: var(--text-normal);
|
|
}
|
|
.item-description {
|
|
font-size: var(--font-smallest);
|
|
color: var(--text-muted);
|
|
line-height: var(--line-height-tight);
|
|
}
|
|
.modal-arrow {
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 10px;
|
|
height: 10px;
|
|
background: var(--background-primary);
|
|
border: var(--border-width) solid var(--background-modifier-border);
|
|
rotate: 45deg;
|
|
}
|
|
.status-modal.bottom .modal-arrow {
|
|
top: -5px;
|
|
border-bottom: none;
|
|
border-right: none;
|
|
}
|
|
.status-modal.top .modal-arrow {
|
|
bottom: -5px;
|
|
border-top: none;
|
|
border-left: none;
|
|
}
|
|
.modal-content::-webkit-scrollbar {
|
|
width: var(--scrollbar-thin-thumb);
|
|
}
|
|
.modal-content::-webkit-scrollbar-track {
|
|
background: var(--background-modifier-hover);
|
|
border-radius: var(--radius-s);
|
|
}
|
|
.modal-content::-webkit-scrollbar-thumb {
|
|
background: var(--background-modifier-border);
|
|
border-radius: var(--radius-s);
|
|
}
|
|
.modal-content::-webkit-scrollbar-thumb:hover {
|
|
background: var(--background-modifier-border-hover);
|
|
}
|
|
|
|
/* styles/components/status-file-info-popup.css */
|
|
.status-info-popup {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 1000;
|
|
background: var(--background-primary);
|
|
border: var(--border-width) solid var(--background-modifier-border);
|
|
border-radius: var(--radius-l);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
min-width: 280px;
|
|
max-width: 400px;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
.status-popup-header {
|
|
background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-modifier-hover) 100%);
|
|
border-bottom: var(--border-width) solid var(--background-modifier-border);
|
|
padding: var(--size-4-2) var(--size-4-3);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-normal);
|
|
font-size: var(--font-ui-small);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-2-2);
|
|
}
|
|
.status-header-icon {
|
|
font-size: var(--font-ui-medium);
|
|
opacity: 0.8;
|
|
}
|
|
.status-popup-content {
|
|
padding: var(--size-4-2);
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
.status-popup-empty {
|
|
padding: var(--size-4-4) var(--size-4-3);
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: var(--font-ui-smaller);
|
|
background: var(--background-primary);
|
|
border: var(--border-width) solid var(--background-modifier-border);
|
|
border-radius: var(--radius-l);
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 1000;
|
|
pointer-events: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--size-2-2);
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.status-empty-icon {
|
|
font-size: var(--font-ui-large);
|
|
opacity: 0.6;
|
|
}
|
|
.status-group {
|
|
margin-bottom: var(--size-4-3);
|
|
background: var(--background-secondary);
|
|
border-radius: var(--radius-m);
|
|
border: var(--border-width) solid var(--background-modifier-border-hover);
|
|
overflow: hidden;
|
|
}
|
|
.status-group:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.status-group-header {
|
|
padding: var(--size-2-3) var(--size-4-2);
|
|
background: linear-gradient(90deg, var(--interactive-accent-hover) 0%, var(--interactive-accent) 100%);
|
|
color: var(--text-on-accent);
|
|
font-size: var(--font-ui-smaller);
|
|
font-weight: var(--font-weight-medium);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: var(--border-width) solid var(--background-modifier-border);
|
|
}
|
|
.status-group-name {
|
|
text-transform: capitalize;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
.status-group-count {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: var(--text-on-accent);
|
|
font-size: var(--font-ui-smaller);
|
|
font-weight: var(--font-weight-semibold);
|
|
padding: var(--size-2-1) var(--size-2-3);
|
|
border-radius: var(--radius-s);
|
|
min-width: var(--size-4-3);
|
|
text-align: center;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
.status-group-items {
|
|
padding: var(--size-2-3);
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: var(--size-2-2);
|
|
background: var(--background-primary);
|
|
}
|
|
.status-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--size-2-1);
|
|
padding: var(--size-2-2) var(--size-2-3);
|
|
background: var(--background-modifier-hover);
|
|
border-radius: var(--radius-s);
|
|
border: var(--border-width) solid var(--background-modifier-border);
|
|
transition: all 0.15s ease;
|
|
min-width: 0;
|
|
}
|
|
.status-item:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
border-color: var(--interactive-accent);
|
|
}
|
|
.status-description {
|
|
color: var(--text-muted);
|
|
font-size: var(--font-ui-smaller);
|
|
line-height: 1.3;
|
|
background: var(--background-primary-alt);
|
|
padding: var(--size-2-1) var(--size-2-2);
|
|
border-radius: var(--radius-s);
|
|
border-left: 2px solid var(--interactive-accent);
|
|
font-style: italic;
|
|
opacity: 0.8;
|
|
word-wrap: break-word;
|
|
hyphens: auto;
|
|
}
|
|
|
|
/* styles/components/groupped-status-view.css */
|
|
.groupped-status-view-container {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.groupped-status-view {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: var(--background-primary);
|
|
}
|
|
.groupped-status-header {
|
|
padding: var(--size-4-2) var(--size-4-3);
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
background-color: var(--background-secondary);
|
|
flex-shrink: 0;
|
|
}
|
|
.groupped-status-filters {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--size-4-2);
|
|
}
|
|
.groupped-status-note-filter {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.groupped-status-note-input {
|
|
width: 100%;
|
|
padding: var(--size-2-1) var(--size-2-3);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-s);
|
|
background: var(--background-primary);
|
|
color: var(--text-normal);
|
|
font-size: var(--font-ui-medium);
|
|
transition: border-color var(--anim-duration-fast) var(--anim-motion-smooth);
|
|
}
|
|
.groupped-status-note-input:focus {
|
|
outline: none;
|
|
border-color: var(--interactive-accent);
|
|
box-shadow: 0 0 0 2px var(--interactive-accent-hover);
|
|
}
|
|
.groupped-status-note-input::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
.groupped-status-title {
|
|
margin: 0 0 var(--size-4-2) 0;
|
|
font-size: var(--font-ui-large);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-normal);
|
|
}
|
|
.groupped-status-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: var(--size-4-2);
|
|
max-height: calc(100vh - 120px);
|
|
}
|
|
.groupped-status-tag-section {
|
|
margin-bottom: var(--size-4-4);
|
|
}
|
|
.groupped-status-tag-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.groupped-status-tag-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--size-4-2) var(--size-4-3);
|
|
cursor: pointer;
|
|
transition: background-color var(--anim-duration-fast) var(--anim-motion-smooth);
|
|
border-radius: var(--radius-m);
|
|
background-color: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
margin-bottom: var(--size-4-2);
|
|
}
|
|
.groupped-status-tag-header:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
.groupped-status-tag-content {
|
|
padding-left: var(--size-4-2);
|
|
}
|
|
.groupped-status-group {
|
|
margin-bottom: var(--size-4-2);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-m);
|
|
background-color: var(--background-primary);
|
|
overflow: hidden;
|
|
}
|
|
.groupped-status-group-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--size-4-2) var(--size-4-3);
|
|
cursor: pointer;
|
|
transition: background-color var(--anim-duration-fast) var(--anim-motion-smooth);
|
|
border-bottom: 1px solid transparent;
|
|
}
|
|
.groupped-status-group-header:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
.groupped-status-group-header:active {
|
|
background-color: var(--background-modifier-active);
|
|
}
|
|
.groupped-status-group-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-2-1);
|
|
}
|
|
.groupped-status-files {
|
|
border-top: 1px solid var(--background-modifier-border);
|
|
background-color: var(--background-secondary);
|
|
}
|
|
.groupped-status-files-list {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
.groupped-status-file-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: var(--size-2-3) var(--size-4-3);
|
|
cursor: pointer;
|
|
transition: background-color var(--anim-duration-fast) var(--anim-motion-smooth);
|
|
border-bottom: 1px solid var(--background-modifier-border-hover);
|
|
}
|
|
.groupped-status-file-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.groupped-status-file-item:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
.groupped-status-file-item:active {
|
|
background-color: var(--background-modifier-active);
|
|
}
|
|
.groupped-status-file-name {
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--text-normal);
|
|
margin-bottom: var(--size-2-1);
|
|
font-size: var(--font-ui-medium);
|
|
}
|
|
.groupped-status-file-path {
|
|
font-size: var(--font-ui-small);
|
|
color: var(--text-muted);
|
|
opacity: 0.8;
|
|
}
|
|
.groupped-status-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
font-size: var(--font-ui-medium);
|
|
color: var(--text-muted);
|
|
}
|
|
.groupped-status-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: var(--size-4-6);
|
|
font-size: var(--font-ui-medium);
|
|
color: var(--text-muted);
|
|
text-align: center;
|
|
}
|
|
@media (max-width: 768px) {
|
|
.groupped-status-header {
|
|
padding: var(--size-4-1) var(--size-4-2);
|
|
}
|
|
.groupped-status-content {
|
|
padding: var(--size-4-1);
|
|
}
|
|
.groupped-status-group-header {
|
|
padding: var(--size-4-1) var(--size-4-2);
|
|
}
|
|
.groupped-status-file-item {
|
|
padding: var(--size-2-2) var(--size-4-2);
|
|
}
|
|
}
|
|
.theme-dark .groupped-status-view {
|
|
border-color: var(--background-modifier-border);
|
|
}
|
|
.theme-dark .groupped-status-group {
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.theme-light .groupped-status-group {
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
|
|
}
|
|
.groupped-status-content::-webkit-scrollbar {
|
|
width: var(--scrollbar-width);
|
|
}
|
|
.groupped-status-content::-webkit-scrollbar-track {
|
|
background: var(--background-secondary);
|
|
}
|
|
.groupped-status-content::-webkit-scrollbar-thumb {
|
|
background: var(--scrollbar-thumb-bg);
|
|
border-radius: var(--radius-s);
|
|
}
|
|
.groupped-status-content::-webkit-scrollbar-thumb:hover {
|
|
background: var(--scrollbar-thumb-bg-hover);
|
|
}
|
|
.groupped-status-load-more {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: var(--size-4-2);
|
|
border-top: 1px solid var(--background-modifier-border-hover);
|
|
}
|
|
.groupped-status-load-btn {
|
|
padding: var(--size-2-2) var(--size-4-2);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-s);
|
|
background-color: var(--interactive-normal);
|
|
color: var(--text-normal);
|
|
cursor: pointer;
|
|
transition: all var(--anim-duration-fast) var(--anim-motion-smooth);
|
|
font-size: var(--font-ui-small);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
.groupped-status-load-btn:hover {
|
|
background-color: var(--interactive-hover);
|
|
transform: translateY(-1px);
|
|
}
|
|
.groupped-status-load-btn:active {
|
|
background-color: var(--interactive-active);
|
|
transform: translateY(0);
|
|
}
|
|
.groupped-status-files-list::-webkit-scrollbar {
|
|
width: var(--scrollbar-width);
|
|
}
|
|
.groupped-status-files-list::-webkit-scrollbar-track {
|
|
background: var(--background-secondary);
|
|
}
|
|
.groupped-status-files-list::-webkit-scrollbar-thumb {
|
|
background: var(--scrollbar-thumb-bg);
|
|
border-radius: var(--radius-s);
|
|
}
|
|
.groupped-status-files-list::-webkit-scrollbar-thumb:hover {
|
|
background: var(--scrollbar-thumb-bg-hover);
|
|
}
|
|
|
|
/* styles/components/status-dashboard.css */
|
|
.status-dashboard-view-container {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.status-dashboard {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: var(--background-primary);
|
|
}
|
|
.status-dashboard-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: var(--size-4-3) var(--size-4-4);
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
background-color: var(--background-secondary);
|
|
flex-shrink: 0;
|
|
}
|
|
.status-dashboard-title {
|
|
margin: 0;
|
|
font-size: var(--font-ui-larger);
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--text-normal);
|
|
}
|
|
.status-dashboard-refresh {
|
|
padding: var(--size-2-2) var(--size-2-3);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-s);
|
|
background-color: var(--interactive-normal);
|
|
color: var(--text-normal);
|
|
cursor: pointer;
|
|
transition: all var(--anim-duration-fast) var(--anim-motion-smooth);
|
|
font-size: var(--font-ui-medium);
|
|
}
|
|
.status-dashboard-refresh:hover {
|
|
background-color: var(--interactive-hover);
|
|
transform: rotate(90deg);
|
|
}
|
|
.status-dashboard-loading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
font-size: var(--font-ui-medium);
|
|
color: var(--text-muted);
|
|
}
|
|
.status-dashboard-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: var(--size-4-3);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--size-4-4);
|
|
max-height: calc(100vh - 80px);
|
|
}
|
|
.status-dashboard-section {
|
|
background-color: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-m);
|
|
overflow: hidden;
|
|
}
|
|
.status-dashboard-section-header {
|
|
padding: var(--size-4-2) var(--size-4-3);
|
|
background-color: var(--background-modifier-hover);
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
}
|
|
.status-dashboard-section-header h3 {
|
|
margin: 0;
|
|
font-size: var(--font-ui-large);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-normal);
|
|
}
|
|
.status-dashboard-current-note {
|
|
padding: var(--size-4-3);
|
|
}
|
|
.current-note-info {
|
|
margin-bottom: var(--size-4-3);
|
|
padding-bottom: var(--size-4-2);
|
|
border-bottom: 1px solid var(--background-modifier-border-hover);
|
|
}
|
|
.current-note-name {
|
|
font-size: var(--font-ui-large);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-normal);
|
|
margin-bottom: var(--size-2-1);
|
|
}
|
|
.current-note-path {
|
|
font-size: var(--font-ui-small);
|
|
color: var(--text-muted);
|
|
margin-bottom: var(--size-2-1);
|
|
font-family: var(--font-monospace);
|
|
}
|
|
.current-note-modified {
|
|
font-size: var(--font-ui-smaller);
|
|
color: var(--text-faint);
|
|
font-style: italic;
|
|
}
|
|
.current-note-statuses {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--size-4-2);
|
|
}
|
|
.current-note-tag-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--size-2-2);
|
|
}
|
|
.current-note-status-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--size-2-2);
|
|
}
|
|
.current-note-no-status {
|
|
font-size: var(--font-ui-small);
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
padding: var(--size-2-1) var(--size-2-3);
|
|
background-color: var(--background-modifier-border-hover);
|
|
border-radius: var(--radius-s);
|
|
}
|
|
.current-note-empty {
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
padding: var(--size-4-4);
|
|
}
|
|
.vault-overview {
|
|
padding: var(--size-4-3);
|
|
}
|
|
.vault-stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
|
gap: var(--size-4-2);
|
|
}
|
|
.vault-stat-card {
|
|
text-align: center;
|
|
padding: var(--size-4-2);
|
|
background-color: var(--background-primary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-m);
|
|
transition: all var(--anim-duration-fast) var(--anim-motion-smooth);
|
|
}
|
|
.vault-stat-card:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.vault-stat-number {
|
|
font-size: var(--font-ui-largest);
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--interactive-accent);
|
|
margin-bottom: var(--size-2-1);
|
|
}
|
|
.vault-stat-label {
|
|
font-size: var(--font-ui-small);
|
|
color: var(--text-muted);
|
|
font-weight: var(--font-weight-medium);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
.status-distribution {
|
|
padding: var(--size-4-3);
|
|
}
|
|
.status-chart {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--size-4-2);
|
|
}
|
|
.status-chart-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--size-2-1);
|
|
}
|
|
.status-chart-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--size-2-3);
|
|
}
|
|
.status-chart-count {
|
|
font-size: var(--font-ui-small);
|
|
color: var(--text-muted);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
.status-chart-bar {
|
|
height: 8px;
|
|
background-color: var(--background-modifier-border);
|
|
border-radius: var(--radius-s);
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.status-chart-fill {
|
|
height: 100%;
|
|
transition: width var(--anim-duration-moderate) var(--anim-motion-smooth);
|
|
border-radius: var(--radius-s);
|
|
}
|
|
.status-distribution-empty {
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
padding: var(--size-4-4);
|
|
}
|
|
.quick-actions {
|
|
padding: var(--size-4-3);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--size-4-2);
|
|
}
|
|
.quick-action-btn {
|
|
padding: var(--size-2-3) var(--size-4-2);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: var(--radius-m);
|
|
background-color: var(--interactive-normal);
|
|
color: var(--text-normal);
|
|
cursor: pointer;
|
|
transition: all var(--anim-duration-fast) var(--anim-motion-smooth);
|
|
font-size: var(--font-ui-medium);
|
|
font-weight: var(--font-weight-medium);
|
|
text-decoration: none;
|
|
flex: 1;
|
|
min-width: 200px;
|
|
text-align: center;
|
|
}
|
|
.quick-action-btn:hover {
|
|
background-color: var(--interactive-hover);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.quick-action-btn:active {
|
|
background-color: var(--interactive-active);
|
|
transform: translateY(0);
|
|
}
|
|
@media (max-width: 768px) {
|
|
.status-dashboard-header {
|
|
padding: var(--size-4-2) var(--size-4-3);
|
|
}
|
|
.status-dashboard-content {
|
|
padding: var(--size-4-2);
|
|
}
|
|
.status-dashboard-current-note {
|
|
padding: var(--size-4-2);
|
|
}
|
|
.vault-overview {
|
|
padding: var(--size-4-2);
|
|
}
|
|
.vault-stats-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: var(--size-4-1);
|
|
}
|
|
.quick-actions {
|
|
flex-direction: column;
|
|
}
|
|
.quick-action-btn {
|
|
min-width: auto;
|
|
}
|
|
}
|
|
.theme-dark .status-dashboard-section {
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
.theme-dark .vault-stat-card:hover {
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
}
|
|
.theme-light .status-dashboard-section {
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.theme-light .vault-stat-card:hover {
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
.status-dashboard-content::-webkit-scrollbar {
|
|
width: var(--scrollbar-width);
|
|
}
|
|
.status-dashboard-content::-webkit-scrollbar-track {
|
|
background: var(--background-secondary);
|
|
}
|
|
.status-dashboard-content::-webkit-scrollbar-thumb {
|
|
background: var(--scrollbar-thumb-bg);
|
|
border-radius: var(--radius-s);
|
|
}
|
|
.status-dashboard-content::-webkit-scrollbar-thumb:hover {
|
|
background: var(--scrollbar-thumb-bg-hover);
|
|
}
|
|
|
|
/* styles/index.css */
|