/********************************************************* * CSS VARIABLES - STREAMS BAR DIMENSIONS *********************************************************/ :root { --streams-bar-widget-height: 28px; } /********************************************************* * ANIMATIONS *********************************************************/ @keyframes streams-fade-in { from { opacity: 0; } to { opacity: 1; } } /********************************************************* * GLOBAL STYLES & INDICATORS *********************************************************/ .streams-global-indicator { display: inline-flex; align-items: center; padding: 4px 8px; margin-left: 8px; background: var(--interactive-normal); border: 1px solid var(--background-modifier-border); border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 500; color: var(--text-normal); transition: all 0.2s ease; user-select: none; } .streams-global-indicator:hover { background: var(--interactive-hover); border-color: var(--text-accent); color: var(--text-accent); } .streams-global-indicator:active { transform: scale(0.95); } /********************************************************* * LAYOUT & CONTAINER STYLES *********************************************************/ .streams-reorder-container { display: flex; gap: 0.25em; align-items: center; margin-left: auto; } .streams-encryption-warning { color: var(--text-error); font-size: 0.9em; margin-top: 0.5em; } .streams-reorder-container .setting-item { margin: 0; padding: 0; display: flex; align-items: center; } .streams-reorder-container .setting-item-name { display: none; } .streams-reorder-container .setting-item-control { display: flex; align-items: center; margin: 0; padding: 0; } .streams-reorder-btn { width: 16px; height: 16px; padding: 0; margin: 0; border: none; background: transparent; color: var(--text-muted); font-size: 10px; font-weight: 400; cursor: pointer; border-radius: 2px; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; position: relative; } .streams-caret-up::before { content: ''; width: 4px; height: 4px; border-left: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); display: block; } .streams-caret-down::before { content: ''; width: 4px; height: 4px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); display: block; } .streams-reorder-btn:hover:not(:disabled) { background-color: var(--interactive-hover); color: var(--text-accent); } .streams-reorder-btn:active:not(:disabled) { background-color: var(--interactive-accent); color: var(--text-on-accent); } .streams-reorder-btn:disabled { opacity: 0.3; cursor: not-allowed; } .streams-reorder-container .mod-cta:hover:not(:disabled) { background-color: var(--interactive-hover); color: var(--text-accent); } .streams-reorder-container .mod-cta:active:not(:disabled) { background-color: var(--interactive-accent); color: var(--text-on-accent); } .streams-reorder-container .mod-cta:disabled { opacity: 0.3; cursor: not-allowed; background: transparent; color: var(--text-muted); } .streams-reorder-container .mod-cta:disabled:hover { background: transparent; color: var(--text-muted); } .streams-plugin-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; padding: 20px; } .streams-plugin-card { background-color: var(--background-secondary); border-radius: 10px; padding: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--background-modifier-border); min-height: 32px; } .streams-card-header h3 { margin: 0; flex: 1; border-bottom: none; padding-bottom: 0; line-height: 1.2; display: flex; align-items: center; } /* Disabled stream styling */ .streams-plugin-card-disabled { opacity: 0.5; background-color: var(--background-secondary-alt); border: 1px solid var(--background-modifier-border-focus); position: relative; } .streams-status-toggle { margin-left: 10px; padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; border: none; transition: all 0.2s ease; height: auto; line-height: 1.5; box-shadow: none; } .streams-status-toggle.is-disabled { background-color: var(--text-error); color: var(--text-on-accent); } .streams-status-toggle.is-disabled:hover { background-color: var(--text-error-hover); } .streams-status-toggle.is-enabled { background-color: var(--interactive-success); color: var(--text-on-accent); } .streams-status-toggle.is-enabled:hover { background-color: var(--interactive-success-hover); } .streams-plugin-card-disabled h3 { color: var(--text-muted); } .streams-plugin-card-disabled .setting-item { opacity: 0.7; } .streams-plugin-card-disabled .setting-item .setting-item-control { pointer-events: none; } .setting-item.streams-setting-stacked { flex-direction: column; align-items: flex-start; } .setting-item.streams-setting-stacked .setting-item-info { width: 100%; margin-bottom: 8px; } .setting-item.streams-setting-stacked .setting-item-control { width: 100%; justify-content: flex-start; margin-top: 0; } .setting-item.streams-setting-stacked .setting-item-control input[type="text"] { width: 100%; } /********************************************************* * STREAMS BAR - MAIN COMPONENT *********************************************************/ .streams-bar-component { position: relative; width: 100%; background-color: transparent; padding: 4px 6px 4px 6px; font-size: 14px; line-height: 1.4; margin: 0; pointer-events: auto; display: flex; align-items: center; border-bottom: none; backdrop-filter: none; z-index: 1000; order: 99; flex-basis: 100%; } .streams-create-file-leaf { width: 100%; } /* Prevent scrollbars on CreateFileView */ .streams-create-file-leaf .view-content { overflow: hidden; } .streams-leaf-active .view-header { z-index: 10000; flex-wrap: wrap; height: auto; min-height: var(--header-height); } /* Ensure the native title container doesn't wrap to a new line, but shrinks and truncates as normal */ .streams-leaf-active .view-header>.view-header-title-container { min-width: 0; flex: 1 1 0; } /* * HOLISTIC SCROLLING FIX (Desktop): * Instead of making the header relative (which breaks immersive scrolling) or zeroing out padding, * we let the header be native (absolute) so content scrolls under it. * Since our Streams bar makes the header taller, we explicitly increase the padding-top * on the markdown containers using an offset (40px). */ .streams-leaf-active .mod-root .workspace-leaf-content .view-content .markdown-reading-view>.markdown-preview-view, .streams-leaf-active .mod-root .workspace-leaf-content .view-content .markdown-source-view>.cm-editor>.cm-scroller { padding-top: calc(40px + var(--view-top-spacing-markdown)) !important; } /* * HOLISTIC SCROLLING FIX (Mobile): * Uses a slightly larger offset for touch targets (6vh). */ .is-phone .streams-leaf-active .mod-root .workspace-leaf-content .view-content .markdown-reading-view>.markdown-preview-view, .is-phone .streams-leaf-active .mod-root .workspace-leaf-content .view-content .markdown-source-view>.cm-editor>.cm-scroller { padding-top: calc(6vh + var(--view-top-spacing-markdown)) !important; } .is-phone .streams-bar-component { font-size: 11px; } .streams-bar-collapsed { background-color: transparent; } /* * PILL STYLE MENU * Wrap the two groups in pill-shaped containers to match Obsidian's native mobile menu buttons */ .streams-bar-nav-controls, .streams-bar-change-stream { background-color: var(--background-primary); border-radius: var(--radius-xl, 20px); padding: 4px 8px; box-shadow: var(--shadow-s, 0 2px 8px rgba(0, 0, 0, 0.05)); border: 1px solid var(--background-modifier-border); height: 36px; box-sizing: border-box; } /* Strip individual button borders/backgrounds to make them flow smoothly inside the pill */ .streams-bar-day-nav, .streams-bar-today-button, .streams-bar-home-button, .streams-bar-settings-button { background-color: transparent !important; border: none !important; box-shadow: none !important; height: auto; padding: 4px; } .streams-bar-day-nav:hover, .streams-bar-today-button:hover, .streams-bar-home-button:hover, .streams-bar-settings-button:hover { background-color: transparent !important; color: var(--text-accent); } .streams-bar-change-stream:hover { background-color: var(--background-secondary) !important; color: var(--text-accent); border-color: var(--background-modifier-border); } .streams-bar-nav-controls { flex: 0 0 auto; /* Prevent stretching */ } .streams-bar-change-stream { margin-right: 0; /* Push all the way to the right */ } .streams-bar-component .streams-dropdown { display: none; } .streams-bar-component .streams-dropdown--visible { display: block; } body .streams-bar-dropdown-hidden, .streams-bar-component .streams-bar-dropdown-hidden { display: none; } body .streams-bar-dropdown-visible, .streams-bar-component .streams-bar-dropdown-visible { display: block; } .streams-bar-component--visible { display: block; visibility: visible; opacity: 1; } /********************************************************* * STREAMS BAR - NAVIGATION & HEADER *********************************************************/ .streams-bar-top-nav, .streams-bar-header { width: 100%; box-sizing: border-box; justify-content: space-between; display: flex; align-items: center; } .streams-bar-collapsed { position: relative; top: 0; right: 0; padding: 0; transition: all 0.2s ease; background-color: var(--background-primary); min-width: 200px; width: 100%; text-align: left; white-space: nowrap; user-select: none; z-index: 1001; pointer-events: auto; display: flex; align-items: center; justify-content: space-between; flex: 1; } .streams-bar-nav-controls { display: flex; align-items: center; justify-content: flex-start; margin: 0; background-color: var(--background-primary); border-radius: var(--radius-xl, 20px); padding: 4px 8px; box-shadow: var(--shadow-s, 0 2px 8px rgba(0, 0, 0, 0.05)); border: 1px solid var(--background-modifier-border); height: 36px; box-sizing: border-box; gap: 4px; flex: 0 0 auto; } .streams-bar-nav { cursor: pointer; color: var(--text-normal); padding: 4px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background-color: var(--background-primary); border: none; transition: background-color 0.2s ease, transform 0.1s ease; font-size: 16px; } .streams-bar-nav:active { transform: scale(0.95); background-color: var(--interactive-accent-hover); } .streams-bar-date { font-weight: 600; text-align: center; flex: 1; margin: 0 12px; } /********************************************************* * STREAMS BAR - BUTTONS & CONTROLS *********************************************************/ .streams-bar-day-nav { display: flex; align-items: center; justify-content: center; width: 28px; height: auto; border-radius: 4px; cursor: pointer; color: var(--text-muted); transition: all 0.2s ease; background-color: transparent; border: none; box-shadow: none; font-size: 14px; font-weight: 500; } .streams-bar-day-nav:hover { background-color: transparent; color: var(--text-accent); } .streams-bar-day-nav:active { background-color: transparent; transform: scale(0.95); } .streams-bar-today-button { white-space: nowrap; flex: 0 0 auto; text-align: center; font-weight: 600; color: var(--text-normal); /* margin: 0 8px; */ font-size: 15px; min-width: 60px; height: auto; padding: 4px; border-radius: 4px; background-color: transparent; border: none; box-shadow: none; cursor: pointer; /* transition: all 0.2s ease; */ } .streams-bar-today-button:hover { background-color: transparent; color: var(--text-accent); } .streams-bar-today-button.streams-infinity-mode { font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; height: var(--streams-bar-widget-height); box-sizing: border-box; padding-bottom: 3px; } .streams-bar-change-stream { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 16px; height: 36px; border-radius: var(--radius-xl, 20px); cursor: pointer; transition: all 0.2s ease; color: var(--text-muted); margin: 0; background-color: var(--background-primary); border: 1px solid var(--background-modifier-border); box-shadow: var(--shadow-s, 0 2px 8px rgba(0, 0, 0, 0.05)); font-weight: 500; position: relative; box-sizing: border-box; } .streams-bar-change-stream:hover { background-color: var(--background-secondary); color: var(--text-accent); border-color: var(--background-modifier-border); } .streams-bar-change-stream-text { font-size: 14px; font-weight: 500; color: inherit; } .streams-bar-home-button { cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; width: 28px; height: auto; padding: 4px; border-radius: 4px; background-color: transparent; border: none; box-shadow: none; color: var(--text-muted); } .streams-bar-home-button:hover { background-color: transparent; color: var(--text-accent); } .streams-bar-settings-button { cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; width: 28px; height: auto; padding: 4px; border-radius: 4px; background-color: transparent; border: none; box-shadow: none; color: var(--text-muted); } .streams-bar-settings-button:hover { background-color: transparent; color: var(--text-accent); } /********************************************************* * STREAMS BAR - DROPDOWN & STREAM SELECTION *********************************************************/ .streams-bar-streams-dropdown { position: absolute; top: calc(100% + 8px); right: 0; width: auto; min-width: 200px; background-color: var(--background-primary); border: 1px solid var(--background-modifier-border); border-radius: 6px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); z-index: 10002; overflow: visible; display: none; } .streams-bar-component .streams-bar-streams-dropdown.streams-bar-dropdown-visible, .streams-bar-component .streams-bar-streams-dropdown.streams-dropdown--visible { display: block; } .streams-bar-stream-item { display: flex; align-items: center; padding: 8px 12px; cursor: pointer; transition: all 0.2s ease; border-bottom: 1px solid var(--background-modifier-border); color: var(--text-normal); } .streams-bar-stream-item:last-child { border-bottom: none; border-radius: 0 0 6px 6px; } .streams-bar-stream-item:first-child { border-radius: 6px 6px 0 0; } .streams-bar-stream-item:hover { background-color: var(--interactive-hover); color: var(--text-accent); } .streams-bar-stream-item-icon { display: flex; align-items: center; margin-right: 8px; } .streams-bar-stream-item-icon svg { width: 16px; height: 16px; color: var(--text-muted); } .streams-bar-stream-item-name { font-size: 0.9em; color: var(--text-normal); font-weight: 500; } .streams-bar-stream-item-selected { background-color: var(--interactive-accent); color: var(--text-on-accent); } .streams-bar-stream-item-selected .streams-bar-stream-item-name { color: var(--text-on-accent); } .streams-bar-stream-item-selected .streams-bar-stream-item-icon svg { color: var(--text-on-accent); } .streams-bar-stream-item-checkmark { display: flex; align-items: center; margin-left: auto; } .streams-bar-stream-item-checkmark svg { width: 14px; height: 14px; color: var(--text-on-accent); } /* Primary stream indicator (subtle) */ .streams-bar-stream-item-primary-indicator { width: 6px; height: 6px; border-radius: 999px; margin-left: 8px; background: var(--text-muted); opacity: 0.45; flex: 0 0 auto; } .streams-bar-stream-item:hover .streams-bar-stream-item-primary-indicator { opacity: 0.65; } .streams-bar-stream-item-selected .streams-bar-stream-item-primary-indicator { background: var(--text-on-accent); opacity: 0.7; } /* Slightly larger in modern style so it still reads as a dot */ .streams-bar-component.modern-style .streams-bar-stream-item-primary-indicator { width: 7px; height: 7px; opacity: 0.4; } /* Encryption icon for main stream display */ .streams-bar-encryption-icon { display: flex; align-items: center; margin-left: 6px; } .streams-bar-encryption-icon svg { width: 14px; height: 14px; color: var(--text-muted); } .streams-bar-change-stream:hover .streams-bar-encryption-icon svg { color: var(--text-accent); } /* Encryption icon for stream dropdown items */ .streams-bar-stream-item-encryption { display: flex; align-items: center; margin-left: 8px; } .streams-bar-stream-item-encryption svg { width: 12px; height: 12px; color: var(--text-muted); } .streams-bar-stream-item:hover .streams-bar-stream-item-encryption svg { color: var(--text-accent); } .streams-bar-stream-item-selected .streams-bar-stream-item-encryption svg { color: var(--text-on-accent); } /********************************************************* * STREAMS BAR - CALENDAR GRID & DAYS *********************************************************/ .streams-bar-expanded { position: absolute; top: 100%; left: 0; padding: 16px; width: auto; min-width: 264px; background-color: var(--background-primary); border: 1px solid var(--background-modifier-border); border-radius: 0 0 8px 8px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); opacity: 0; transition: all 0.3s ease; z-index: 10001; pointer-events: none; display: flex; flex-direction: column; align-items: center; transform-origin: top left; max-height: 400px; overflow-y: auto; } .streams-bar-expanded-active { opacity: 1; pointer-events: auto; } .streams-bar-grid { display: grid; grid-template-columns: repeat(7, 32px); gap: 4px; width: 264px; padding: 8px; box-sizing: border-box; background-color: var(--background-secondary); border: 1px solid var(--background-modifier-border); border-radius: 6px; margin: 0; } .streams-bar-day { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid transparent; padding: 4px; border-radius: 4px; transition: all 0.2s ease; min-width: 32px; min-height: 32px; width: 32px; height: 32px; justify-content: center; cursor: pointer; background-color: var(--background-primary); color: var(--text-normal); } .streams-bar-day:hover { background-color: var(--interactive-hover); border-color: var(--text-accent); color: var(--text-accent); } .streams-bar-day:active { background-color: var(--interactive-accent); color: var(--text-on-accent); transform: scale(0.95); } .streams-bar-day.empty { cursor: default; min-height: 32px; min-width: 32px; } .streams-bar-day.empty:hover, .streams-bar-day.empty:active { background-color: transparent; } .streams-bar-day-header { padding: 6px; color: var(--text-muted); font-size: 12px; text-align: center; width: 32px; cursor: default; } .streams-date-container { display: flex; justify-content: center; align-items: center; font-size: 12px; line-height: 1; width: 100%; height: 100%; } .streams-bar-day.viewed { border-color: var(--text-accent); background-color: var(--interactive-hover); color: var(--text-accent); font-weight: 600; } .streams-bar-day.today { color: var(--text-on-accent); font-weight: 600; background-color: var(--interactive-accent); border: 1px solid var(--interactive-accent); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .streams-dot-container { display: flex; gap: 2px; height: 4px; } .streams-content-dot { width: 4px; height: 4px; border-radius: 50%; background-color: var(--text-muted); } .streams-bar-day.today .streams-content-dot { background-color: var(--text-accent); } /********************************************************* * ENCRYPTION STATUS ICONS *********************************************************/ .streams-encryption-icon { display: flex; align-items: center; justify-content: center; width: 12px; height: 12px; margin-left: 2px; opacity: 0.8; transition: all 0.2s ease; } .streams-encryption-icon svg { width: 10px; height: 10px; color: var(--text-muted); } .streams-bar-day:hover .streams-encryption-icon svg { color: var(--text-accent); opacity: 1; } .streams-bar-day.today .streams-encryption-icon svg { color: var(--text-accent); opacity: 1; } /* Locked file icon styling */ .streams-encryption-icon[title*="locked"] svg { color: var(--text-error); } .streams-bar-day:hover .streams-encryption-icon[title*="locked"] svg { color: var(--text-error); } /* Unlocked file icon styling */ .streams-encryption-icon[title*="unlocked"] svg { color: var(--text-success); } .streams-bar-day:hover .streams-encryption-icon[title*="unlocked"] svg { color: var(--text-success); } /********************************************************* * CREATE FILE VIEW - CONTAINER & LAYOUT *********************************************************/ .streams-create-file-container { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; padding: 20px; background-color: var(--background-primary); box-sizing: border-box; flex-direction: column; position: relative; z-index: 1; } .streams-create-file-content { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 500px; width: 90%; background-color: var(--background-secondary); border-radius: 12px; padding: 40px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); text-align: center; animation: streams-fade-in 0.3s ease-in-out; margin: 20px; position: relative; z-index: 2; } /********************************************************* * CREATE FILE VIEW - CONTENT ELEMENTS *********************************************************/ .streams-create-file-icon { margin-bottom: 24px; } .streams-create-file-icon svg { width: 48px; height: 48px; color: var(--text-accent); opacity: 0.9; } .streams-create-file-stream-container { display: flex; align-items: center; margin-bottom: 12px; } .streams-create-file-stream-icon { margin-right: 8px; display: flex; align-items: center; } .streams-create-file-stream-icon svg { width: 18px; height: 18px; color: var(--text-muted); } .streams-create-file-stream { font-size: 1em; font-weight: 600; color: var(--text-muted); } .streams-create-file-date { font-size: 1.4em; font-weight: 700; color: var(--text-normal); margin-bottom: 30px; line-height: 1.2; } .streams-create-file-path { font-family: var(--font-monospace); font-size: 0.8em; color: var(--text-muted); margin-bottom: 32px; opacity: 0.8; } /********************************************************* * CREATE FILE VIEW - BUTTONS & ACTIONS *********************************************************/ .streams-create-file-button-container { margin-top: 16px; } .streams-create-file-button { padding: 10px 24px; font-size: 1em; border-radius: 6px; transition: all 0.2s ease; background-color: var(--interactive-accent); text-align: center; } .streams-create-file-button:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); } .streams-create-file-button:active { transform: translateY(0); } .streams-create-file-button-text { margin-left: 4px; } .streams-create-file-button svg { width: 18px; height: 18px; } /********************************************************* * RESPONSIVE STYLES *********************************************************/ .is-mobile .streams-create-file-content { width: 100%; max-width: none; padding: 30px 20px; border-radius: 8px; } .is-mobile .streams-create-file-container { padding: 20px; } .is-phone .streams-create-file-date { font-size: 1.2em; } /********************************************************* * MOVE TEXT MODAL STYLES *********************************************************/ .move-text-buttons { display: flex; gap: 8px; justify-content: flex-end; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--background-modifier-border); } .move-text-buttons button { min-width: 80px; padding: 8px 16px; border-radius: 4px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .move-text-buttons button.mod-cta:hover { background: var(--interactive-accent-hover); } .move-text-buttons button.mod-secondary:hover { background: var(--interactive-hover); border-color: var(--text-accent); } /********************************************************* * MODERN STREAMS BAR STYLES - MODERN MINIMALIST *********************************************************/ /********************************************************* * STREAMS BAR - MAIN COMPONENT (MODERN STYLE) *********************************************************/ /* Modern style overrides with higher specificity */ .streams-bar-component.modern-style { position: relative; width: 100%; background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%); padding: 8px 12px; font-size: 12px; line-height: 1.4; margin: 0; pointer-events: auto; display: flex; align-items: center; backdrop-filter: blur(12px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); border-radius: 0 0 12px 12px; } .streams-markdown-view-content .streams-bar-component.modern-style { position: absolute; top: 10px; } .is-phone .streams-bar-component.modern-style { backdrop-filter: none; background: transparent; border-bottom: none; font-size: 11px; padding: 6px 10px; } .is-phone .streams-bar-component.modern-style .streams-bar-collapsed { background: transparent; } .is-phone .streams-bar-component.modern-style .streams-bar-change-stream { margin-right: 25px; } /********************************************************* * STREAMS BAR - NAVIGATION & HEADER (MODERN STYLE) *********************************************************/ .streams-bar-component.modern-style .streams-bar-top-nav, .streams-bar-component.modern-style .streams-bar-header { width: 100%; box-sizing: border-box; justify-content: space-between; display: flex; align-items: center; margin-bottom: 8px; } .streams-bar-component.modern-style .streams-bar-collapsed { position: relative; top: 0; right: 0; padding: 0; transition: all 0.3s ease; background: transparent; min-width: 200px; width: 100%; text-align: left; white-space: nowrap; user-select: none; z-index: 1001; pointer-events: auto; display: flex; align-items: center; justify-content: space-between; flex: 1; } .streams-bar-component.modern-style .streams-bar-nav-controls { display: flex; align-items: center; justify-content: flex-start; margin: 0; background-color: transparent; border-radius: 0; padding: 0; border: none; gap: 12px; flex: 1; } .streams-bar-component.modern-style .streams-bar-nav { cursor: pointer; color: var(--text-normal); padding: 8px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--interactive-normal); border-radius: 50%; transition: all 0.3s ease; font-size: 16px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-bar-component.modern-style .streams-bar-nav:hover { background: var(--interactive-hover); border-color: var(--text-accent); transform: scale(1.05); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .streams-bar-component.modern-style .streams-bar-nav:active { transform: scale(0.95); background: var(--interactive-accent); color: var(--text-on-accent); } .streams-bar-component.modern-style .streams-bar-date { font-weight: 700; text-align: center; flex: 1; margin: 0 16px; font-size: 15px; color: var(--text-accent); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } /********************************************************* * STREAMS BAR - BUTTONS & CONTROLS (MODERN STYLE) *********************************************************/ .streams-bar-component.modern-style .streams-bar-day-nav { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--text-muted); transition: all 0.3s ease; background: var(--interactive-normal); font-size: 14px; font-weight: 600; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-bar-component.modern-style .streams-bar-day-nav:hover { background: var(--interactive-hover); color: var(--text-normal); border-color: var(--text-accent); transform: scale(1.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .streams-bar-component.modern-style .streams-bar-day-nav:active { background: var(--interactive-accent); color: var(--text-on-accent); transform: scale(0.95); } .streams-bar-component.modern-style .streams-bar-today-button { white-space: nowrap; flex: 0 0 auto; text-align: center; font-weight: 700; color: var(--text-on-accent); margin: 0 12px; font-size: 14px; min-width: 80px; padding: 8px 16px; border-radius: 20px; background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%); border: 2px solid #ff4757; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .streams-bar-component.modern-style .streams-bar-today-button:hover { background: linear-gradient(135deg, var(--interactive-accent-hover) 0%, var(--interactive-accent) 100%); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } .streams-bar-component.modern-style .streams-bar-change-stream { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; color: var(--text-muted); margin: 0; background: var(--interactive-normal); font-weight: 600; position: relative; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-bar-component.modern-style .streams-bar-change-stream:hover { background: var(--interactive-hover); color: var(--text-normal); border-color: var(--text-accent); transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .streams-bar-component.modern-style .streams-bar-change-stream-text { font-size: 14px; font-weight: 600; color: inherit; } .streams-bar-component.modern-style .streams-bar-home-button { cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--interactive-normal); color: var(--text-muted); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-bar-component.modern-style .streams-bar-home-button:hover { background: var(--interactive-hover); color: var(--text-normal); border-color: var(--text-accent); transform: scale(1.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .streams-bar-component.modern-style .streams-bar-settings-button { cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--interactive-normal); color: var(--text-muted); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-bar-component.modern-style .streams-bar-settings-button:hover { background: var(--interactive-hover); color: var(--text-normal); border-color: var(--text-accent); transform: scale(1.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } /********************************************************* * STREAMS BAR - DROPDOWN & STREAM SELECTION (MODERN STYLE) *********************************************************/ .streams-bar-component.modern-style .streams-bar-streams-dropdown { position: absolute; top: calc(100% + 12px); right: 0; width: auto; min-width: 220px; background: var(--background-primary); border: 2px solid var(--background-modifier-border); border-radius: 12px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); z-index: 10002; overflow: visible; display: none; backdrop-filter: blur(8px); } .streams-bar-component.modern-style .streams-bar-stream-item { display: flex; align-items: center; padding: 12px 16px; cursor: pointer; transition: all 0.3s ease; border-bottom: 1px solid var(--background-modifier-border); color: var(--text-normal); font-weight: 500; } .streams-bar-component.modern-style .streams-bar-stream-item:last-child { border-bottom: none; border-radius: 0 0 10px 10px; } .streams-bar-component.modern-style .streams-bar-stream-item:first-child { border-radius: 10px 10px 0 0; } .streams-bar-component.modern-style .streams-bar-stream-item:hover { background: linear-gradient(135deg, var(--interactive-hover) 0%, var(--interactive-accent) 100%); color: var(--text-on-accent); transform: translateX(4px); } .streams-bar-component.modern-style .streams-bar-stream-item-icon { display: flex; align-items: center; margin-right: 12px; } .streams-bar-component.modern-style .streams-bar-stream-item-icon svg { width: 18px; height: 18px; color: var(--text-muted); } .streams-bar-component.modern-style .streams-bar-stream-item-name { font-size: 14px; color: inherit; font-weight: 600; } .streams-bar-component.modern-style .streams-bar-stream-item-selected { background: linear-gradient(135deg, var(--interactive-accent) 0%, var(--interactive-accent-hover) 100%); color: var(--text-on-accent); font-weight: 700; } .streams-bar-component.modern-style .streams-bar-stream-item-selected .streams-bar-stream-item-name { color: var(--text-on-accent); } .streams-bar-component.modern-style .streams-bar-stream-item-selected .streams-bar-stream-item-icon svg { color: var(--text-on-accent); } .streams-bar-component.modern-style .streams-bar-stream-item-checkmark { display: flex; align-items: center; margin-left: auto; } .streams-bar-component.modern-style .streams-bar-stream-item-checkmark svg { width: 16px; height: 16px; color: var(--text-on-accent); } /* Modern style encryption icons */ .streams-bar-component.modern-style .streams-bar-encryption-icon { display: flex; align-items: center; margin-left: 8px; } .streams-bar-component.modern-style .streams-bar-encryption-icon svg { width: 16px; height: 16px; color: var(--text-muted); } .streams-bar-component.modern-style .streams-bar-change-stream:hover .streams-bar-encryption-icon svg { color: var(--text-accent); } .streams-bar-component.modern-style .streams-bar-stream-item-encryption { display: flex; align-items: center; margin-left: 10px; } .streams-bar-component.modern-style .streams-bar-stream-item-encryption svg { width: 14px; height: 14px; color: var(--text-muted); } .streams-bar-component.modern-style .streams-bar-stream-item:hover .streams-bar-stream-item-encryption svg { color: var(--text-accent); } .streams-bar-component.modern-style .streams-bar-stream-item-selected .streams-bar-stream-item-encryption svg { color: var(--text-on-accent); } /********************************************************* * STREAMS BAR - CALENDAR GRID & DAYS (MODERN STYLE) *********************************************************/ .streams-bar-component.modern-style .streams-bar-expanded { position: absolute; top: 100%; left: 0; padding: 16px 20px 20px 20px; width: auto; min-width: 320px; background: var(--background-primary); border: 2px solid var(--background-modifier-border); border-radius: 0 0 16px 16px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); opacity: 0; transition: all 0.4s ease; z-index: 10001; pointer-events: none; display: flex; flex-direction: column; align-items: center; transform-origin: top left; max-height: 450px; overflow-y: auto; backdrop-filter: blur(8px); } .streams-bar-component.modern-style .streams-bar-expanded-active { opacity: 1; pointer-events: auto; } .streams-bar-component.modern-style .streams-bar-grid { display: grid; grid-template-columns: repeat(7, 36px); gap: 6px; width: 320px; padding: 12px 16px; box-sizing: border-box; background: var(--background-secondary); border: 2px solid var(--background-modifier-border); border-radius: 12px; margin: 0; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-bar-component.modern-style .streams-bar-day { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px; border-radius: 50%; transition: all 0.3s ease; min-width: 36px; min-height: 36px; width: 36px; height: 36px; justify-content: center; cursor: pointer; background: var(--background-primary); color: var(--text-normal); font-weight: 600; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-bar-component.modern-style .streams-bar-day:hover { background: var(--interactive-hover); border-color: var(--text-accent); color: var(--text-accent); transform: scale(1.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } .streams-bar-component.modern-style .streams-bar-day:active { background: var(--interactive-accent); color: var(--text-on-accent); transform: scale(0.95); } .streams-bar-component.modern-style .streams-bar-day.empty { cursor: default; min-height: 36px; min-width: 36px; background: transparent; box-shadow: none; } .streams-bar-component.modern-style .streams-bar-day.empty:hover, .streams-bar-component.modern-style .streams-bar-day.empty:active { background: transparent; transform: none; } .streams-bar-component.modern-style .streams-bar-day-header { padding: 8px; color: var(--text-muted); font-size: 12px; text-align: center; width: 36px; cursor: default; font-weight: 600; } .streams-bar-component.modern-style .streams-date-container { display: flex; justify-content: center; align-items: center; font-size: 13px; line-height: 1; width: 100%; height: 100%; font-weight: 600; } .streams-bar-component.modern-style .streams-bar-day.viewed { border-color: var(--text-accent); background: linear-gradient(135deg, var(--interactive-hover) 0%, var(--interactive-accent) 100%); color: var(--text-accent); font-weight: 700; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); } .streams-bar-component.modern-style .streams-bar-day.today { color: var(--text-on-accent); font-weight: 700; background: linear-gradient(135deg, var(--interactive-accent) 0%, var(--interactive-accent-hover) 100%); border: 2px solid var(--interactive-accent); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); transform: scale(1.1); } .streams-bar-component.modern-style .streams-dot-container { display: flex; gap: 3px; height: 5px; } .streams-bar-component.modern-style .streams-content-dot { width: 5px; height: 5px; border-radius: 50%; background-color: var(--text-muted); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); } .streams-bar-component.modern-style .streams-bar-day.today .streams-content-dot { background-color: var(--text-accent); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } /********************************************************* * ENCRYPTION STATUS ICONS (MODERN STYLE) *********************************************************/ .streams-bar-component.modern-style .streams-encryption-icon { display: flex; align-items: center; justify-content: center; width: 14px; height: 14px; margin-left: 3px; opacity: 0.9; transition: all 0.3s ease; } .streams-bar-component.modern-style .streams-encryption-icon svg { width: 12px; height: 12px; color: var(--text-muted); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)); } .streams-bar-component.modern-style .streams-bar-day:hover .streams-encryption-icon svg { color: var(--text-accent); opacity: 1; transform: scale(1.1); } .streams-bar-component.modern-style .streams-bar-day.today .streams-encryption-icon svg { color: var(--text-accent); opacity: 1; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2)); } /* Locked file icon styling (modern) */ .streams-bar-component.modern-style .streams-encryption-icon[title*="locked"] svg { color: var(--text-error); } .streams-bar-component.modern-style .streams-bar-day:hover .streams-encryption-icon[title*="locked"] svg { color: var(--text-error); transform: scale(1.1); } /* Unlocked file icon styling (modern) */ .streams-bar-component.modern-style .streams-encryption-icon[title*="unlocked"] svg { color: var(--text-success); } .streams-bar-component.modern-style .streams-bar-day:hover .streams-encryption-icon[title*="unlocked"] svg { color: var(--text-success); transform: scale(1.1); } /********************************************************* * RESPONSIVE STYLES (MODERN STYLE) *********************************************************/ .is-mobile .streams-bar-component.modern-style { margin: 0 4px; width: calc(100% - 8px); padding: 6px 8px; } .is-phone .streams-bar-component.modern-style { position: absolute; top: 45px; backdrop-filter: none; background: transparent; border-bottom: none; font-size: 11px; padding: 4px 6px; margin: 0 2px; width: calc(100% - 4px); z-index: 10001; } .is-phone .streams-bar-component.modern-style .streams-bar-expanded { min-width: 280px; padding: 12px 16px 16px 16px; } .is-phone .streams-bar-component.modern-style .streams-bar-nav { width: 28px; height: 28px; font-size: 14px; } .is-phone .streams-bar-component.modern-style .streams-bar-day-nav { width: 28px; height: 28px; font-size: 12px; } .is-phone .streams-bar-component.modern-style .streams-bar-grid { grid-template-columns: repeat(7, 28px); gap: 4px; width: 256px; padding: 8px 12px; } .is-phone .streams-bar-component.modern-style .streams-bar-day { min-width: 28px; min-height: 28px; width: 28px; height: 28px; font-size: 12px; } /********************************************************* * ENCRYPTED FILE VIEW STYLES *********************************************************/ .streams-install-meld-container { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; padding: 20px; background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%); box-sizing: border-box; flex-direction: column; position: relative; } body .streams-empty-state-hidden, div.streams-empty-state-hidden { display: none; visibility: hidden; opacity: 0; height: 0; overflow: hidden; } body .streams-date-setting-hidden, div.streams-date-setting-hidden { display: none; } .streams-install-meld-content { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 500px; width: 90%; background-color: var(--background-secondary); border-radius: 12px; padding: 40px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); text-align: center; position: relative; } .streams-install-meld-content::before { content: '🔒 ENCRYPTED'; position: absolute; top: -8px; right: 20px; background: var(--text-accent); color: var(--text-on-accent); padding: 6px 12px; font-size: 12px; font-weight: 600; border-radius: 8px; box-shadow: 0 2px 8px rgba(var(--text-accent-rgb), 0.3); z-index: 10; text-transform: uppercase; letter-spacing: 0.5px; } .streams-install-meld-icon { margin-bottom: 24px; } .streams-install-meld-icon svg { width: 48px; height: 48px; color: var(--text-accent); opacity: 0.9; filter: drop-shadow(0 2px 4px rgba(var(--accent-rgb), 0.2)); } .streams-install-meld-title { font-size: 1.2em; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; line-height: 1.2; } .streams-install-meld-description { font-size: 0.9em; color: var(--text-muted); margin-bottom: 20px; line-height: 1.4; opacity: 0.8; } .streams-install-meld-stream-container { display: flex; align-items: center; margin-bottom: 12px; } .streams-install-meld-stream-icon { margin-right: 8px; display: flex; align-items: center; } .streams-install-meld-stream-icon svg { width: 18px; height: 18px; color: var(--text-muted); } .streams-install-meld-stream { font-size: 1em; font-weight: 600; color: var(--text-muted); } .streams-install-meld-date { font-size: 1.4em; font-weight: 700; color: var(--text-normal); margin-bottom: 30px; line-height: 1.2; } .streams-install-meld-path { font-family: var(--font-monospace); font-size: 0.8em; color: var(--text-muted); margin-bottom: 32px; opacity: 0.8; background: rgba(var(--background-primary-rgb), 0.5); padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(var(--background-modifier-border-rgb), 0.3); } .streams-install-meld-button-container { margin-top: 16px; } .streams-install-meld-button { padding: 12px 28px; font-size: 1em; border-radius: 8px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); background: linear-gradient(135deg, var(--interactive-accent) 0%, var(--interactive-accent-hover) 100%); text-align: center; color: var(--text-on-accent); border: 1px solid var(--interactive-accent); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; position: relative; font-weight: 600; box-shadow: 0 4px 12px rgba(var(--interactive-accent-rgb), 0.3); } .streams-install-meld-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(var(--interactive-accent-rgb), 0.4); background: linear-gradient(135deg, var(--interactive-accent-hover) 0%, var(--interactive-accent) 100%); } .streams-install-meld-button:active { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(var(--interactive-accent-rgb), 0.3); } .streams-install-meld-button-text { margin-left: 4px; } .streams-install-meld-button svg { width: 18px; height: 18px; } /* Mobile responsiveness */ .is-mobile .streams-install-meld-content { width: 100%; max-width: none; padding: 30px 20px; border-radius: 8px; } .is-mobile .streams-install-meld-container { padding: 20px; } .is-phone .streams-install-meld-date { font-size: 1.2em; } /********************************************************* * ENCRYPTED CREATE FILE VIEW STYLES *********************************************************/ .streams-create-file-encrypted-leaf { width: 100%; } /* Prevent scrollbars on EncryptedCreateFileView */ .streams-create-file-encrypted-leaf .view-content { overflow: hidden; } .streams-create-file-encrypted-container { display: flex; justify-content: center; align-items: center; height: 100%; width: 100%; padding: 20px; background-color: var(--background-primary); box-sizing: border-box; flex-direction: column; position: relative; z-index: 1; } .streams-create-file-encrypted-content { display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 500px; width: 90%; background-color: var(--background-secondary); border-radius: 16px; padding: 48px 40px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); text-align: center; animation: streams-fade-in 0.4s ease-in-out; margin: 20px; position: relative; z-index: 2; border: 1px solid var(--background-modifier-border); } .streams-create-file-encrypted-content::before { content: '🔒 ENCRYPTED'; position: absolute; top: -8px; right: 16px; background: var(--interactive-accent); color: var(--text-on-accent); padding: 4px 12px; border-radius: 12px; font-size: 0.75em; font-weight: 600; z-index: 3; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } .streams-create-file-encrypted-icon { margin-bottom: 20px; } .streams-create-file-encrypted-icon svg { width: 48px; height: 48px; color: var(--text-accent); opacity: 0.9; } .streams-create-file-encrypted-private-indicator { display: flex; align-items: center; justify-content: center; margin-bottom: 12px; gap: 8px; } .streams-create-file-encrypted-private-icon { display: flex; align-items: center; } .streams-create-file-encrypted-private-icon svg { width: 18px; height: 18px; color: var(--text-muted); } .streams-create-file-encrypted-private-text { font-size: 1em; font-weight: 600; color: var(--text-muted); } .streams-create-file-encrypted-date { font-size: 1.4em; font-weight: 700; color: var(--text-normal); margin-bottom: 32px; line-height: 1.2; } .streams-create-file-encrypted-button-container { margin-top: 16px; } .streams-create-file-encrypted-button { padding: 12px 28px; font-size: 1em; border-radius: 8px; transition: all 0.3s ease; background-color: var(--interactive-accent); text-align: center; border: 1px solid var(--interactive-accent); color: var(--text-on-accent); font-weight: 600; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-create-file-encrypted-button:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); background-color: var(--interactive-accent-hover); border-color: var(--interactive-accent-hover); } .streams-create-file-encrypted-button:active { transform: translateY(0); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .streams-create-file-encrypted-button svg { width: 18px; height: 18px; margin-right: 8px; } /* Mobile responsiveness for encrypted create file view */ .is-mobile .streams-create-file-encrypted-content { width: 100%; max-width: none; padding: 36px 24px; border-radius: 12px; margin: 16px; } .is-mobile .streams-create-file-encrypted-container { padding: 16px; } .is-phone .streams-create-file-encrypted-content { padding: 32px 20px; margin: 12px; } .is-phone .streams-create-file-encrypted-date { font-size: 1.2em; } .is-phone .streams-create-file-encrypted-encryption-indicator { font-size: 0.85em; padding: 6px 12px; } .is-phone .streams-create-file-encrypted-button { padding: 10px 24px; font-size: 0.95em; } /********************************************************* * ICON PICKER MODAL *********************************************************/ .streams-icon-picker-modal { max-width: 500px; width: 70vw; max-height: 70vh; height: auto; } .streams-icon-picker-header { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; } .streams-icon-picker-header h2 { margin: 0; } .streams-search-container input { width: 100%; padding: 8px; font-size: 14px; } .streams-icon-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)); gap: 4px; padding: 4px; overflow-y: auto; overflow-x: hidden; max-height: 50vh; background-color: var(--background-secondary); border-radius: 8px; border: 1px solid var(--background-modifier-border); box-sizing: border-box; width: 100%; } .streams-icon-item { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 4px; cursor: pointer; background-color: var(--background-primary); border: 1px solid transparent; transition: all 0.2s ease; padding: 4px; } .streams-icon-item:hover { background-color: var(--interactive-hover); border-color: var(--text-accent); } .streams-icon-item.selected { background-color: var(--interactive-accent); color: var(--text-on-accent); } .streams-icon-preview { display: flex; align-items: center; justify-content: center; } .streams-icon-preview svg { width: 18px; height: 18px; } /* Tooltip on hover */ .streams-icon-item { position: relative; } .streams-icon-item:hover::after { content: attr(aria-label); position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); background: var(--background-modifier-message); color: var(--text-normal); padding: 4px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap; z-index: 1000; pointer-events: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); } .streams-no-icons { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--text-muted); }