mirror of
https://github.com/bfloydd/streams.git
synced 2026-07-22 12:50:25 +00:00
597 lines
12 KiB
CSS
597 lines
12 KiB
CSS
/*********************************************************
|
|
* LAYOUT & CONTAINER STYLES
|
|
*********************************************************/
|
|
|
|
.streams-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 20px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.stream-card {
|
|
background-color: var(--background-secondary);
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.stream-card h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
border-bottom: none;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.stream-ribbon-icon {
|
|
opacity: 0.8;
|
|
transition: opacity 0.2s ease-in-out;
|
|
}
|
|
|
|
.stream-ribbon-icon:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
/*********************************************************
|
|
* SETTINGS UI STYLES
|
|
*********************************************************/
|
|
|
|
.setting-header {
|
|
margin: 20px 0 10px;
|
|
padding-bottom: 5px;
|
|
border-bottom: none;
|
|
font-size: 1em;
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.setting-indent {
|
|
margin-left: 20px;
|
|
border-left: 2px solid var(--background-modifier-border);
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.setting-double-indent {
|
|
margin-left: 40px;
|
|
border-left: 2px solid var(--background-modifier-border);
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.setting-item.no-border-top {
|
|
border-top: none !important;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
.stream-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;
|
|
}
|
|
|
|
.stream-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 WIDGET STYLES
|
|
*********************************************************/
|
|
|
|
.stream-calendar-top-nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid var(--background-modifier-border);
|
|
}
|
|
|
|
.stream-calendar-back {
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
color: var(--text-muted);
|
|
font-size: 16px;
|
|
}
|
|
|
|
.stream-calendar-name {
|
|
font-weight: 600;
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.stream-calendar-today-nav {
|
|
cursor: pointer;
|
|
padding: 4px 8px;
|
|
color: var(--text-accent);
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.stream-calendar-back:hover,
|
|
.stream-calendar-today-nav:hover {
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.stream-calendar-widget {
|
|
position: absolute;
|
|
top: 32px;
|
|
right: 100%;
|
|
z-index: 1000;
|
|
font-size: 12px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.streams-create-file-container .stream-calendar-widget {
|
|
position: fixed;
|
|
top: 80px;
|
|
right: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
.stream-calendar-collapsed {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: 8px 12px;
|
|
cursor: pointer;
|
|
transition: opacity 0.3s ease;
|
|
background-color: var(--background-primary);
|
|
border-radius: 6px;
|
|
box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
|
|
min-width: 80px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
user-select: none;
|
|
}
|
|
|
|
.stream-calendar-expanded {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: 16px;
|
|
min-width: 250px;
|
|
background-color: var(--background-primary);
|
|
border-radius: 6px;
|
|
box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
|
|
opacity: 0;
|
|
transform: scale(0.95);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.calendar-expanded {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
.stream-calendar-header {
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.calendar-day {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 32px;
|
|
min-width: 32px;
|
|
padding: 2px;
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
|
|
.calendar-day:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
}
|
|
|
|
.calendar-day:active {
|
|
background-color: var(--background-modifier-active);
|
|
}
|
|
|
|
.calendar-day.empty {
|
|
cursor: default;
|
|
min-height: 32px;
|
|
min-width: 32px;
|
|
}
|
|
|
|
.calendar-day.empty:hover,
|
|
.calendar-day.empty:active {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.stream-calendar-day-header {
|
|
padding: 6px;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.stream-calendar-nav-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.stream-calendar-day-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
color: var(--text-muted);
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.stream-calendar-day-nav:hover {
|
|
background-color: var(--background-modifier-hover);
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.stream-calendar-day-nav:active {
|
|
background-color: var(--background-modifier-active);
|
|
}
|
|
|
|
.stream-calendar-today-button {
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
.stream-calendar-grid {
|
|
display: grid !important;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 4px;
|
|
width: 100%;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.date-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
}
|
|
|
|
/*********************************************************
|
|
* 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: fade-in 0.3s ease-in-out;
|
|
}
|
|
|
|
@keyframes 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
|
|
*********************************************************/
|
|
|
|
.stream-view-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 12px 8px;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
background-color: var(--background-primary-alt);
|
|
}
|
|
|
|
.stream-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);
|
|
}
|
|
|
|
.stream-view-header h2 {
|
|
margin: 0;
|
|
font-size: 1.8em;
|
|
color: var(--text-normal);
|
|
}
|
|
|
|
.stream-view-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding: 0;
|
|
}
|
|
|
|
.stream-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);
|
|
}
|
|
|
|
.stream-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);
|
|
}
|
|
|
|
.stream-view-date-header:hover {
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.stream-view-date-header h3 {
|
|
margin: 0;
|
|
font-size: 1.5em;
|
|
font-weight: 600;
|
|
color: var(--text-accent);
|
|
}
|
|
|
|
.stream-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;
|
|
}
|
|
|
|
.stream-view-date-content img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
border-radius: 4px;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.stream-view-date-content .internal-embed {
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.stream-view-date-content .internal-embed.is-loaded {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.stream-view-scroll-trigger {
|
|
height: 50px;
|
|
width: 100%;
|
|
opacity: 0;
|
|
margin: 20px 0 100px 0;
|
|
}
|
|
|
|
.stream-view-end-marker {
|
|
margin-top: 20px;
|
|
margin-bottom: 100px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.stream-view-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 64px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.stream-view-create-button {
|
|
margin-top: 16px;
|
|
padding: 8px 16px;
|
|
background-color: var(--interactive-accent);
|
|
color: var(--text-on-accent);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
.stream-view-create-button:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.stream-view-create-today-button {
|
|
margin: 16px 0 32px;
|
|
padding: 8px 16px;
|
|
background-color: var(--interactive-accent);
|
|
color: var(--text-on-accent);
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
align-self: center;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.stream-view-create-today-button:hover {
|
|
opacity: 0.9;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.stream-view-create-today-button:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/*********************************************************
|
|
* 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 .stream-view-container {
|
|
padding: 8px 4px;
|
|
}
|
|
|
|
.is-mobile .stream-view-date-section {
|
|
padding: 10px 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.is-mobile .stream-view-header {
|
|
padding: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.is-mobile .stream-view-header h2 {
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.is-mobile .stream-view-date-content {
|
|
padding: 6px 12px;
|
|
}
|
|
|
|
.is-mobile .stream-view-date-content img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.is-phone .stream-view-container {
|
|
padding: 6px 2px;
|
|
}
|
|
|
|
.is-phone .stream-view-date-section {
|
|
padding: 8px 6px;
|
|
margin-bottom: 8px;
|
|
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.is-phone .stream-view-date-header h3 {
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
.is-phone .stream-view-date-content .internal-embed {
|
|
max-width: calc(100vw - 40px);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
/*********************************************************
|
|
* UTILITY STYLES
|
|
*********************************************************/
|
|
|
|
.is-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;
|
|
}
|