mirror of
https://github.com/devonthesofa/obsidian-note-status.git
synced 2026-07-22 12:30:24 +00:00
77 lines
1.5 KiB
CSS
77 lines
1.5 KiB
CSS
/* Status Chip Component - BEM Pattern */
|
|
.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;
|
|
transition: all var(--anim-duration-fast) ease;
|
|
}
|
|
|
|
.status-chip:hover {
|
|
background: var(--background-modifier-hover);
|
|
transform: scale(1.02);
|
|
}
|
|
|
|
.status-chip--template {
|
|
background: var(--background-primary-alt);
|
|
border-color: var(--color-base-40);
|
|
}
|
|
|
|
.status-chip--removable {
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.status-chip--disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.status-chip__icon {
|
|
display: inline-block;
|
|
font-size: 1em;
|
|
line-height: 1;
|
|
transition: transform var(--anim-duration-fast) ease;
|
|
}
|
|
|
|
.status-chip__text {
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--text-normal);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.status-chip__color-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background-color: var(--dot-color, var(--color-base-30));
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.status-chip__remove-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all var(--anim-duration-fast) ease;
|
|
}
|
|
|
|
.status-chip__remove-btn:hover {
|
|
background: var(--background-modifier-active);
|
|
color: var(--text-normal);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.status-chip__remove-btn:active {
|
|
transform: scale(0.95);
|
|
}
|