Download static/styles.css from triflix/coolone: direct link, hf CLI and curl.
- Browser
- Download file 5.08 kB
-
https://huggingface.co/spaces/triflix/coolone/resolve/main/static/styles.css
- Command line
-
hf download hf://spaces/triflix/coolone/static/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/triflix/coolone/resolve/main/static/styles.css
5.08 kB
| /* Global styles for both light and dark themes */ | |
| :root { | |
| --background-color-light: #f7f9fc; | |
| --text-color-light: #333; | |
| --panel-background-light: #ffffff; | |
| --button-background-light: #4a90e2; | |
| --button-hover-light: #357abd; | |
| --event-card-background-light: #f0f4fa; | |
| --event-card-border-left-light: #4a90e2; | |
| --modal-background-light: rgba(0, 0, 0, 0.4); | |
| --input-background-light: #ffffff; | |
| --input-border-light: #ccc; | |
| --input-text-light: #333; | |
| --background-color-dark: #181818; | |
| --text-color-dark: #e0e0e0; | |
| --panel-background-dark: #2e2e2e; | |
| --button-background-dark: #4a90e2; | |
| --button-hover-dark: #357abd; | |
| --event-card-background-dark: #252525; | |
| --event-card-border-left-dark: #4a90e2; | |
| --modal-background-dark: rgba(0, 0, 0, 0.6); | |
| --input-background-dark: #333; | |
| --input-border-dark: #444; | |
| --input-text-dark: #e0e0e0; | |
| } | |
| /* Default light theme */ | |
| body { | |
| margin: 0; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: var(--background-color-light); | |
| color: var(--text-color-light); | |
| } | |
| .container { | |
| display: flex; | |
| flex-wrap: wrap; | |
| padding: 30px; | |
| gap: 30px; | |
| max-width: 1200px; | |
| margin: auto; | |
| } | |
| .left-panel, | |
| .right-panel { | |
| flex: 1; | |
| min-width: 300px; | |
| background: var(--panel-background-light); | |
| border-radius: 16px; | |
| padding: 24px; | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); | |
| } | |
| h2, h3 { | |
| color: var(--text-color-light); | |
| margin-bottom: 16px; | |
| } | |
| input[type="text"], | |
| input[type="datetime-local"], | |
| button { | |
| width: 100%; | |
| margin: 8px 0 0 -12px; | |
| padding: 12px; | |
| border-radius: 10px; | |
| border: 1px solid var(--input-border-light); | |
| font-size: 1rem; | |
| background-color: var(--input-background-light); | |
| color: var(--input-text-light); | |
| } | |
| button { | |
| background-color: var(--button-background-light); | |
| color: white; | |
| border: none; | |
| cursor: pointer; | |
| margin-inline: 0px; | |
| transition: background 0.3s ease; | |
| } | |
| button:hover { | |
| background-color: var(--button-hover-light); | |
| } | |
| #event-list { | |
| margin-top: 20px; | |
| } | |
| .event-card { | |
| background: var(--event-card-background-light); | |
| border-left: 6px solid var(--event-card-border-left-light); | |
| border-radius: 12px; | |
| padding: 16px; | |
| margin-bottom: 16px; | |
| box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); | |
| } | |
| .event-card h3 { | |
| margin: 0 0 8px 0; | |
| font-size: 1.2em; | |
| } | |
| .event-card p { | |
| margin: 4px 0; | |
| } | |
| .edit-btn, .delete-btn { | |
| margin-top: 8px; | |
| margin-right: 8px; | |
| background-color: #e2e8f0; | |
| color: #333; | |
| padding: 8px 12px; | |
| border-radius: 8px; | |
| border: none; | |
| cursor: pointer; | |
| font-size: 0.9em; | |
| } | |
| .edit-btn:hover { | |
| background-color: #d0e2ff; | |
| } | |
| .delete-btn:hover { | |
| background-color: #ffe1e1; | |
| } | |
| .search-bar { | |
| display: flex; | |
| gap: 10px; | |
| margin-bottom: 20px; | |
| align-items: center; | |
| } | |
| .search-bar input[type="text"] { | |
| flex-grow: 1; | |
| min-width: 200px; | |
| padding: 12px; | |
| border-radius: 10px; | |
| border: 1px solid var(--input-border-light); | |
| font-size: 1rem; | |
| } | |
| /* Modal Styles */ | |
| .modal { | |
| display: none; | |
| position: fixed; | |
| z-index: 100; | |
| left: 0; top: 0; | |
| width: 100%; height: 100%; | |
| background-color: rgba(0, 0, 0, 0.4); | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .modal-content { | |
| background: var(--panel-background-light); | |
| padding: 30px; | |
| border-radius: 16px; | |
| width: 90%; | |
| max-width: 400px; | |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); | |
| animation: fadeIn 0.3s ease; | |
| } | |
| @keyframes fadeIn { | |
| from { transform: translateY(-20px); opacity: 0; } | |
| to { transform: translateY(0); opacity: 1; } | |
| } | |
| /* Reminder styles */ | |
| .reminders { | |
| margin-top: 40px; | |
| } | |
| .reminder-item { | |
| background: var(--event-card-background-light); | |
| padding: 10px; | |
| border-radius: 8px; | |
| margin-bottom: 10px; | |
| } | |
| /* Styling the toggle switch */ | |
| .switch { | |
| --false: #63a2ff; | |
| --true: #373737; | |
| position: fixed; | |
| top: 20px; | |
| right: 20px; | |
| z-index: 1000; | |
| } | |
| input[type=checkbox] { | |
| appearance: none; | |
| height: 2.1rem; | |
| width: 3.5rem; | |
| background-color: #fafafa; | |
| position: relative; | |
| border: 1px royalblue solid; | |
| border-radius: 1em; | |
| cursor: pointer; | |
| } | |
| input[type=checkbox]::before { | |
| content: ''; | |
| display: block; | |
| height: 1.9em; | |
| width: 1.9em; | |
| transform: translate(-50%, -50%); | |
| position: absolute; | |
| top: 50%; | |
| left: calc(1.9em / 2 + .3em); | |
| background-color: var(--false); | |
| border-radius: 1em; | |
| transition: .3s ease; | |
| } | |
| input[type=checkbox]:checked::before { | |
| background-color: var(--true); | |
| left: calc(100% - (1.9em / 2 + .3em)); | |
| } | |
| /* Dark Theme */ | |
| [data-theme="dark"] { | |
| --background-color-light: var(--background-color-dark); | |
| --text-color-light: var(--text-color-dark); | |
| --panel-background-light: var(--panel-background-dark); | |
| --button-background-light: var(--button-background-dark); | |
| --button-hover-light: var(--button-hover-dark); | |
| --event-card-background-light: var(--event-card-background-dark); | |
| --event-card-border-left-light: var(--event-card-border-left-dark); | |
| --modal-background-light: var(--modal-background-dark); | |
| --input-background-light: var(--input-background-dark); | |
| --input-border-light: var(--input-border-dark); | |
| --input-text-light: var(--input-text-dark); | |
| } | |