Files
SWE/TeacherDashboard/styles/main.css
Kelvi Yawo Jules Agbessi Awuklu 2369f7158d Update 13 files
- /TeacherDashboard/index.html
- /TeacherDashboard/TeacherDashboard.code-workspace
- /TeacherDashboard/components/resourceModal.html
- /TeacherDashboard/components/subjectModal.html
- /TeacherDashboard/components/topicModal.html
- /TeacherDashboard/js/main.js
- /TeacherDashboard/js/subjects/colors.js
- /TeacherDashboard/js/subjects/subjectManager.js
- /TeacherDashboard/js/subjects/SubjectModel.js
- /TeacherDashboard/js/subjects/SubjectStorage.js
- /TeacherDashboard/js/topics/TopicModel.js
- /TeacherDashboard/js/topics/topicManager.js
- /TeacherDashboard/styles/main.css
2025-01-03 13:29:27 +01:00

185 lines
3.5 KiB
CSS

:root {
--primary-color: #4f46e5;
--secondary-color: #3730a3;
--background-color: #f8fafc;
--text-color: #1e293b;
--accent-color: #818cf8;
}
.color-option {
width: 40px;
height: 40px;
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
border: 2px solid #e2e8f0;
}
.color-option:hover {
transform: scale(1.1);
}
.color-option.selected {
border: 2px solid var(--primary-color);
box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.3);
}
.modal {
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}
.modal:not(.hidden) {
opacity: 1;
visibility: visible;
}
.modal > div {
transform: translateY(0);
transition: transform 0.3s ease, opacity 0.3s ease;
}
.modal.hidden > div {
transform: translateY(-20px);
}
/* Action Cards */
.bg-white {
background-color: white;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bg-white:hover {
transform: translateY(-2px);
box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}
button {
transition: all 0.2s ease;
}
button:disabled {
opacity: 0.7;
cursor: not-allowed;
}
/* Sidebar Styles */
.sidebar {
background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}
.sidebar a {
display: flex;
align-items: center;
text-decoration: none;
}
.sidebar a:hover {
background-color: rgba(255, 255, 255, 0.1);
}
/* Form Styles */
input[type="text"],
textarea,
select {
width: 100%;
padding: 0.75rem;
border-radius: 0.5rem;
border: 1px solid #e2e8f0;
transition: all 0.2s ease;
}
input[type="text"]:focus,
textarea:focus,
select:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}
/* Icon Selector Styles */
.icon-option {
transition: all 0.2s ease;
color: var(--text-color);
}
.icon-option:hover {
transform: scale(1.05);
border-color: var(--primary-color);
color: var(--primary-color);
}
.icon-option.selected {
background-color: var(--primary-color);
color: white;
border-color: var(--primary-color);
}
/* Enhanced Quill content styling */
.quill-content {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
}
.quill-content h1 {
font-size: 2em;
font-weight: 700;
margin: 1em 0 0.5em;
color: #111;
line-height: 1.2;
}
.quill-content h2 {
font-size: 1.5em;
font-weight: 600;
margin: 1em 0 0.5em;
color: #222;
line-height: 1.3;
}
.quill-content p {
margin: 0 0 1em;
color: #333;
}
.quill-content ul, .quill-content ol {
margin: 0 0 1em 1.5em;
padding: 0;
}
.quill-content ul {
list-style-type: disc;
}
.quill-content ol {
list-style-type: decimal;
}
.quill-content pre {
background: #f8f9fa;
padding: 1em;
border-radius: 6px;
margin: 0 0 1em;
overflow-x: auto;
}
.quill-content blockquote {
border-left: 4px solid #e5e7eb;
padding: 0.5em 0 0.5em 1em;
margin: 0 0 1em;
color: #4b5563;
font-style: italic;
}
.quill-content code {
background: #f3f4f6;
padding: 0.2em 0.4em;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 0.9em;
color: #e11d48;
}
/* Rest of your CSS styles */