bfloydd_streams/styles.css
2025-08-18 18:04:39 -06:00

1231 lines
27 KiB
CSS

/*********************************************************
* ALL STREAMS VIEW STYLES
*********************************************************/
.streams-all-streams-container {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}
.streams-all-streams-header {
text-align: center;
margin-bottom: 40px;
}
.streams-all-streams-header h1 {
font-size: 2.5em;
margin-bottom: 10px;
color: var(--text-normal);
}
.streams-all-streams-subtitle {
font-size: 1.2em;
color: var(--text-muted);
margin: 0;
}
.streams-all-streams-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 24px;
margin-bottom: 40px;
}
.streams-all-streams-card {
background: var(--background-secondary);
border-radius: 12px;
padding: 24px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border: 1px solid var(--background-modifier-border);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.streams-all-streams-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
border-color: var(--text-accent);
}
.streams-all-streams-card-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 20px;
padding-bottom: 16px;
border-bottom: 1px solid var(--background-modifier-border);
}
.streams-all-streams-card-icon {
width: 48px;
height: 48px;
background: var(--background-primary);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-accent);
border: 2px solid var(--background-modifier-border);
}
.streams-all-streams-card-icon-text {
font-size: 20px;
font-weight: bold;
color: var(--text-accent);
}
.streams-all-streams-card-title {
margin: 0;
font-size: 1.4em;
font-weight: 600;
color: var(--text-normal);
flex: 1;
}
.streams-all-streams-card-content {
margin-bottom: 24px;
}
.streams-all-streams-card-folder {
margin-bottom: 20px;
padding: 12px;
background: var(--background-primary);
border-radius: 8px;
border: 1px solid var(--background-modifier-border);
font-family: var(--font-monospace);
font-size: 0.9em;
}
.streams-all-streams-card-folder code {
background: var(--background-secondary);
padding: 2px 6px;
border-radius: 4px;
color: var(--text-accent);
}
.streams-all-streams-card-stats {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.streams-all-streams-stat {
display: flex;
flex-direction: column;
gap: 4px;
}
.streams-all-streams-stat-label {
font-size: 0.85em;
color: var(--text-muted);
font-weight: 500;
}
.streams-all-streams-stat-value {
font-size: 1.2em;
font-weight: 600;
color: var(--text-normal);
}
.streams-all-streams-card-actions {
display: flex;
gap: 12px;
}
.streams-all-streams-card-btn {
flex: 1;
padding: 10px 16px;
border: none;
border-radius: 8px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
font-size: 0.9em;
}
.streams-all-streams-card-btn-primary {
background: var(--text-accent);
color: var(--text-on-accent);
}
.streams-all-streams-card-btn-primary:hover {
background: var(--text-accent-hover);
transform: translateY(-1px);
}
.streams-all-streams-card-btn-secondary {
background: var(--background-primary);
color: var(--text-normal);
border: 1px solid var(--background-modifier-border);
}
.streams-all-streams-card-btn-secondary:hover {
background: var(--background-secondary);
border-color: var(--text-accent);
}
.streams-all-streams-empty {
text-align: center;
padding: 60px 20px;
color: var(--text-muted);
}
.streams-all-streams-empty-icon {
font-size: 4em;
margin-bottom: 20px;
opacity: 0.5;
}
.streams-all-streams-empty h3 {
margin-bottom: 16px;
color: var(--text-normal);
}
.streams-all-streams-empty p {
font-size: 1.1em;
line-height: 1.6;
max-width: 400px;
margin: 0 auto;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.streams-all-streams-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.streams-all-streams-card {
padding: 20px;
}
.streams-all-streams-card-stats {
grid-template-columns: 1fr;
gap: 12px;
}
.streams-all-streams-card-actions {
flex-direction: column;
}
}
/*********************************************************
* 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-ribbon-icon {
opacity: 0.8;
transition: opacity 0.2s ease-in-out;
}
.streams-ribbon-icon:hover {
opacity: 1;
}
/* Icon display states */
.streams-icon-visible {
display: flex;
}
.streams-icon-hidden {
display: none;
}
/*********************************************************
* SETTINGS UI STYLES
*********************************************************/
.streams-setting-header {
margin: 20px 0 10px;
padding-bottom: 5px;
border-bottom: none;
font-size: 1em;
color: var(--text-normal);
}
.streams-setting-indent {
margin-left: 20px;
border-left: 2px solid var(--background-modifier-border);
padding-left: 10px;
}
.streams-setting-double-indent {
margin-left: 40px;
border-left: 2px solid var(--background-modifier-border);
padding-left: 10px;
}
.streams-setting-item.no-border-top {
border-top: none !important;
margin-top: -10px;
}
.streams-folder-valid {
border-color: var(--text-success) !important;
background-color: rgba(0, 200, 0, 0.05) !important;
transition: background-color 0.3s ease, border-color 0.3s ease;
}
.streams-folder-invalid {
border-color: var(--text-error) !important;
background-color: rgba(200, 0, 0, 0.05) !important;
transition: background-color 0.3s ease, border-color 0.3s ease;
}
/*********************************************************
* CALENDAR COMPONENT STYLES
*********************************************************/
.streams-calendar-top-nav,
.streams-calendar-header {
width: 100%;
box-sizing: border-box;
justify-content: space-between;
display: flex;
align-items: center;
}
.streams-calendar-back {
cursor: pointer;
padding: 4px 8px;
color: var(--text-muted);
font-size: 16px;
}
.streams-calendar-name {
font-weight: 600;
color: var(--text-normal);
}
.streams-calendar-today-nav {
cursor: pointer;
padding: 4px 8px;
color: var(--text-accent);
font-weight: 600;
font-size: 12px;
}
.streams-calendar-back:hover,
.streams-calendar-today-nav:hover {
color: var(--text-normal);
}
.streams-calendar-component {
position: absolute;
top: -18px;
right: 16px;
z-index: 1000;
font-size: 12px;
margin-right: 0;
pointer-events: none;
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}
/* For calendar component on markdown views */
.streams-markdown-view-content {
position: relative;
}
/* For CalendarComponent.ts positions that were previously inline */
.streams-calendar-component-fixed {
position: absolute;
z-index: 1000;
top: 5px;
right: 16px;
}
/* Mobile-specific positioning for the calendar component */
.is-mobile .streams-calendar-component {
position: absolute;
top: 5px;
right: 16px;
z-index: 1000;
font-size: 12px;
margin-right: 0;
pointer-events: none;
}
.is-phone .streams-calendar-component {
font-size: 11px;
}
/* Positioning for create file view - applies to both desktop and mobile */
.streams-create-file-container .streams-calendar-component {
position: absolute;
top: 5px;
right: 16px;
margin-right: 0;
z-index: 1000;
}
/* Ensure consistent positioning for create file view on mobile */
.is-mobile .streams-create-file-container .streams-calendar-component {
position: absolute;
top: 5px;
right: 16px;
margin-right: 0;
z-index: 1000;
}
/* Mobile-specific toggle button adjustments */
.is-mobile .streams-calendar-toggle-button {
width: 20px; /* Slightly smaller on mobile */
height: 48px; /* Proportional to mobile size */
right: -16px; /* Adjusted for mobile to ensure full visibility */
}
.is-phone .streams-calendar-toggle-button {
width: 18px; /* Even smaller on phones */
height: 44px; /* Proportional to phone size */
right: -14px; /* Adjusted for phones to ensure full visibility */
}
.is-mobile .streams-calendar-toggle-button svg {
width: 14px; /* Smaller icon on mobile */
height: 14px;
}
.is-phone .streams-calendar-toggle-button svg {
width: 12px; /* Even smaller icon on phones */
height: 12px;
}
.streams-calendar-collapsed {
position: absolute;
top: 0;
right: 0;
padding: 4px 0 0 0;
cursor: pointer;
transition: box-shadow 0.2s ease, width 0.3s ease, opacity 0.3s ease;
background-color: var(--background-secondary);
border-radius: 6px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
min-width: 120px;
width: 120px;
text-align: center;
white-space: nowrap;
user-select: none;
z-index: 1000;
pointer-events: auto;
border: 1px solid rgba(0, 0, 0, 0.05);
}
.streams-calendar-collapsed:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
/* Calendar label */
.streams-calendar-label {
font-size: 0.7em;
color: var(--text-muted);
margin-bottom: 2px;
}
.streams-calendar-nav-controls {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 2px;
background-color: var(--background-primary-alt);
border-radius: 4px;
padding: 2px 2px;
border: none;
}
.streams-calendar-change-stream {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
padding: 4px 8px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s ease;
color: var(--text-muted);
margin-top: 4px;
}
.streams-calendar-change-stream:hover {
background-color: var(--interactive-hover);
color: var(--text-normal);
}
.streams-calendar-change-stream-icon {
display: flex;
align-items: center;
}
.streams-calendar-change-stream-icon svg {
width: 16px;
height: 16px;
color: var(--text-muted);
}
.streams-calendar-change-stream-text {
font-size: 0.7em;
font-weight: 500;
}
/* Streams dropdown styles */
.streams-calendar-streams-dropdown {
position: absolute;
top: calc(100% + 8px);
left: 0;
right: 0;
background-color: var(--background-secondary);
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
z-index: 1006;
border: 1px solid var(--background-modifier-border);
overflow: hidden;
}
.streams-calendar-stream-item {
display: flex;
align-items: center;
padding: 8px 12px;
cursor: pointer;
transition: background-color 0.2s ease;
border-bottom: 1px solid var(--background-modifier-border);
}
.streams-calendar-stream-item:last-child {
border-bottom: none;
}
.streams-calendar-stream-item:hover {
background-color: var(--interactive-hover);
}
.streams-calendar-stream-item-icon {
display: flex;
align-items: center;
margin-right: 8px;
}
.streams-calendar-stream-item-icon svg {
width: 16px;
height: 16px;
color: var(--text-muted);
}
.streams-calendar-stream-item-name {
font-size: 0.9em;
color: var(--text-normal);
font-weight: 500;
}
.streams-calendar-stream-item-selected {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
}
.streams-calendar-stream-item-selected .streams-calendar-stream-item-name {
color: var(--text-on-accent);
}
.streams-calendar-stream-item-selected .streams-calendar-stream-item-icon svg {
color: var(--text-on-accent);
}
.streams-calendar-stream-item-checkmark {
display: flex;
align-items: center;
margin-left: auto;
}
.streams-calendar-stream-item-checkmark svg {
width: 14px;
height: 14px;
color: var(--text-on-accent);
}
.streams-calendar-expanded {
position: relative;
top: 0;
right: 0;
padding: 16px;
width: 280px;
background-color: var(--background-secondary);
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
opacity: 0;
transition: all 0.3s ease;
z-index: 1005;
pointer-events: none;
display: flex;
flex-direction: column;
align-items: center;
transform-origin: top center;
}
.streams-calendar-expanded-active {
opacity: 1;
pointer-events: auto;
}
.streams-calendar-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-calendar-nav:hover {
color: var(--text-on-accent);
background-color: var(--interactive-accent);
border-radius: 4px;
transform: scale(1.05);
}
.streams-calendar-nav:active {
transform: scale(0.95);
background-color: var(--interactive-accent-hover);
}
.streams-calendar-date {
font-weight: 600;
text-align: center;
flex: 1;
margin: 0 12px;
}
.streams-calendar-day {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
border: none;
padding: 4px;
border-radius: 4px;
transition: background-color 0.2s ease, transform 0.1s ease;
min-width: 32px; /* Fixed width for day cells */
min-height: 32px; /* Fixed height for day cells */
width: 32px;
height: 32px;
justify-content: center;
}
.streams-calendar-day:hover {
background-color: var(--interactive-hover);
transform: scale(1.05);
border-color: var(--background-modifier-border);
}
.streams-calendar-day:active {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
transform: scale(0.95);
}
.streams-calendar-day.empty {
cursor: default;
min-height: 32px;
min-width: 32px;
}
.streams-calendar-day.empty:hover,
.streams-calendar-day.empty:active {
background-color: transparent;
}
.streams-calendar-day-header {
padding: 6px;
color: var(--text-muted);
font-size: 12px;
text-align: center;
width: 32px; /* Fixed width for headers */
}
.streams-calendar-day-nav {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 28px;
border-radius: 4px;
cursor: pointer;
color: var(--text-normal);
transition: background-color 0.2s ease, transform 0.1s ease;
background-color: var(--background-primary);
border: none;
font-size: 16px;
}
.streams-calendar-day-nav:hover {
background-color: var(--interactive-accent);
color: var(--text-on-accent);
transform: scale(1.05);
}
.streams-calendar-day-nav:active {
background-color: var(--interactive-accent-hover);
transform: scale(0.95);
}
.streams-calendar-today-button {
white-space: nowrap;
pointer-events: none;
flex: 1;
text-align: center;
font-weight: 600;
color: var(--text-accent);
margin: 0 8px;
font-size: 0.8em;
}
.streams-calendar-grid {
display: grid !important;
grid-template-columns: repeat(7, 32px);
gap: 4px;
width: 264px;
padding: 8px;
box-sizing: border-box;
background-color: var(--background-primary);
border-radius: 6px;
margin: 0;
}
.streams-date-container {
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
line-height: 1;
width: 100%;
height: 100%;
}
.streams-calendar-day {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
border: none;
padding: 4px;
border-radius: 4px;
}
.streams-calendar-day.viewed {
border-color: var(--text-accent);
background-color: var(--background-primary-alt);
box-shadow: none;
}
.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-calendar-day:hover .streams-content-dot {
background-color: var(--text-normal);
}
.streams-calendar-day.today {
color: var(--text-accent);
font-weight: 600;
background-color: var(--background-primary-alt);
border: 1px solid var(--text-accent);
box-shadow: none;
}
.streams-calendar-day.today .streams-content-dot {
background-color: var(--text-accent);
}
/* Removed old calendar label styles */
.streams-today-icon-border {
border-left: 2px solid var(--text-accent);
}
/* Each border color gets its own class */
.streams-today-icon-border[data-border-color="var(--text-accent)"] {
border-left: 2px solid var(--text-accent);
}
.streams-today-icon-border[data-border-color="var(--text-normal)"] {
border-left: 2px solid var(--text-normal);
}
.streams-today-icon-border[data-border-color="var(--text-muted)"] {
border-left: 2px solid var(--text-muted);
}
.streams-today-icon-border[data-border-color="var(--text-success)"] {
border-left: 2px solid var(--text-success);
}
.streams-today-icon-border[data-border-color="var(--text-error)"] {
border-left: 2px solid var(--text-error);
}
/* For custom colors that don't use CSS variables */
.streams-view-icon-border {
border-left: 2px solid var(--text-success);
}
.streams-view-icon-border[data-border-color="var(--text-accent)"] {
border-left: 2px solid var(--text-accent);
}
.streams-view-icon-border[data-border-color="var(--text-normal)"] {
border-left: 2px solid var(--text-normal);
}
.streams-view-icon-border[data-border-color="var(--text-muted)"] {
border-left: 2px solid var(--text-muted);
}
.streams-view-icon-border[data-border-color="var(--text-success)"] {
border-left: 2px solid var(--text-success);
}
.streams-view-icon-border[data-border-color="var(--text-error)"] {
border-left: 2px solid var(--text-error);
}
.streams-today-button-expanded {
opacity: 0;
}
/* Toggle button for compact view */
.streams-calendar-toggle-button {
position: absolute;
top: 6px; /* Match the collapsed view's top padding */
right: -15px; /* Position to the right of the collapsed view, ensuring full visibility */
width: 15px;
height: 52px; /* Reduced height to better match the widget */
background-color: var(--background-secondary);
border: 1px solid rgba(0, 0, 0, 0.05);
border-left: none;
border-radius: 0 6px 6px 0;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.2s ease, transform 0.1s ease, right 0.3s ease, border-radius 0.3s ease;
z-index: 1001;
pointer-events: auto;
}
.streams-calendar-toggle-button:hover {
background-color: var(--interactive-hover);
transform: scale(1.02);
}
.streams-calendar-toggle-button:active {
transform: scale(0.98);
background-color: var(--interactive-accent);
}
.streams-calendar-toggle-button svg {
width: 16px;
height: 16px;
color: var(--text-muted);
}
.streams-calendar-toggle-button:hover svg {
color: var(--text-normal);
}
/* Compact view styles */
.streams-calendar-compact .streams-calendar-collapsed {
width: 0; /* Hide the collapsed view completely */
min-width: 0;
padding: 0;
overflow: hidden;
opacity: 0;
pointer-events: none;
}
.streams-calendar-compact .streams-calendar-nav-controls {
display: none; /* Hide navigation controls */
}
.streams-calendar-compact .streams-calendar-change-stream {
display: none; /* Hide stream change section */
}
.streams-calendar-compact .streams-calendar-streams-dropdown {
display: none; /* Hide streams dropdown */
}
/* Adjust toggle button position for compact view */
.streams-calendar-compact .streams-calendar-toggle-button {
right: -2px; /* Position tighter to the right edge */
width:24px; /* Make it narrower */
height: 40px; /* Make it shorter */
border-radius: 6px; /* Full border radius since no left border */
border: 1px solid rgba(0, 0, 0, 0.05); /* Full border */
}
/* Mobile-specific compact view adjustments */
.is-mobile .streams-calendar-compact .streams-calendar-collapsed {
width: 0; /* Hide completely on mobile too */
min-width: 0;
}
.is-phone .streams-calendar-compact .streams-calendar-collapsed {
width: 0; /* Hide completely on phones too */
min-width: 0;
}
.is-mobile .streams-calendar-compact .streams-calendar-toggle-button {
right: -2px; /* Position tighter to the right edge */
width: 20px; /* Even smaller on mobile */
height: 36px; /* Proportional to mobile size */
}
.is-phone .streams-calendar-compact .streams-calendar-toggle-button {
right: -2px; /* Position tighter to the right edge */
width: 18px; /* Even smaller on phones */
height: 32px; /* Proportional to phone size */
}
/*********************************************************
* CREATE FILE VIEW STYLES
*********************************************************/
.streams-create-file-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
padding: 20px;
background-color: var(--background-primary);
}
.streams-create-file-content {
display: flex;
flex-direction: column;
align-items: center;
max-width: 500px;
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;
}
@keyframes streams-fade-in {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.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: 1.1em;
font-weight: 600;
color: var(--text-muted);
}
.streams-create-file-date {
font-size: 2em;
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;
}
.streams-create-file-button-container {
margin-top: 16px;
}
.streams-create-file-button {
padding: 10px 24px;
font-size: 1.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;
}
/*********************************************************
* STREAM VIEW STYLES
*********************************************************/
.streams-view-container {
display: flex;
flex-direction: column;
padding: 12px 8px;
height: 100%;
overflow-y: auto;
background-color: var(--background-primary-alt);
}
.streams-view-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 12px;
margin-bottom: 16px;
border-radius: 6px;
background-color: var(--background-secondary);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.streams-view-header h2 {
margin: 0;
font-size: 1.8em;
color: var(--text-normal);
}
.streams-view-content {
display: flex;
flex-direction: column;
gap: 16px;
padding: 0;
}
.streams-view-date-section {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px 10px;
margin-bottom: 16px;
border-radius: 6px;
background-color: var(--background-secondary);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.streams-view-date-header {
cursor: pointer;
padding: 4px 0 8px;
margin-bottom: 8px;
transition: color 0.2s ease;
border-bottom: 1px solid var(--background-modifier-border);
}
.streams-view-date-header:hover {
color: var(--text-accent);
}
.streams-view-date-header h3 {
margin: 0;
font-size: 1.5em;
font-weight: 600;
color: var(--text-accent);
}
.streams-view-date-content {
padding: 4px 8px;
border-left: 3px solid var(--background-modifier-border);
background-color: var(--background-primary);
border-radius: 0 4px 4px 0;
}
.streams-view-date-content img {
max-width: 100%;
height: auto;
border-radius: 4px;
margin: 8px 0;
}
.streams-view-date-content .internal-embed {
margin: 12px 0;
}
.streams-view-date-content .internal-embed.is-loaded {
display: block;
max-width: 100%;
}
.streams-view-scroll-trigger {
height: 50px;
width: 100%;
opacity: 0;
margin: 20px 0 100px 0;
position: relative;
}
.streams-view-end-marker {
margin-top: 20px;
margin-bottom: 100px;
text-align: center;
color: var(--text-muted);
font-size: 0;
opacity: 0;
height: 1px;
}
.streams-view-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 64px 0;
text-align: center;
}
/*********************************************************
* RESPONSIVE STYLES
*********************************************************/
.is-mobile .streams-create-file-content {
width: 100%;
max-width: none;
padding: 30px 20px;
border-radius: 8px;
}
.is-phone .streams-create-file-date {
font-size: 1.5em;
}
.is-mobile .streams-view-container {
padding: 8px 4px;
}
.is-mobile .streams-view-date-section {
padding: 10px 8px;
margin-bottom: 12px;
}
.is-mobile .streams-view-header {
padding: 8px;
margin-bottom: 12px;
}
.is-mobile .streams-view-header h2 {
font-size: 1.5em;
}
.is-mobile .streams-view-date-content {
padding: 6px 12px;
}
.is-mobile .streams-view-date-content img {
max-width: 100%;
height: auto;
}
.is-phone .streams-view-container {
padding: 6px 2px;
}
.is-phone .streams-view-date-section {
padding: 8px 6px;
margin-bottom: 8px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.is-phone .streams-view-date-header h3 {
font-size: 1.3em;
}
.is-phone .streams-view-date-content .internal-embed {
max-width: calc(100vw - 40px);
overflow-x: auto;
}
/*********************************************************
* UTILITY STYLES
*********************************************************/
.streams-plugin-hidden.side-dock-ribbon-action {
display: none !important;
margin: 0 !important;
padding: 0 !important;
height: 0 !important;
width: 0 !important;
opacity: 0 !important;
pointer-events: none !important;
position: absolute !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
}