-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
135 lines (109 loc) · 2.28 KB
/
main.css
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
html { height: 100%; }
body {
margin: 0; padding: 0;
height: 100%;
}
#map {
margin: 0;
padding: 0;
height: 100%
}
.filtered {
filter: grayscale(100%);
}
#view-sidebar {
line-height: 40px;
width: 40px;
box-sizing: border-box;
}
.leaflet-sidebar-tabs {
overflow-y: auto;
}
#sidebar .leaflet-sidebar-pane article {
padding: 10px;
}
#info .card {
margin-left: -10px;
}
#centro {
margin-left: -10px;
}
#centro h1 {
margin-left: 0;
}
/* Cajetín de búsqueda */
#busqueda li {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
#busqueda li:hover {
cursor: pointer;
background-color: #0074d9;
color: #fff;
}
#busqueda data {
display: flex;
justify-content: space-between;
}
/* Fin cajetín */
/* Elimina la flecha del input con sugerencias */
#esp input::-webkit-calendar-picker-indicator,
#esp input[type=number]::-webkit-list-button {
display: none;
}
.leaflet-sidebar-content {
font-family: Roboto, sans-serif;
}
/* Filtros y ajustes */
.custom-switch .custom-switch-input:checked + .custom-switch-btn {
background: #0074d9;
}
.custom-switch .custom-switch-input:checked:disabled + .custom-switch-btn {
background: rgba(0, 116, 217,.4);
}
#correcciones input[type=number]::-webkit-outer-spin-button,
#correcciones input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
#correcciones input[type=number] {
-moz-appearance: textfield;
}
/* Estilos normales */
.tachado {
text-decoration: line-through;
}
#centro .compensatoria {
color: #13b;
}
#centro .dificil {
color: #c13;
}
/*
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/
@media (min-width: 481px) and (max-width: 767px) {
.leaflet-sidebar {
width: 350px;
}
}
/*
##Device = Most of the Smartphones Mobiles (Portrait)
##Screen = B/w 320px to 479px
*/
@media (min-width: 320px) and (max-width: 480px) {
.leaflet-sidebar {
width: 100vw;
}
.leaflet-sidebar.leaflet-touch {
border-right: none;
}
}
@media (max-height: 400px) {
/* Corrección de bug visual que hacía que los iconos de la barra lateral se superpusieran unos a otros */
.leaflet-sidebar-tabs, .leaflet-sidebar-tabs > ul {
position: relative;
}
}