main
css 194 lines 5.01 KB
Raw
1 .docente-container { max-width: 1050px; margin: 0 auto; }
2
3 .docente-header {
4 border-left: 4px solid #0284c7;
5 display: flex;
6 justify-content: space-between;
7 align-items: center;
8 flex-wrap: wrap;
9 gap: 16px;
10 }
11
12 .docente-header .header-info h2 { font-size: 1.3rem; }
13 .docente-header .header-info p { font-size: 0.85rem; color: #666; margin-top: 3px; }
14
15 .docente-badge {
16 background-color: #e0f2fe;
17 color: #0369a1;
18 padding: 4px 10px;
19 font-size: 0.78rem;
20 font-weight: bold;
21 border: 1px solid #bae6fd;
22 }
23
24 .docente-kpi-grid {
25 display: grid;
26 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
27 gap: 16px;
28 margin-bottom: 20px;
29 }
30
31 .docente-kpi {
32 background: #ffffff;
33 border: 1px solid #dcdfe6;
34 padding: 16px;
35 border-top: 3px solid #0284c7;
36 }
37
38 .docente-kpi .val { font-size: 1.8rem; font-weight: bold; color: #111; }
39 .docente-kpi .lbl { font-size: 0.8rem; color: #666; text-transform: uppercase; margin-top: 4px; }
40
41 .docente-section { margin-bottom: 20px; }
42
43 .docente-section-header {
44 display: flex;
45 justify-content: space-between;
46 align-items: center;
47 margin-bottom: 12px;
48 }
49
50 .docente-section-header h3 {
51 font-size: 1.05rem;
52 border-bottom: 1px solid #eee;
53 padding-bottom: 6px;
54 flex: 1;
55 }
56
57 .btn-outline {
58 background: transparent;
59 color: #0284c7;
60 border: 1px solid #0284c7;
61 padding: 6px 12px;
62 font-size: 0.82rem;
63 font-weight: 600;
64 cursor: pointer;
65 }
66
67 .btn-solid {
68 background-color: var(--accent-dark, #005a2b);
69 color: #ffffff;
70 border: none;
71 padding: 8px 16px;
72 font-size: 0.85rem;
73 font-weight: bold;
74 cursor: pointer;
75 }
76
77 .docente-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 10px; }
78 .docente-table th { background: #f9fafb; padding: 10px; border-bottom: 2px solid #dcdfe6; text-align: left; }
79 .docente-table td { padding: 12px 10px; border-bottom: 1px solid #ebeef5; }
80
81 .docente-empty { padding: 20px; text-align: center; color: #999; font-size: 0.9rem; }
82
83 .docente-meta { font-size: 0.85rem; color: #666; margin-bottom: 12px; }
84 .docente-link { color: #0284c7; font-weight: bold; text-decoration: none; }
85
86 .modal-overlay {
87 position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55);
88 display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px;
89 }
90 .docente-asistencia-modal {
91 background: #fff; border-radius: 14px; padding: 24px; width: 100%; max-width: 560px;
92 box-shadow: 0 18px 50px rgba(0,0,0,0.25);
93 }
94 .docente-asistencia-modal h3 { margin: 0 0 16px; color: #0f172a; }
95 .docente-asistencia-modal label { display: block; font-size: 0.82rem; color: #475569; margin: 10px 0 4px; font-weight: 600; }
96 .docente-asistencia-modal input,
97 .docente-asistencia-modal select,
98 .docente-asistencia-modal textarea {
99 width: 100%; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 0.9rem; box-sizing: border-box;
100 }
101 .docente-asistencia-modal input:focus,
102 .docente-asistencia-modal select:focus,
103 .docente-asistencia-modal textarea:focus { outline: none; border-color: #0284c7; }
104 .docente-asistencia-modal .ag-row { display: flex; gap: 12px; }
105 .docente-asistencia-modal .ag-row > div { flex: 1; }
106 .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
107
108 /* ============================================================
109 MODO OSCURO — Docente (inversión pareja)
110 ============================================================ */
111 html.dark-mode .docente-container {
112 color: #e6edf3;
113 }
114
115 html.dark-mode .docente-header .header-info p {
116 color: #8b949e;
117 }
118
119 html.dark-mode .docente-badge {
120 background-color: #0b1520;
121 color: #38bdf8;
122 border-color: #123f5c;
123 }
124
125 html.dark-mode .docente-kpi {
126 background: #161b22;
127 border-color: #30363d;
128 }
129
130 html.dark-mode .docente-kpi .val {
131 color: #e6edf3;
132 }
133
134 html.dark-mode .docente-kpi .lbl {
135 color: #8b949e;
136 }
137
138 html.dark-mode .docente-section-header h3 {
139 border-bottom-color: #30363d;
140 }
141
142 html.dark-mode .btn-outline {
143 color: #38bdf8;
144 border-color: #38bdf8;
145 }
146
147 html.dark-mode .docente-table th {
148 background: #0d1117;
149 color: #c9d1d9;
150 border-bottom-color: #30363d;
151 }
152
153 html.dark-mode .docente-table td {
154 border-bottom-color: #21262d;
155 color: #c9d1d9;
156 }
157
158 html.dark-mode .docente-empty {
159 color: #8b949e;
160 }
161
162 html.dark-mode .docente-meta {
163 color: #8b949e;
164 }
165
166 html.dark-mode .docente-link {
167 color: #38bdf8;
168 }
169
170 html.dark-mode .docente-asistencia-modal {
171 background: #161b22;
172 }
173
174 html.dark-mode .docente-asistencia-modal h3 {
175 color: #e6edf3;
176 }
177
178 html.dark-mode .docente-asistencia-modal label {
179 color: #8b949e;
180 }
181
182 html.dark-mode .docente-asistencia-modal input,
183 html.dark-mode .docente-asistencia-modal select,
184 html.dark-mode .docente-asistencia-modal textarea {
185 background: #0d1117;
186 color: #e6edf3;
187 border-color: #30363d;
188 }
189
190 html.dark-mode .docente-asistencia-modal input:focus,
191 html.dark-mode .docente-asistencia-modal select:focus,
192 html.dark-mode .docente-asistencia-modal textarea:focus {
193 border-color: #38bdf8;
194 }