mirror of
https://github.com/bfloydd/streams.git
synced 2026-07-22 05:49:02 +00:00
1736 lines
No EOL
43 KiB
CSS
1736 lines
No EOL
43 KiB
CSS
/*********************************************************
|
|
* 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-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-plugin-card h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
border-bottom: none;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
/*********************************************************
|
|
* STREAMS BAR - MAIN COMPONENT
|
|
*********************************************************/
|
|
.streams-bar-component {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 10000;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
pointer-events: auto;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 14px;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.streams-bar-component {
|
|
position: relative;
|
|
width: 100%;
|
|
background-color: var(--background-primary);
|
|
padding: 4px 6px 4px 6px;
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.streams-markdown-view-content {
|
|
position: relative;
|
|
}
|
|
|
|
.streams-markdown-view-content .streams-bar-component {
|
|
position: absolute;
|
|
top: 10px;
|
|
}
|
|
|
|
.workspace-leaf-content:has(.streams-create-file-container) {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Prevent scrollbars on CreateFileView */
|
|
.workspace-leaf-content:has(.streams-create-file-container) .view-content {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.is-phone .streams-bar-component {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.streams-bar-component .streams-dropdown {
|
|
display: none;
|
|
}
|
|
|
|
.streams-bar-component .streams-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: 1000;
|
|
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: transparent;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
border: none;
|
|
gap: 8px;
|
|
flex: 1;
|
|
}
|
|
|
|
.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: 28px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
color: var(--text-muted);
|
|
transition: all 0.2s ease;
|
|
background-color: var(--interactive-normal);
|
|
border: 1px solid var(--background-modifier-border);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.streams-bar-day-nav:hover {
|
|
background-color: var(--interactive-hover);
|
|
color: var(--text-normal);
|
|
border-color: var(--text-accent);
|
|
}
|
|
|
|
.streams-bar-day-nav:active {
|
|
background-color: var(--interactive-accent-hover);
|
|
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;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
background-color: var(--interactive-normal);
|
|
border: 1px solid var(--background-modifier-border);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.streams-bar-today-button:hover {
|
|
background-color: var(--interactive-hover);
|
|
border-color: var(--text-accent);
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.streams-bar-change-stream {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 5px 12px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
color: var(--text-muted);
|
|
margin: 0;
|
|
background-color: var(--interactive-normal);
|
|
border: 1px solid var(--background-modifier-border);
|
|
font-weight: 500;
|
|
position: relative;
|
|
}
|
|
|
|
.streams-bar-change-stream:hover {
|
|
background-color: var(--interactive-hover);
|
|
color: var(--text-normal);
|
|
border-color: var(--text-accent);
|
|
}
|
|
|
|
.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: 28px;
|
|
border-radius: 4px;
|
|
background-color: var(--interactive-normal);
|
|
border: 1px solid var(--background-modifier-border);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.streams-bar-home-button:hover {
|
|
background-color: var(--interactive-hover);
|
|
color: var(--text-normal);
|
|
border-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: 28px;
|
|
border-radius: 4px;
|
|
background-color: var(--interactive-normal);
|
|
border: 1px solid var(--background-modifier-border);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.streams-bar-settings-button:hover {
|
|
background-color: var(--interactive-hover);
|
|
color: var(--text-normal);
|
|
border-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: 10000;
|
|
overflow: visible;
|
|
display: none;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
/*********************************************************
|
|
* 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: 1005;
|
|
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: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 10000;
|
|
font-size: 12px;
|
|
margin: 0 8px;
|
|
pointer-events: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
backdrop-filter: blur(12px);
|
|
background: linear-gradient(135deg, var(--background-primary) 0%, var(--background-secondary) 100%);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
border-radius: 0 0 12px 12px;
|
|
width: calc(100% - 16px);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.streams-markdown-view-content .streams-bar-component.modern-style {
|
|
position: absolute;
|
|
top: 10px;
|
|
}
|
|
|
|
/* Add proper spacing for content below the modern style bar */
|
|
.streams-markdown-view-content:has(.streams-bar-component.modern-style) {
|
|
padding-top: 60px; /* Adjust based on bar height */
|
|
}
|
|
|
|
/* Ensure the editor content has proper spacing */
|
|
.workspace-leaf-content:has(.streams-bar-component.modern-style) .view-content {
|
|
padding-top: 60px; /* Adjust based on bar height */
|
|
}
|
|
|
|
.is-phone .streams-bar-component.modern-style {
|
|
font-size: 11px;
|
|
padding: 6px 10px;
|
|
}
|
|
|
|
/*********************************************************
|
|
* 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: 1000;
|
|
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: 10000;
|
|
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);
|
|
}
|
|
|
|
/*********************************************************
|
|
* 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: 1005;
|
|
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 {
|
|
font-size: 11px;
|
|
padding: 4px 6px;
|
|
margin: 0 2px;
|
|
width: calc(100% - 4px);
|
|
}
|
|
|
|
/* Adjust spacing for mobile devices */
|
|
.is-mobile .streams-markdown-view-content:has(.streams-bar-component.modern-style) {
|
|
padding-top: 50px; /* Slightly less padding on mobile */
|
|
}
|
|
|
|
.is-mobile .workspace-leaf-content:has(.streams-bar-component.modern-style) .view-content {
|
|
padding-top: 50px; /* Slightly less padding on mobile */
|
|
}
|
|
|
|
.is-phone .streams-markdown-view-content:has(.streams-bar-component.modern-style) {
|
|
padding-top: 45px; /* Even less padding on phones */
|
|
}
|
|
|
|
.is-phone .workspace-leaf-content:has(.streams-bar-component.modern-style) .view-content {
|
|
padding-top: 45px; /* Even less padding on phones */
|
|
}
|
|
|
|
.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-encrypted-file-container {
|
|
background: var(--background-primary);
|
|
color: var(--text-normal);
|
|
font-family: var(--font-text);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.streams-encrypted-file-content {
|
|
background: var(--background-secondary);
|
|
border: 1px solid var(--background-modifier-border);
|
|
border-radius: 12px;
|
|
padding: 40px;
|
|
max-width: 500px;
|
|
width: 100%;
|
|
text-align: center;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
}
|
|
|
|
.streams-encrypted-file-icon {
|
|
font-size: 48px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.streams-encrypted-file-title {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
color: var(--text-normal);
|
|
margin-bottom: 16px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.streams-encrypted-file-description {
|
|
font-size: 16px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 32px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.streams-encrypted-file-stream-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
padding: 12px;
|
|
background: var(--background-primary);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.streams-encrypted-file-stream-icon {
|
|
font-size: 18px;
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.streams-encrypted-file-stream {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.streams-encrypted-file-date {
|
|
font-size: 1.4em;
|
|
font-weight: 500;
|
|
color: var(--text-normal);
|
|
margin-bottom: 12px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.streams-encrypted-file-path {
|
|
font-size: 14px;
|
|
color: var(--text-muted);
|
|
font-family: var(--font-monospace);
|
|
background: var(--background-primary);
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
margin-bottom: 32px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.streams-encrypted-file-button-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.streams-encrypted-file-button {
|
|
padding: 12px 24px;
|
|
border-radius: 8px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
text-align: center;
|
|
min-height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.streams-encrypted-file-button.mod-cta {
|
|
background: var(--interactive-accent);
|
|
color: var(--text-on-accent);
|
|
border: 1px solid var(--interactive-accent);
|
|
}
|
|
|
|
.streams-encrypted-file-button.mod-cta:hover {
|
|
background: var(--interactive-accent-hover);
|
|
border-color: var(--interactive-accent-hover);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.streams-encrypted-file-button.mod-cta:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.streams-encrypted-file-button:not(.mod-cta) {
|
|
background: var(--background-primary);
|
|
color: var(--text-normal);
|
|
border: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.streams-encrypted-file-button:not(.mod-cta):hover {
|
|
background: var(--interactive-hover);
|
|
border-color: var(--text-accent);
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.streams-encrypted-file-button:not(.mod-cta):active {
|
|
background: var(--interactive-normal);
|
|
}
|
|
|
|
/* Mobile responsiveness */
|
|
.is-phone .streams-encrypted-file-content {
|
|
padding: 24px;
|
|
margin: 10px;
|
|
}
|
|
|
|
.is-phone .streams-encrypted-file-button-container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.is-phone .streams-encrypted-file-button {
|
|
font-size: 14px;
|
|
padding: 10px 20px;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.is-phone .streams-encrypted-file-title {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.is-phone .streams-encrypted-file-description {
|
|
font-size: 14px;
|
|
}
|
|
|
|
/*********************************************************
|
|
* ENCRYPTED CREATE FILE VIEW STYLES
|
|
*********************************************************/
|
|
.workspace-leaf-content:has(.streams-encrypted-create-file-container) {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Prevent scrollbars on EncryptedCreateFileView */
|
|
.workspace-leaf-content:has(.streams-encrypted-create-file-container) .view-content {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.streams-encrypted-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-encrypted-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: 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-encrypted-create-file-icon {
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.streams-encrypted-create-file-icon svg {
|
|
width: 48px;
|
|
height: 48px;
|
|
color: var(--text-accent);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.streams-encrypted-create-file-stream-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
padding: 12px 16px;
|
|
background-color: var(--background-primary);
|
|
border-radius: 8px;
|
|
border: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.streams-encrypted-create-file-stream-icon {
|
|
margin-right: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.streams-encrypted-create-file-stream-icon svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.streams-encrypted-create-file-stream {
|
|
font-size: 1em;
|
|
font-weight: 600;
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.streams-encrypted-create-file-encryption-indicator {
|
|
font-size: 0.9em;
|
|
font-weight: 500;
|
|
color: var(--text-accent);
|
|
margin-bottom: 20px;
|
|
padding: 8px 16px;
|
|
background-color: var(--background-primary);
|
|
border: 1px solid var(--text-accent);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.streams-encrypted-create-file-encryption-indicator::before {
|
|
content: "🔒";
|
|
font-size: 16px;
|
|
}
|
|
|
|
.streams-encrypted-create-file-date {
|
|
font-size: 1.4em;
|
|
font-weight: 700;
|
|
color: var(--text-normal);
|
|
margin-bottom: 32px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.streams-encrypted-create-file-button-container {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.streams-encrypted-create-file-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-encrypted-create-file-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-encrypted-create-file-button:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.streams-encrypted-create-file-button svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
/* Mobile responsiveness for encrypted create file view */
|
|
.is-mobile .streams-encrypted-create-file-content {
|
|
width: 100%;
|
|
max-width: none;
|
|
padding: 36px 24px;
|
|
border-radius: 12px;
|
|
margin: 16px;
|
|
}
|
|
|
|
.is-mobile .streams-encrypted-create-file-container {
|
|
padding: 16px;
|
|
}
|
|
|
|
.is-phone .streams-encrypted-create-file-content {
|
|
padding: 32px 20px;
|
|
margin: 12px;
|
|
}
|
|
|
|
.is-phone .streams-encrypted-create-file-date {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.is-phone .streams-encrypted-create-file-encryption-indicator {
|
|
font-size: 0.85em;
|
|
padding: 6px 12px;
|
|
}
|
|
|
|
.is-phone .streams-encrypted-create-file-button {
|
|
padding: 10px 24px;
|
|
font-size: 0.95em;
|
|
} |