1449 lines
23 KiB
CSS
1449 lines
23 KiB
CSS
:root {
|
|
--primary: #2563eb;
|
|
--primary-hover: #1d4ed8;
|
|
--text-main: #1e293b;
|
|
--text-muted: #64748b;
|
|
--text-light: #94a3b8;
|
|
--bg-page: #f8fafc;
|
|
--bg-card: #ffffff;
|
|
--border: #e2e8f0;
|
|
|
|
--success: #16a34a;
|
|
--warning: #d97706;
|
|
--urgent: #ea580c;
|
|
--danger: #dc2626;
|
|
|
|
--radius: 6px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
background-color: var(--bg-page);
|
|
color: var(--text-main);
|
|
line-height: 1.45;
|
|
font-size: 14px;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
code {
|
|
font-family: Menlo, Monaco, Consolas, monospace;
|
|
font-size: 0.9em;
|
|
background: #f1f5f9;
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* ---------------- Header ---------------- */
|
|
.app-header {
|
|
background: var(--bg-card);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.header-container {
|
|
max-width: 1080px;
|
|
margin: 0 auto;
|
|
padding: 10px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.brand-link {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.brand-name {
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.user-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.user-id {
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ---------------- Main Layout ---------------- */
|
|
.main-content {
|
|
flex: 1;
|
|
max-width: 1080px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding: 18px 16px;
|
|
}
|
|
|
|
/* ---------------- Buttons ---------------- */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px 14px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
border-radius: var(--radius);
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover:not(:disabled) {
|
|
background-color: var(--primary-hover);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: white;
|
|
border-color: var(--border);
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.btn-secondary:hover:not(:disabled) {
|
|
background-color: #f1f5f9;
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
border-color: var(--border);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
background: #f1f5f9;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 5px 10px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.btn-block {
|
|
width: 100%;
|
|
}
|
|
|
|
/* ---------------- Login ---------------- */
|
|
.auth-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-top: 60px;
|
|
}
|
|
|
|
.auth-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 28px 24px;
|
|
max-width: 360px;
|
|
width: 100%;
|
|
}
|
|
|
|
.auth-title {
|
|
font-size: 1.3rem;
|
|
font-weight: 700;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.auth-subtitle {
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.auth-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
}
|
|
|
|
.form-label {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.form-control {
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
font-size: 0.9rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: white;
|
|
}
|
|
|
|
.form-control:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.form-row-between {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.checkbox-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.form-actions {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* ---------------- Alerts ---------------- */
|
|
.alert {
|
|
padding: 8px 12px;
|
|
border-radius: var(--radius);
|
|
font-size: 0.85rem;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.alert-danger {
|
|
background: #fef2f2;
|
|
color: #991b1b;
|
|
border: 1px solid #fecaca;
|
|
}
|
|
|
|
.alert-info {
|
|
background: #eff6ff;
|
|
color: #1e40af;
|
|
border: 1px solid #bfdbfe;
|
|
}
|
|
|
|
/* ---------------- Dashboard Top Bar ---------------- */
|
|
.dashboard-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.dashboard-title {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.dashboard-subtitle {
|
|
font-size: 0.85rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.dot-separator {
|
|
margin: 0 4px;
|
|
}
|
|
|
|
.sync-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* ---------------- Stats Grid ---------------- */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 10px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.stat-highlight {
|
|
border-left: 3px solid var(--warning);
|
|
}
|
|
|
|
.stat-label {
|
|
color: var(--text-muted);
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.45rem;
|
|
font-weight: 700;
|
|
margin: 4px 0 2px;
|
|
}
|
|
|
|
.stat-subtext {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.progress-bar-container {
|
|
background: #e2e8f0;
|
|
height: 4px;
|
|
border-radius: 9999px;
|
|
overflow: hidden;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.progress-bar-fill {
|
|
background: var(--success);
|
|
height: 100%;
|
|
border-radius: 9999px;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
/* ---------------- Subjects ---------------- */
|
|
.section-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.section-header {
|
|
padding: 10px 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid var(--border);
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
user-select: none;
|
|
}
|
|
|
|
.cursor-pointer {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.toggle-indicator {
|
|
color: var(--text-muted);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.subject-breakdown-body {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.subject-breakdown-body.collapsed {
|
|
display: none;
|
|
}
|
|
|
|
.subject-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.subject-item {
|
|
background: #f8fafc;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.subject-info {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 4px;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.subject-name {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.subject-fraction {
|
|
color: var(--text-muted);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.subject-bar {
|
|
background: #e2e8f0;
|
|
height: 4px;
|
|
border-radius: 9999px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.subject-bar-fill {
|
|
background: var(--primary);
|
|
height: 100%;
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
/* ---------------- Toolbar ---------------- */
|
|
.toolbar-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 12px 14px;
|
|
margin-bottom: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.filter-tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tab-btn {
|
|
background: #f1f5f9;
|
|
border: 1px solid transparent;
|
|
color: var(--text-muted);
|
|
padding: 4px 10px;
|
|
border-radius: var(--radius);
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tab-btn:hover {
|
|
background: #e2e8f0;
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background: var(--primary);
|
|
color: white;
|
|
}
|
|
|
|
.filter-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.search-box {
|
|
flex: 1;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
padding: 6px 26px 6px 10px;
|
|
font-size: 0.85rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.search-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.search-clear {
|
|
position: absolute;
|
|
right: 8px;
|
|
background: none;
|
|
border: none;
|
|
font-size: 1rem;
|
|
color: var(--text-light);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-select {
|
|
padding: 6px 10px;
|
|
font-size: 0.85rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.list-meta {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* ---------------- Cards ---------------- */
|
|
.assignment-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.assignment-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 12px 14px;
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.assignment-card.status-next-week:not(.is-completed) {
|
|
border-left: 3px solid var(--warning);
|
|
}
|
|
|
|
.assignment-card.status-due-soon:not(.is-completed) {
|
|
border-left: 3px solid var(--urgent);
|
|
}
|
|
|
|
.assignment-card.status-overdue:not(.is-completed) {
|
|
border-left: 3px solid var(--danger);
|
|
}
|
|
|
|
.assignment-card.status-active:not(.is-completed) {
|
|
border-left: 3px solid #38bdf8;
|
|
}
|
|
|
|
.assignment-card.is-completed {
|
|
border-left: 3px solid var(--success);
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.assignment-card.is-completed .card-description {
|
|
text-decoration: line-through;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.card-checkbox-col {
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.assignment-toggle {
|
|
width: 17px;
|
|
height: 17px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card-content-col {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.card-top-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.card-subject-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.card-subject {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.card-badges {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
|
|
.badge {
|
|
font-size: 0.725rem;
|
|
font-weight: 600;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.badge-type {
|
|
background: #f1f5f9;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.badge-active {
|
|
background: #e0f2fe;
|
|
color: #0369a1;
|
|
}
|
|
|
|
.badge-next-week {
|
|
background: #fef3c7;
|
|
color: #b45309;
|
|
}
|
|
|
|
.badge-due-soon {
|
|
background: #ffedd5;
|
|
color: #c2410c;
|
|
}
|
|
|
|
.badge-overdue {
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.badge-completed {
|
|
background: #dcfce7;
|
|
color: #15803d;
|
|
}
|
|
|
|
.badge-check-date {
|
|
background: #f3e8ff;
|
|
color: #7e22ce;
|
|
border: 1px solid #e9d5ff;
|
|
}
|
|
|
|
.badge-excluded {
|
|
background: #f1f5f9;
|
|
color: #64748b;
|
|
border: 1px solid #cbd5e1;
|
|
}
|
|
|
|
.btn-exclude,
|
|
.btn-disinclude {
|
|
font-family: inherit;
|
|
font-size: 0.725rem;
|
|
font-weight: 600;
|
|
line-height: inherit;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
background: #f1f5f9;
|
|
color: #64748b;
|
|
border: 1px solid #e2e8f0;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
user-select: none;
|
|
}
|
|
|
|
.btn-exclude:hover,
|
|
.btn-disinclude:hover {
|
|
background: #e2e8f0;
|
|
color: #334155;
|
|
border-color: #cbd5e1;
|
|
}
|
|
|
|
.btn-exclude:active,
|
|
.btn-disinclude:active {
|
|
background: #cbd5e1;
|
|
}
|
|
|
|
.btn-exclude:focus-visible,
|
|
.btn-disinclude:focus-visible {
|
|
outline: 2px solid var(--primary);
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
.assignment-card.is-excluded {
|
|
opacity: 0.5;
|
|
background-color: #f8fafc;
|
|
border-left: 3px solid #94a3b8 !important;
|
|
}
|
|
|
|
.card-sub-meta {
|
|
font-size: 0.78rem;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.card-description {
|
|
font-size: 0.88rem;
|
|
line-height: 1.45;
|
|
color: #1e293b;
|
|
white-space: pre-line;
|
|
word-break: break-word;
|
|
background: #f8fafc;
|
|
padding: 6px 10px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.card-footer-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.card-timestamps {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.card-hash {
|
|
font-family: Menlo, Monaco, monospace;
|
|
font-size: 0.7rem;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
.empty-state {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.empty-state p {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.app-footer {
|
|
border-top: 1px solid var(--border);
|
|
padding: 12px 16px;
|
|
text-align: center;
|
|
font-size: 0.75rem;
|
|
color: var(--text-light);
|
|
margin-top: auto;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.dashboard-topbar {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
.filter-controls {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
/* ---------------- Syllabus & Navigation Styles ---------------- */
|
|
.brand-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.main-nav {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.nav-item {
|
|
text-decoration: none;
|
|
color: var(--text-muted);
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
padding: 4px 10px;
|
|
border-radius: var(--radius);
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.nav-item:hover {
|
|
color: var(--text-main);
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
.nav-item.active {
|
|
color: var(--primary);
|
|
font-weight: 600;
|
|
background: #eff6ff;
|
|
}
|
|
|
|
.station-select-row, .view-toggle-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.toolbar-label {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
min-width: 55px;
|
|
}
|
|
|
|
.station-pills, .view-toggle-pills {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.station-btn, .view-btn {
|
|
background: #f1f5f9;
|
|
border: 1px solid var(--border);
|
|
color: var(--text-main);
|
|
font-size: 0.8rem;
|
|
padding: 4px 10px;
|
|
border-radius: var(--radius);
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.station-btn:hover, .view-btn:hover {
|
|
background: #e2e8f0;
|
|
}
|
|
|
|
.station-btn.active, .view-btn.active {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
color: white;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.live-period-banner {
|
|
background: #eff6ff;
|
|
border: 1px solid #bfdbfe;
|
|
color: #1e40af;
|
|
padding: 8px 12px;
|
|
border-radius: var(--radius);
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.live-dot {
|
|
color: #2563eb;
|
|
animation: pulse 1.5s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { opacity: 1; }
|
|
50% { opacity: 0.3; }
|
|
100% { opacity: 1; }
|
|
}
|
|
|
|
.day-tabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.day-tab-btn {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
color: var(--text-muted);
|
|
padding: 6px 12px;
|
|
border-radius: var(--radius);
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.day-tab-btn:hover {
|
|
background: #f8fafc;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.day-tab-btn.active {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
color: white;
|
|
}
|
|
|
|
.today-badge {
|
|
background: #fef3c7;
|
|
color: #b45309;
|
|
font-size: 0.7rem;
|
|
padding: 1px 4px;
|
|
border-radius: 3px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.day-tab-btn.active .today-badge {
|
|
background: rgba(255, 255, 255, 0.25);
|
|
color: white;
|
|
}
|
|
|
|
.day-count-badge {
|
|
background: #f1f5f9;
|
|
color: var(--text-muted);
|
|
font-size: 0.7rem;
|
|
padding: 1px 5px;
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
.day-tab-btn.active .day-count-badge {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: white;
|
|
}
|
|
|
|
.timetable-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.timetable-row {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.period-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 90px;
|
|
}
|
|
|
|
.period-num {
|
|
font-weight: 700;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.period-time {
|
|
font-size: 0.78rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.subject-col {
|
|
flex: 1;
|
|
}
|
|
|
|
.subject-title {
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.teacher-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.teacher-thumb {
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.teacher-name {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.station-badge {
|
|
background: #fef3c7;
|
|
color: #b45309;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
border: 1px solid #fde68a;
|
|
}
|
|
|
|
.class-badge {
|
|
background: #f1f5f9;
|
|
color: var(--text-muted);
|
|
font-size: 0.75rem;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.table-responsive {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.week-grid-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
font-size: 0.825rem;
|
|
}
|
|
|
|
.week-grid-table th, .week-grid-table td {
|
|
border: 1px solid var(--border);
|
|
padding: 8px 10px;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.week-grid-table th {
|
|
background: #f8fafc;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.grid-today-th {
|
|
background: #eff6ff !important;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.grid-today-pill {
|
|
font-size: 0.68rem;
|
|
background: #dbeafe;
|
|
color: #1e40af;
|
|
padding: 1px 4px;
|
|
border-radius: 3px;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.grid-period-cell {
|
|
min-width: 80px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.grid-period-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.grid-period-time {
|
|
font-size: 0.725rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.grid-lesson-cell {
|
|
min-width: 135px;
|
|
}
|
|
|
|
.grid-lesson-cell.has-lesson {
|
|
background: #ffffff;
|
|
}
|
|
|
|
.grid-lesson-subject {
|
|
font-weight: 600;
|
|
font-size: 0.825rem;
|
|
}
|
|
|
|
.grid-lesson-teacher {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.grid-station-tag {
|
|
display: inline-block;
|
|
font-size: 0.68rem;
|
|
background: #fef3c7;
|
|
color: #b45309;
|
|
padding: 1px 4px;
|
|
border-radius: 3px;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.grid-empty-cell {
|
|
color: var(--text-light);
|
|
}
|
|
|
|
/* ---------------- Advisor Pill (Syllabus) ---------------- */
|
|
.advisor-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.advisor-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: #f1f5f9;
|
|
border: 1px solid #e2e8f0;
|
|
padding: 3px 10px;
|
|
border-radius: 9999px;
|
|
font-size: 0.775rem;
|
|
}
|
|
|
|
.advisor-name {
|
|
font-weight: 600;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.advisor-sub {
|
|
color: var(--text-muted);
|
|
font-size: 0.7rem;
|
|
background: #e2e8f0;
|
|
padding: 1px 6px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* ---------------- Private Lessons (Özel Ders) ---------------- */
|
|
.student-profile-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 14px 18px;
|
|
margin-bottom: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.student-profile-main {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.student-avatar {
|
|
width: 52px;
|
|
height: 52px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 2px solid var(--border);
|
|
}
|
|
|
|
.student-meta {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.student-name {
|
|
font-size: 1.05rem;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
}
|
|
|
|
.student-school {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
margin: 0;
|
|
}
|
|
|
|
.student-advisor-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 0.775rem;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.advisor-badge-label {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.student-policy-note {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
font-size: 0.775rem;
|
|
color: #92400e;
|
|
background: #fef3c7;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
border-left: 3px solid #f59e0b;
|
|
}
|
|
|
|
.policy-icon {
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Request Form */
|
|
.request-form-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 18px 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 16px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.form-header-badge {
|
|
font-size: 0.725rem;
|
|
font-weight: 600;
|
|
background: #e0f2fe;
|
|
color: #0369a1;
|
|
padding: 2px 8px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.form-grid-3 {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 14px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.form-label {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--text-main);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.select-loading {
|
|
font-size: 0.7rem;
|
|
font-weight: 400;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.form-select {
|
|
padding: 8px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: #ffffff;
|
|
color: var(--text-main);
|
|
font-size: 0.875rem;
|
|
font-family: inherit;
|
|
transition: border-color 0.15s ease;
|
|
}
|
|
|
|
.form-select:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.form-select:disabled {
|
|
background: #f8fafc;
|
|
color: var(--text-light);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.form-actions-row {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.form-feedback {
|
|
margin-top: 12px;
|
|
padding: 10px 14px;
|
|
border-radius: var(--radius);
|
|
font-size: 0.825rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.feedback-success {
|
|
background: #dcfce7;
|
|
color: #15803d;
|
|
border: 1px solid #bbf7d0;
|
|
}
|
|
|
|
.feedback-error {
|
|
background: #fee2e2;
|
|
color: #b91c1c;
|
|
border: 1px solid #fecaca;
|
|
}
|
|
|
|
/* Lessons List & Grid */
|
|
.lessons-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.lessons-header-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.lessons-title-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.lessons-count-badge {
|
|
background: #f1f5f9;
|
|
color: var(--text-muted);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
padding: 2px 7px;
|
|
border-radius: 9999px;
|
|
}
|
|
|
|
.subject-filter-pills {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.subject-pill-btn {
|
|
font-family: inherit;
|
|
font-size: 0.725rem;
|
|
font-weight: 600;
|
|
padding: 3px 10px;
|
|
border-radius: 9999px;
|
|
background: #f1f5f9;
|
|
color: var(--text-muted);
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
|
|
.subject-pill-btn:hover {
|
|
background: #e2e8f0;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.subject-pill-btn.active {
|
|
background: var(--text-main);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.upcoming-lessons-group,
|
|
.past-lessons-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.group-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.group-title {
|
|
font-size: 0.85rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.lessons-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.lesson-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 12px 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.lesson-card:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.lesson-card.is-upcoming {
|
|
border-left: 3px solid var(--success);
|
|
}
|
|
|
|
.lesson-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.lesson-date {
|
|
font-size: 0.775rem;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.lesson-card-body {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.lesson-teacher-photo {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.lesson-teacher-placeholder {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: #f1f5f9;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.lesson-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.lesson-subject {
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.lesson-teacher {
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
margin: 0;
|
|
}
|
|
|
|
.empty-lessons-card {
|
|
background: var(--bg-card);
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: 0.875rem;
|
|
}
|