Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
151 lines (129 loc) · 2.59 KB
/
Copy pathstyle.css
File metadata and controls
151 lines (129 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
/* Reset */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Segoe UI", sans-serif;
background-color: #f9f9f9;
color: #333;
padding: 20px;
}
header, footer {
text-align: center;
margin-bottom: 20px;
}
/* Leyenda */
#legend {
margin-bottom: 30px;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#legend h2 {
margin-bottom: 15px;
color: #0056b3;
}
#legend-items {
display: flex;
flex-wrap: wrap;
gap: 15px;
list-style: none;
}
#legend-items li {
display: flex;
align-items: center;
gap: 8px;
padding: 5px 10px;
background-color: #f8f9fa;
border-radius: 15px;
}
#legend-items span {
width: 16px;
height: 16px;
border-radius: 50%;
border: 2px solid #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Contenedor de semestres */
#semesters-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 20px;
}
.semester {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 20px;
min-height: 200px;
border: 2px dashed transparent;
transition: border-color 0.3s ease;
}
.semester:hover {
border-color: #0056b3;
}
.semester h2 {
color: #0056b3;
margin-bottom: 15px;
font-size: 1.3em;
border-bottom: 2px solid #e9ecef;
padding-bottom: 8px;
}
.curso {
border: 1px solid #ddd;
border-left: 5px solid;
border-radius: 5px;
padding: 15px;
margin-bottom: 10px;
background-color: #fefefe;
cursor: pointer; /* Cambiado a pointer para indicar que es clickeable */
transition: all 0.3s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.curso:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.curso.approved {
background-color: #d4edda; /* Color para cursos aprobados */
border-color: #28a745; /* Borde verde para aprobados */
opacity: 1;
cursor: pointer;
}
.curso.disabled {
background-color: #f8d7da; /* Color para cursos deshabilitados */
border-color: #dc3545; /* Borde rojo para deshabilitados */
opacity: 0.6; /* Menor opacidad para indicar que no se puede tomar */
cursor: not-allowed;
}
.curso h3 {
color: #333;
margin-bottom: 8px;
font-size: 1.1em;
}
.curso p {
font-size: 0.9em;
line-height: 1.5;
margin-bottom: 4px;
}
.curso p:last-child {
margin-bottom: 0;
}
/* Responsive design */
@media (max-width: 768px) {
body {
padding: 10px;
}
#semesters-container {
grid-template-columns: 1fr;
}
#legend-items {
justify-content: center;
}
.curso {
padding: 12px;
}
}