1 |
fb12df6d
|
Jan Kohlíček
|
@import './variables';
|
2 |
|
|
|
3 |
|
|
* {
|
4 |
|
|
margin: 0;
|
5 |
|
|
padding: 0;
|
6 |
|
|
}
|
7 |
|
|
|
8 |
|
|
html,
|
9 |
|
|
body {
|
10 |
|
|
width: 100%;
|
11 |
|
|
height: 100%;
|
12 |
|
|
min-height: 100% !important;
|
13 |
|
|
margin: 0;
|
14 |
|
|
padding: 0;
|
15 |
|
|
}
|
16 |
|
|
|
17 |
|
|
#search {
|
18 |
|
|
z-index: 20;
|
19 |
|
|
float: left;
|
20 |
|
|
min-height: 100%;
|
21 |
|
|
max-height: 100%;
|
22 |
|
|
overflow: auto;
|
23 |
|
|
background-color: $primary-background-color;
|
24 |
|
|
box-shadow: 0 0 10px 0 rgba(50, 50, 50, 0.75);
|
25 |
|
|
|
26 |
|
|
header h1 {
|
27 |
|
|
font-weight: bold;
|
28 |
|
|
font-size: 1rem;
|
29 |
|
|
line-height: 1rem;
|
30 |
|
|
}
|
31 |
|
|
|
32 |
|
|
footer {
|
33 |
|
|
float: left;
|
34 |
|
|
}
|
35 |
|
|
}
|
36 |
|
|
|
37 |
|
|
.searchWrapper {
|
38 |
|
|
float: left;
|
39 |
|
|
min-height: calc(100% - 40px);
|
40 |
|
|
|
41 |
|
|
.custom-control-label::before {
|
42 |
|
|
background-color: white;
|
43 |
|
|
}
|
44 |
|
|
}
|
45 |
|
|
|
46 |
|
|
#info {
|
47 |
|
|
z-index: 10;
|
48 |
|
|
min-height: 100%;
|
49 |
|
|
max-height: 100%;
|
50 |
|
|
overflow: auto;
|
51 |
|
|
box-shadow: 0 0 10px 0 rgba(50, 50, 50, 0.75);
|
52 |
|
|
|
53 |
|
|
header address {
|
54 |
|
|
margin: 0;
|
55 |
|
|
}
|
56 |
|
|
}
|
57 |
|
|
|
58 |
|
|
@media (max-width: 991.98px) {
|
59 |
|
|
#info,
|
60 |
|
|
#search {
|
61 |
|
|
height: auto;
|
62 |
|
|
min-height: auto;
|
63 |
|
|
max-height: none;
|
64 |
|
|
overflow: hidden;
|
65 |
|
|
box-shadow: none;
|
66 |
|
|
}
|
67 |
|
|
}
|
68 |
|
|
|
69 |
|
|
#map {
|
70 |
|
|
min-height: 100%;
|
71 |
|
|
max-height: 100%;
|
72 |
|
|
margin: 0;
|
73 |
|
|
padding: 0;
|
74 |
|
|
overflow: hidden;
|
75 |
|
|
}
|
76 |
|
|
|
77 |
|
|
/* LOADING */
|
78 |
|
|
.loading {
|
79 |
|
|
width: 50px;
|
80 |
|
|
height: 50px;
|
81 |
|
|
margin: 0 auto;
|
82 |
|
|
border: 6px solid $loading-second-color;
|
83 |
|
|
border-top: 6px solid $loading-first-color;
|
84 |
|
|
border-radius: 50%;
|
85 |
|
|
animation: spin 2s linear infinite;
|
86 |
|
|
}
|
87 |
|
|
|
88 |
|
|
@keyframes spin {
|
89 |
|
|
0% {
|
90 |
|
|
transform: rotate(0deg);
|
91 |
|
|
}
|
92 |
|
|
|
93 |
|
|
100% {
|
94 |
|
|
transform: rotate(360deg);
|
95 |
|
|
}
|
96 |
|
|
}
|
97 |
|
|
|
98 |
|
|
#loadingScreen {
|
99 |
|
|
position: fixed;
|
100 |
|
|
top: 0;
|
101 |
|
|
right: 0;
|
102 |
|
|
bottom: 0;
|
103 |
|
|
left: 0;
|
104 |
|
|
z-index: 1000;
|
105 |
|
|
width: 100%;
|
106 |
|
|
height: 100%;
|
107 |
|
|
background-color: $primary-background-color;
|
108 |
|
|
|
109 |
|
|
.loading {
|
110 |
|
|
position: fixed;
|
111 |
|
|
top: 0;
|
112 |
|
|
right: 0;
|
113 |
|
|
bottom: 0;
|
114 |
|
|
left: 0;
|
115 |
|
|
width: 100px;
|
116 |
|
|
height: 100px;
|
117 |
|
|
margin: auto auto;
|
118 |
|
|
border: 12px solid $loading-second-color;
|
119 |
|
|
border-top: 12px solid $loading-first-color;
|
120 |
|
|
border-radius: 50%;
|
121 |
|
|
animation: spin 2s linear infinite;
|
122 |
|
|
}
|
123 |
|
|
|
124 |
|
|
#logo {
|
125 |
|
|
position: fixed;
|
126 |
|
|
top: -160px;
|
127 |
|
|
right: 0;
|
128 |
|
|
bottom: 0;
|
129 |
|
|
left: 0;
|
130 |
|
|
width: 100%;
|
131 |
|
|
height: 50px;
|
132 |
|
|
margin: auto 0;
|
133 |
|
|
font-size: 1.4rem;
|
134 |
|
|
text-align: center;
|
135 |
|
|
}
|
136 |
|
|
|
137 |
|
|
#noscript {
|
138 |
|
|
position: fixed;
|
139 |
|
|
top: 0;
|
140 |
|
|
right: 0;
|
141 |
|
|
bottom: 0;
|
142 |
|
|
left: 0;
|
143 |
|
|
width: 100%;
|
144 |
|
|
height: 110px;
|
145 |
|
|
margin: auto 0;
|
146 |
|
|
font-size: 1rem;
|
147 |
|
|
text-align: center;
|
148 |
|
|
background-color: $primary-background-color;
|
149 |
|
|
}
|
150 |
|
|
}
|
151 |
|
|
|
152 |
|
|
/* GRAPH */
|
153 |
|
|
|
154 |
|
|
#graphAverageSpeed,
|
155 |
|
|
#graphNumberVehicles {
|
156 |
|
|
width: 100%;
|
157 |
|
|
background-color: white;
|
158 |
|
|
}
|
159 |
|
|
|
160 |
|
|
/* SCROLLBAR */
|
161 |
|
|
|
162 |
|
|
::-webkit-scrollbar-track {
|
163 |
|
|
background-color: $scrollbar-background-color;
|
164 |
|
|
}
|
165 |
|
|
|
166 |
|
|
::-webkit-scrollbar {
|
167 |
|
|
width: 8px;
|
168 |
|
|
background-color: $scrollbar-background-color;
|
169 |
|
|
}
|
170 |
|
|
|
171 |
|
|
::-webkit-scrollbar-thumb {
|
172 |
|
|
background-color: rgba($scrollbar-color, 0.75);
|
173 |
|
|
}
|