Removed incorrect border-radius override in focus-visible state to allow buttons to maintain their rounded corners.
280 lines
5.8 KiB
CSS
280 lines
5.8 KiB
CSS
.christmas-sidebar {
|
|
padding: 12px;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
color: #e0e0e0;
|
|
font-size: 13px;
|
|
min-width: 200px;
|
|
background: linear-gradient(180deg,
|
|
rgba(30, 60, 40, 0.4) 0%,
|
|
rgba(60, 30, 40, 0.3) 50%,
|
|
rgba(30, 40, 60, 0.4) 100%);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.christmas-sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid rgba(255, 100, 100, 0.3);
|
|
}
|
|
|
|
.christmas-sidebar-header h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
background: linear-gradient(135deg, #ff4444, #ff6b6b, #44ff44, #66ff66);
|
|
background-size: 200% 200%;
|
|
animation: christmas-shimmer 3s ease infinite;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
@keyframes christmas-shimmer {
|
|
|
|
0%,
|
|
100% {
|
|
background-position: 0% 50%;
|
|
}
|
|
|
|
50% {
|
|
background-position: 100% 50%;
|
|
}
|
|
}
|
|
|
|
.christmas-sidebar-section {
|
|
margin-bottom: 16px;
|
|
background: linear-gradient(135deg,
|
|
rgba(139, 69, 69, 0.15) 0%,
|
|
rgba(34, 139, 34, 0.1) 100%);
|
|
border-radius: 8px;
|
|
padding: 12px;
|
|
border: 1px solid rgba(255, 100, 100, 0.15);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.christmas-sidebar-section-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin-bottom: 12px;
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.christmas-setting-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 8px 0;
|
|
gap: 8px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.christmas-setting-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.christmas-setting-label {
|
|
font-size: 12px;
|
|
color: #ccc;
|
|
flex: 1 1 auto;
|
|
min-width: 80px;
|
|
}
|
|
|
|
.christmas-toggle {
|
|
position: relative;
|
|
width: 40px;
|
|
height: 22px;
|
|
min-width: 40px;
|
|
background: #333;
|
|
border-radius: 11px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
border: 1px solid #555;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.christmas-toggle.active {
|
|
background: linear-gradient(135deg, #228B22, #32CD32);
|
|
border-color: #32CD32;
|
|
box-shadow: 0 0 8px rgba(50, 205, 50, 0.5);
|
|
}
|
|
|
|
.christmas-toggle:focus-visible {
|
|
outline: 2px solid #fff;
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.christmas-toggle::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 18px;
|
|
height: 18px;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
top: 1px;
|
|
left: 1px;
|
|
transition: transform 0.2s;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.christmas-toggle.active::after {
|
|
transform: translateX(18px);
|
|
}
|
|
|
|
.christmas-select {
|
|
background: rgba(42, 42, 42, 0.9);
|
|
color: #e0e0e0;
|
|
border: 1px solid rgba(139, 69, 69, 0.4);
|
|
border-radius: 6px;
|
|
padding: 6px 8px;
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
min-width: 100px;
|
|
max-width: 100%;
|
|
flex: 1 1 100px;
|
|
}
|
|
|
|
.christmas-select:hover {
|
|
border-color: rgba(50, 205, 50, 0.5);
|
|
}
|
|
|
|
.christmas-select:focus {
|
|
outline: none;
|
|
border-color: #32CD32;
|
|
box-shadow: 0 0 4px rgba(50, 205, 50, 0.3);
|
|
}
|
|
|
|
.christmas-slider-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
gap: 4px;
|
|
}
|
|
|
|
.christmas-slider-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.christmas-slider-container {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.christmas-slider {
|
|
flex: 1;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, #8B4545, #228B22);
|
|
border-radius: 2px;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.christmas-slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
width: 14px;
|
|
height: 14px;
|
|
background: linear-gradient(135deg, #ff4444, #cc0000);
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
box-shadow: 0 0 6px rgba(255, 68, 68, 0.5);
|
|
}
|
|
|
|
.christmas-slider::-moz-range-thumb {
|
|
width: 14px;
|
|
height: 14px;
|
|
background: linear-gradient(135deg, #ff4444, #cc0000);
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
border: none;
|
|
box-shadow: 0 0 6px rgba(255, 68, 68, 0.5);
|
|
}
|
|
|
|
.christmas-slider-value {
|
|
font-size: 11px;
|
|
color: #66ff66;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.christmas-footer {
|
|
margin-top: 16px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid rgba(255, 100, 100, 0.2);
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.christmas-footer a {
|
|
color: #ff6b6b;
|
|
text-decoration: none;
|
|
font-size: 11px;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.christmas-footer a:hover {
|
|
color: #66ff66;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.christmas-reset-btn {
|
|
background: transparent;
|
|
border: 1px solid rgba(255, 100, 100, 0.3);
|
|
color: #aaa;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
padding: 4px 12px;
|
|
font-size: 11px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.christmas-reset-btn:hover {
|
|
color: #fff;
|
|
border-color: #ff6b6b;
|
|
background: rgba(255, 100, 100, 0.1);
|
|
}
|
|
|
|
.christmas-upload-btn {
|
|
background: #444;
|
|
border: 1px solid #666;
|
|
color: #fff;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
padding: 2px 6px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.christmas-upload-btn:hover {
|
|
background: #555;
|
|
border-color: #888;
|
|
}
|
|
/* Accessibility Focus States */
|
|
.christmas-reset-btn:focus-visible,
|
|
.christmas-upload-btn:focus-visible,
|
|
.christmas-footer a:focus-visible {
|
|
outline: 2px solid #32CD32;
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 4px rgba(50, 205, 50, 0.5);
|
|
}
|
|
|
|
.christmas-slider:focus-visible {
|
|
outline: 2px solid #32CD32;
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 4px rgba(50, 205, 50, 0.5);
|
|
}
|