Spaces:
Running
Running
| /* Custom styles that can't be achieved with Tailwind */ | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| /* Form styles */ | |
| input, select { | |
| transition: all 0.2s; | |
| } | |
| input:focus, select:focus { | |
| outline: none; | |
| border-color: #3b82f6; | |
| box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); | |
| } | |
| /* Module and lesson styles */ | |
| .preview-module { | |
| transition: all 0.2s; | |
| } | |
| .preview-module:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); | |
| } | |
| .lesson-card { | |
| transition: all 0.2s; | |
| } | |
| .lesson-card:hover { | |
| background-color: #f8fafc; | |
| transform: translateX(2px); | |
| } | |
| .editable-title { | |
| border-bottom: 2px dotted #cbd5e1; | |
| padding-bottom: 2px; | |
| cursor: text; | |
| } | |
| .edit-lesson-btn, .delete-lesson-btn { | |
| transition: transform 0.1s; | |
| } | |
| .edit-lesson-btn:hover { | |
| transform: scale(1.1); | |
| color: #3b82f6 ; | |
| } | |
| .delete-lesson-btn:hover { | |
| transform: scale(1.1); | |
| color: #ef4444 ; | |
| } | |
| /* Button transitions */ | |
| button { | |
| transition: all 0.2s; | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 6px; | |
| height: 6px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #c1c1c1; | |
| border-radius: 3px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #a8a8a8; | |
| } | |