anshuman-ecc-eth_hm-obsidian/styles.css

203 lines
4.1 KiB
CSS

/*
* Hyvmind Uploader Plugin Styles
* These styles are available when the plugin is enabled
*/
/* ========================================
Progress Modal Styles
======================================== */
.hyvmind-upload-status {
font-size: var(--font-ui-small);
color: var(--text-muted);
}
.hyvmind-progress-bar {
width: 100%;
height: 20px;
background-color: var(--background-modifier-border);
border-radius: 4px;
overflow: hidden;
margin-top: 1rem;
}
.hyvmind-progress-bar .hyvmind-progress-fill {
width: var(--progress-width, 0%);
height: 100%;
background-color: var(--interactive-accent);
transition: width 0.3s ease;
}
/* ========================================
Status Bar Styles
======================================== */
.hyvmind-status-bar {
font-size: var(--font-ui-smaller);
}
.hyvmind-status-connected {
color: var(--text-success);
}
.hyvmind-status-disconnected {
color: var(--text-muted);
}
/* ========================================
Settings Tab Styles
======================================== */
.hyvmind-preset-container {
margin-top: 1rem;
}
.hyvmind-preset-btn {
margin-right: 0.5rem;
}
/* Focus styles for accessibility */
.hyvmind-preset-btn:focus-visible {
outline: 2px solid var(--interactive-accent);
outline-offset: 2px;
}
/* High contrast mode support */
@media (prefers-contrast: high) {
.hyvmind-progress-bar {
border: 1px solid var(--text-normal);
}
.hyvmind-progress-bar .hyvmind-progress-fill {
border-right: 1px solid var(--text-normal);
}
}
/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
.hyvmind-progress-bar .hyvmind-progress-fill {
transition: none;
}
}
/* ========================================
Authentication Settings Styles
======================================== */
.hyvmind-confirm-buttons {
display: flex;
gap: 8px;
margin-top: 16px;
}
.hyvmind-auth-desc {
font-size: var(--font-ui-small);
color: var(--text-muted);
margin-bottom: 1rem;
}
.hyvmind-auth-note {
font-size: var(--font-ui-small);
color: var(--text-muted);
margin-top: 1rem;
padding: 0.5rem;
background-color: var(--background-secondary);
border-radius: var(--radius-s);
}
.hyvmind-auth-buttons {
display: flex;
gap: 0.5rem;
margin-top: 0.5rem;
margin-bottom: 1rem;
}
.hyvmind-auth-btn {
padding: 0.4rem 0.8rem;
border-radius: var(--button-radius);
cursor: pointer;
font-size: var(--font-ui-small);
}
.hyvmind-import-btn {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
border: none;
}
.hyvmind-import-btn:hover {
background-color: var(--interactive-accent-hover);
}
.hyvmind-help-btn {
background-color: var(--background-secondary);
color: var(--text-muted);
border: 1px solid var(--background-modifier-border);
}
.hyvmind-help-btn:hover {
background-color: var(--background-modifier-hover);
}
.hyvmind-delete-btn {
background-color: var(--background-secondary);
color: var(--text-muted);
border: 1px solid var(--background-modifier-border);
}
.hyvmind-delete-btn:hover {
background-color: var(--background-modifier-error);
color: var(--text-on-accent);
border-color: var(--background-modifier-error);
}
.hyvmind-token-status {
font-size: var(--font-ui-small);
padding: 0.5rem;
background-color: var(--background-secondary);
border-radius: var(--radius-s);
}
.hyvmind-status {
font-weight: 600;
}
.hyvmind-status-valid {
color: var(--text-success);
}
.hyvmind-status-expired {
color: var(--text-warning);
}
.hyvmind-status-none {
color: var(--text-muted);
}
.hyvmind-principal {
color: var(--text-muted);
font-family: var(--font-mono);
font-size: var(--font-ui-smaller);
}
textarea.hyvmind-token-input {
font-family: var(--font-mono);
font-size: var(--font-ui-smaller);
}
/* ========================================
Token Modal Styles
======================================== */
.hyvmind-code-block {
background-color: var(--background-secondary);
padding: 0.5rem;
border-radius: var(--radius-s);
font-family: var(--font-mono);
font-size: var(--font-ui-small);
overflow-x: auto;
}
.hyvmind-modal-close {
margin-top: 16px;
}