2025-01-29 19:59:16 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
This CSS file will be included with your plugin, and
|
|
|
|
|
available in the app when your plugin is enabled.
|
|
|
|
|
|
|
|
|
|
If your plugin does not need CSS, delete this file.
|
|
|
|
|
|
|
|
|
|
*/
|
2025-01-29 20:25:21 +00:00
|
|
|
|
|
|
|
|
.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: 1px solid var(--background-modifier-border);
|
|
|
|
|
padding-bottom: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stream-ribbon-icon {
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
transition: opacity 0.2s ease-in-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stream-ribbon-icon:hover {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
2025-02-03 23:18:11 +00:00
|
|
|
|
|
|
|
|
.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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Update existing calendar styles for better spacing */
|
|
|
|
|
.stream-calendar-widget {
|
2025-02-04 14:19:33 +00:00
|
|
|
position: absolute;
|
|
|
|
|
top: 32px;
|
|
|
|
|
right: 100%;
|
2025-02-03 23:18:11 +00:00
|
|
|
z-index: 1000;
|
|
|
|
|
font-size: 12px;
|
2025-02-04 14:19:33 +00:00
|
|
|
margin-right: 8px;
|
2025-02-03 23:18:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stream-calendar-collapsed {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: opacity 0.3s ease;
|
|
|
|
|
background-color: var(--background-primary);
|
2025-02-04 14:19:33 +00:00
|
|
|
border-radius: 6px;
|
2025-02-03 23:18:11 +00:00
|
|
|
box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.15);
|
|
|
|
|
min-width: 80px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
white-space: nowrap;
|
2025-02-04 14:21:49 +00:00
|
|
|
user-select: none;
|
2025-02-03 23:18:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stream-calendar-expanded {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
min-width: 250px;
|
|
|
|
|
background-color: var(--background-primary);
|
2025-02-04 14:19:33 +00:00
|
|
|
border-radius: 6px;
|
2025-02-03 23:18:11 +00:00
|
|
|
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 {
|
|
|
|
|
padding: 6px;
|
|
|
|
|
font-size: 12px;
|
2025-02-04 14:23:28 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
touch-action: manipulation; /* Disable double-tap zoom */
|
|
|
|
|
-webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
|
|
|
|
|
min-height: 32px; /* Ensure touch target is large enough */
|
|
|
|
|
min-width: 32px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.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;
|
2025-02-03 23:18:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calendar-day-header {
|
|
|
|
|
padding: 6px;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stream-calendar-today-button {
|
|
|
|
|
white-space: nowrap;
|
2025-02-04 14:21:49 +00:00
|
|
|
pointer-events: none;
|
2025-02-03 23:18:11 +00:00
|
|
|
}
|
2025-04-28 16:25:57 +00:00
|
|
|
|
|
|
|
|
.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;
|
|
|
|
|
}
|