Revize 6b7c4d1c
Přidáno uživatelem Martin Sebela před více než 4 roky(ů)
website/public/css/style.css | ||
---|---|---|
153 | 153 |
background: #0048A9 !important; |
154 | 154 |
} |
155 | 155 |
|
156 |
@media (max-width: 991.98px) { |
|
157 |
header.map .navbar-nav { |
|
158 |
width: 100%; |
|
159 |
} |
|
160 |
} |
|
161 |
|
|
162 |
header.map form { |
|
163 |
display: flex; |
|
164 |
margin: auto; |
|
165 |
} |
|
166 |
|
|
167 |
header.map label { |
|
168 |
margin: 0 0 0 15px; |
|
169 |
font-size: 16px; |
|
170 |
letter-spacing: .4px; |
|
171 |
} |
|
172 |
|
|
173 |
header.map input, header.map .custom-select { |
|
174 |
letter-spacing: .4px; |
|
175 |
color: #ffffff; |
|
176 |
border-color: #0048A9; |
|
177 |
background: #0048A9; |
|
178 |
} |
|
179 |
|
|
180 |
header.map input::placeholder, header.map .custom-select::placeholder { |
|
181 |
color: #ffffff; |
|
182 |
opacity: 1; |
|
183 |
} |
|
184 |
|
|
185 |
header.map .nav-item { |
|
186 |
margin: 0; |
|
187 |
border-right: 1px solid #1C6CC0; |
|
188 |
} |
|
189 |
|
|
190 |
@media (max-width: 991.98px) { |
|
191 |
header.map .nav-item { |
|
192 |
margin-bottom: 20px; |
|
193 |
border: 0; |
|
194 |
} |
|
195 |
} |
|
196 |
|
|
197 |
header.map .nav-item:nth-of-type(3) .dropdown { |
|
198 |
height: calc(100% + 10px) !important; |
|
199 |
margin: -5px; |
|
200 |
margin-top: -7px; |
|
201 |
} |
|
202 |
|
|
203 |
header.map .nav-item:nth-of-type(3) .dropdown .dropdown-menu { |
|
204 |
top: calc(100% - 4px); |
|
205 |
} |
|
206 |
|
|
207 |
header.map .nav-item:nth-of-type(3) .dropdown button { |
|
208 |
padding-left: 20px; |
|
209 |
border-radius: 0; |
|
210 |
} |
|
211 |
|
|
212 |
@media (max-width: 991.98px) { |
|
213 |
header.map .nav-item:nth-of-type(3) .dropdown { |
|
214 |
height: 100% !important; |
|
215 |
margin: 0px; |
|
216 |
flex-direction: column; |
|
217 |
} |
|
218 |
header.map .nav-item:nth-of-type(3) .dropdown button { |
|
219 |
padding-left: 12px; |
|
220 |
border-radius: 5px; |
|
221 |
} |
|
222 |
} |
|
223 |
|
|
224 |
@media (max-width: 991.98px) { |
|
225 |
header.map .nav-item:nth-of-type(4) { |
|
226 |
border-radius: 5px; |
|
227 |
} |
|
228 |
} |
|
229 |
|
|
230 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
231 |
width: 300px; |
|
232 |
} |
|
233 |
|
|
234 |
@media (max-width: 1500px) { |
|
235 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
236 |
width: 280px; |
|
237 |
} |
|
238 |
} |
|
239 |
|
|
240 |
@media (max-width: 1400px) { |
|
241 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
242 |
width: 230px; |
|
243 |
} |
|
244 |
} |
|
245 |
|
|
246 |
@media (max-width: 1400px) { |
|
247 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
248 |
max-width: 230px; |
|
249 |
width: auto; |
|
250 |
} |
|
251 |
} |
|
252 |
|
|
253 |
@media (max-width: 991.98px) { |
|
254 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
255 |
max-width: none; |
|
256 |
} |
|
257 |
} |
|
258 |
|
|
259 | 156 |
h1 { |
260 | 157 |
text-transform: uppercase; |
261 | 158 |
font-size: 21px; |
... | ... | |
681 | 578 |
right: 20.8%; |
682 | 579 |
} |
683 | 580 |
|
581 |
.slide-background { |
|
582 |
width: 650px; |
|
583 |
height: 290px; |
|
584 |
z-index: 1; |
|
585 |
position: absolute; |
|
586 |
bottom: 0; |
|
587 |
left: 0; |
|
588 |
background: url("../img/footer-bg.svg") no-repeat; |
|
589 |
} |
|
590 |
|
|
591 |
@media (max-width: 991.98px) { |
|
592 |
.slide-background { |
|
593 |
width: 320px; |
|
594 |
height: 143px; |
|
595 |
background-size: 100%; |
|
596 |
} |
|
597 |
} |
|
598 |
|
|
599 |
div.copyright p { |
|
600 |
font-weight: 400; |
|
601 |
} |
|
602 |
|
|
603 |
div.copyright span { |
|
604 |
font-size: 17px; |
|
605 |
} |
|
606 |
|
|
607 |
p.logos-partners { |
|
608 |
margin-top: 40px; |
|
609 |
text-align: right; |
|
610 |
} |
|
611 |
|
|
612 |
p.logos-partners a { |
|
613 |
text-decoration: none; |
|
614 |
} |
|
615 |
|
|
616 |
p.logos-partners a img { |
|
617 |
margin-left: 50px; |
|
618 |
height: 80px; |
|
619 |
} |
|
620 |
|
|
621 |
@media only screen and (max-width: 430px) { |
|
622 |
p.logos-partners a img { |
|
623 |
height: 70px; |
|
624 |
margin-left: 0; |
|
625 |
} |
|
626 |
} |
|
627 |
|
|
628 |
@media only screen and (max-width: 340px) { |
|
629 |
p.logos-partners a img { |
|
630 |
height: 60px; |
|
631 |
} |
|
632 |
} |
|
633 |
|
|
634 |
p.logos-partners a:first-of-type img { |
|
635 |
margin-left: 0; |
|
636 |
} |
|
637 |
|
|
684 | 638 |
#heatmap { |
685 | 639 |
height: 100%; |
686 | 640 |
} |
687 | 641 |
|
642 |
@media (max-width: 991.98px) { |
|
643 |
header.map .navbar-nav { |
|
644 |
width: 100%; |
|
645 |
} |
|
646 |
} |
|
647 |
|
|
648 |
header.map form { |
|
649 |
display: flex; |
|
650 |
margin: auto; |
|
651 |
} |
|
652 |
|
|
653 |
header.map label { |
|
654 |
margin: 0 0 0 15px; |
|
655 |
font-size: 16px; |
|
656 |
letter-spacing: .4px; |
|
657 |
} |
|
658 |
|
|
659 |
header.map input { |
|
660 |
letter-spacing: .4px; |
|
661 |
color: #ffffff; |
|
662 |
border-color: #0048A9; |
|
663 |
background: #0048A9; |
|
664 |
} |
|
665 |
|
|
666 |
header.map input::placeholder { |
|
667 |
color: #ffffff; |
|
668 |
opacity: 1; |
|
669 |
} |
|
670 |
|
|
671 |
header.map .nav-item { |
|
672 |
padding: 5px; |
|
673 |
margin: auto 0; |
|
674 |
border-right: 1px solid #1C6CC0; |
|
675 |
} |
|
676 |
|
|
677 |
@media (max-width: 991.98px) { |
|
678 |
header.map .nav-item { |
|
679 |
margin-bottom: 10px; |
|
680 |
border: 0; |
|
681 |
} |
|
682 |
} |
|
683 |
|
|
684 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
685 |
width: 300px; |
|
686 |
} |
|
687 |
|
|
688 |
@media (max-width: 1500px) { |
|
689 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
690 |
width: 280px; |
|
691 |
} |
|
692 |
} |
|
693 |
|
|
694 |
@media (max-width: 1400px) { |
|
695 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
696 |
width: 230px; |
|
697 |
} |
|
698 |
} |
|
699 |
|
|
700 |
@media (max-width: 1400px) { |
|
701 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
702 |
max-width: 230px; |
|
703 |
width: auto; |
|
704 |
} |
|
705 |
} |
|
706 |
|
|
707 |
@media (max-width: 991.98px) { |
|
708 |
header.map .nav-item:nth-of-type(1), header.map .nav-item:nth-of-type(2), header.map .nav-item:nth-of-type(3) { |
|
709 |
max-width: none; |
|
710 |
} |
|
711 |
} |
|
712 |
|
|
713 |
header.map .nav-item:nth-child(3) { |
|
714 |
padding: 0; |
|
715 |
margin: 0; |
|
716 |
border: 0; |
|
717 |
} |
|
718 |
|
|
719 |
@media (max-width: 991.98px) { |
|
720 |
header.map .nav-item:nth-child(3) { |
|
721 |
padding: 5px; |
|
722 |
} |
|
723 |
} |
|
724 |
|
|
725 |
header.map .nav-item:nth-child(3) .dropdown { |
|
726 |
display: flex; |
|
727 |
height: 100%; |
|
728 |
} |
|
729 |
|
|
730 |
@media (max-width: 991.98px) { |
|
731 |
header.map .nav-item:nth-child(3) .dropdown { |
|
732 |
flex-direction: column; |
|
733 |
} |
|
734 |
} |
|
735 |
|
|
736 |
header.map .nav-item:nth-child(3) .dropdown .dropdown-menu { |
|
737 |
top: calc(100% - 5px); |
|
738 |
} |
|
739 |
|
|
740 |
header.map .nav-item:nth-child(3) .dropdown button { |
|
741 |
padding-left: 20px; |
|
742 |
border-radius: 0; |
|
743 |
} |
|
744 |
|
|
745 |
@media (max-width: 991.98px) { |
|
746 |
header.map .nav-item:nth-child(3) .dropdown button { |
|
747 |
padding-left: 12px; |
|
748 |
border-radius: 5px; |
|
749 |
} |
|
750 |
} |
|
751 |
|
|
752 |
header.map .nav-item:last-child { |
|
753 |
margin-top: 0; |
|
754 |
margin-bottom: 0; |
|
755 |
border-left: 1px solid #1C6CC0; |
|
756 |
background: #0057be; |
|
757 |
} |
|
758 |
|
|
759 |
@media (max-width: 991.98px) { |
|
760 |
header.map .nav-item:last-child { |
|
761 |
margin: 10px 5px 0 5px; |
|
762 |
border-radius: 5px; |
|
763 |
border: 0; |
|
764 |
} |
|
765 |
} |
|
766 |
|
|
767 |
header.map .nav-item:last-child:hover { |
|
768 |
background: #004fb3; |
|
769 |
} |
|
770 |
|
|
771 |
header.map .nav-item:last-child .btn-secondary { |
|
772 |
display: inline-block; |
|
773 |
outline: none; |
|
774 |
padding: 0 30px; |
|
775 |
background: url("../img/btn-refresh.svg") no-repeat center center; |
|
776 |
} |
|
777 |
|
|
778 |
header.map .nav-item:last-child .btn-secondary:hover { |
|
779 |
background: url("../img/btn-refresh.svg") no-repeat center center !important; |
|
780 |
} |
|
781 |
|
|
782 |
@media (max-width: 991.98px) { |
|
783 |
header.map .nav-item:last-child .btn-secondary { |
|
784 |
width: 100%; |
|
785 |
padding: 20px; |
|
786 |
border-radius: 5px; |
|
787 |
} |
|
788 |
} |
|
789 |
|
|
790 |
header.map .nav-item input:hover { |
|
791 |
background: rgba(255, 255, 255, 0.2); |
|
792 |
} |
|
793 |
|
|
794 |
header.map .nav-item input:focus { |
|
795 |
background: #ffffff; |
|
796 |
color: #000; |
|
797 |
} |
|
798 |
|
|
799 |
header.map .nav-item .dropdown { |
|
800 |
min-width: 200px; |
|
801 |
} |
|
802 |
|
|
803 |
header.map .nav-item .dropdown .btn { |
|
804 |
width: 100%; |
|
805 |
text-align: left; |
|
806 |
letter-spacing: .4px; |
|
807 |
color: #ffffff; |
|
808 |
background: #0048A9; |
|
809 |
} |
|
810 |
|
|
811 |
header.map .nav-item .dropdown .btn:hover { |
|
812 |
background: #336dba; |
|
813 |
} |
|
814 |
|
|
815 |
header.map .nav-item .dropdown .dropdown-menu { |
|
816 |
width: 100%; |
|
817 |
max-height: 300px; |
|
818 |
overflow-y: auto; |
|
819 |
z-index: 1001; |
|
820 |
} |
|
821 |
|
|
822 |
header.map .nav-item .dropdown .dropdown-menu .dropdown-item:active { |
|
823 |
background: #0048A9; |
|
824 |
} |
|
825 |
|
|
826 |
header.map .nav-item .dropdown .dropdown-menu .dropdown-item label { |
|
827 |
width: 100% !important; |
|
828 |
margin-left: 0; |
|
829 |
cursor: pointer; |
|
830 |
} |
|
831 |
|
|
832 |
header.map .nav-item .dropdown #dropdown-time .dropdown-item:nth-of-type(even) { |
|
833 |
background: rgba(0, 0, 0, 0.05); |
|
834 |
} |
|
835 |
|
|
836 |
header.map .nav-item .dropdown #dropdown-time .dropdown-item:nth-of-type(even):active { |
|
837 |
background: #0048A9; |
|
838 |
} |
|
839 |
|
|
840 |
header.map .nav-item .dropdown input[type="radio"]:checked ~ label { |
|
841 |
font-weight: 800; |
|
842 |
} |
|
843 |
|
|
688 | 844 |
.map-locations { |
689 | 845 |
position: absolute; |
690 | 846 |
top: 95px; |
... | ... | |
814 | 970 |
cursor: pointer; |
815 | 971 |
} |
816 | 972 |
|
973 |
@media (max-width: 320px) { |
|
974 |
.player .next-btn, .player .prev-btn, .player .animate-btn, .player .lock-btn { |
|
975 |
margin-right: 15px; |
|
976 |
} |
|
977 |
} |
|
978 |
|
|
817 | 979 |
.player .next-btn:hover, .player .prev-btn:hover, .player .animate-btn:hover, .player .lock-btn:hover { |
818 | 980 |
opacity: 1; |
819 | 981 |
} |
... | ... | |
1048 | 1210 |
background: #0b155a; |
1049 | 1211 |
} |
1050 | 1212 |
|
1051 |
.player .time .custom-spinner-border { |
|
1052 |
margin: 3px 0 4px 0; |
|
1053 |
} |
|
1054 |
|
|
1055 | 1213 |
@media (min-width: 992px) { |
1056 | 1214 |
.player .time { |
1057 | 1215 |
position: absolute; |
... | ... | |
1130 | 1288 |
} |
1131 | 1289 |
} |
1132 | 1290 |
|
1133 |
.slide-background { |
|
1134 |
width: 650px; |
|
1135 |
height: 290px; |
|
1136 |
z-index: 1; |
|
1137 |
position: absolute; |
|
1138 |
bottom: 0; |
|
1139 |
left: 0; |
|
1140 |
background: url("../img/footer-bg.svg") no-repeat; |
|
1141 |
} |
|
1142 |
|
|
1143 |
@media (max-width: 991.98px) { |
|
1144 |
.slide-background { |
|
1145 |
width: 320px; |
|
1146 |
height: 143px; |
|
1147 |
background-size: 100%; |
|
1148 |
} |
|
1149 |
} |
|
1150 |
|
|
1151 |
div.copyright p { |
|
1152 |
font-weight: 400; |
|
1153 |
} |
|
1154 |
|
|
1155 |
div.copyright span { |
|
1156 |
font-size: 17px; |
|
1157 |
} |
|
1158 |
|
|
1159 |
p.logos-partners { |
|
1160 |
margin-top: 40px; |
|
1161 |
text-align: right; |
|
1162 |
} |
|
1163 |
|
|
1164 |
p.logos-partners a { |
|
1165 |
text-decoration: none; |
|
1166 |
} |
|
1167 |
|
|
1168 |
p.logos-partners a img { |
|
1169 |
margin-left: 50px; |
|
1170 |
height: 80px; |
|
1171 |
} |
|
1172 |
|
|
1173 |
@media only screen and (max-width: 430px) { |
|
1174 |
p.logos-partners a img { |
|
1175 |
height: 70px; |
|
1176 |
margin-left: 0; |
|
1177 |
} |
|
1178 |
} |
|
1179 |
|
|
1180 |
@media only screen and (max-width: 340px) { |
|
1181 |
p.logos-partners a img { |
|
1182 |
height: 60px; |
|
1183 |
} |
|
1184 |
} |
|
1185 |
|
|
1186 |
p.logos-partners a:first-of-type img { |
|
1187 |
margin-left: 0; |
|
1291 |
.player .time .custom-spinner-border { |
|
1292 |
margin: 3px 0 4px 0; |
|
1188 | 1293 |
} |
1189 | 1294 |
|
1190 | 1295 |
.leaflet-popup-content-wrapper, .leaflet-popup-tip { |
... | ... | |
1193 | 1298 |
color: #ffffff; |
1194 | 1299 |
} |
1195 | 1300 |
|
1196 |
.leaflet-popup-content-wrapper .leaflet-popup-content strong {
|
|
1301 |
.leaflet-popup-content-wrapper strong, .leaflet-popup-tip strong {
|
|
1197 | 1302 |
display: inline-block; |
1198 | 1303 |
margin-bottom: 8px; |
1199 | 1304 |
} |
1200 | 1305 |
|
1201 |
.leaflet-popup-content-wrapper .popup-controls { |
|
1202 |
display: flex; |
|
1203 |
margin: 1em 0 1em 0; |
|
1204 |
} |
|
1205 |
|
|
1206 |
.leaflet-popup-content-wrapper .popup-controls .circle-button { |
|
1207 |
height: 32px; |
|
1208 |
width: 32px; |
|
1209 |
border: 0; |
|
1210 |
border-radius: 24px; |
|
1211 |
background: url("../img/btn-prev.svg") rgba(255, 255, 255, 0.1) no-repeat center center; |
|
1212 |
transition: background 0.3s ease-out; |
|
1213 |
outline: none !important; |
|
1214 |
} |
|
1215 |
|
|
1216 |
.leaflet-popup-content-wrapper .popup-controls .circle-button:hover { |
|
1217 |
background: url("../img/btn-prev.svg") rgba(125, 125, 125, 0.1) no-repeat center center; |
|
1218 |
} |
|
1219 |
|
|
1220 |
.leaflet-popup-content-wrapper .popup-controls .circle-button.next { |
|
1221 |
background: url("../img/btn-next.svg") rgba(255, 255, 255, 0.1) no-repeat center center; |
|
1222 |
} |
|
1223 |
|
|
1224 |
.leaflet-popup-content-wrapper .popup-controls .circle-button.next:hover { |
|
1225 |
background: url("../img/btn-next.svg") rgba(125, 125, 125, 0.1) no-repeat center center; |
|
1226 |
} |
|
1227 |
|
|
1228 |
.leaflet-popup-content-wrapper #place-intesity { |
|
1306 |
.leaflet-popup-content-wrapper #place-intesity, .leaflet-popup-tip #place-intesity { |
|
1229 | 1307 |
display: flex; |
1230 | 1308 |
align-items: center; |
1231 | 1309 |
justify-content: center; |
... | ... | |
1234 | 1312 |
font-weight: 700; |
1235 | 1313 |
} |
1236 | 1314 |
|
1237 |
.leaflet-popup-content-wrapper #part-info {
|
|
1315 |
.leaflet-popup-content-wrapper #place-intesity #sum-number, .leaflet-popup-tip #place-intesity #sum-number {
|
|
1238 | 1316 |
margin-left: 5px; |
1239 | 1317 |
font-size: 11pt; |
1240 | 1318 |
} |
1241 | 1319 |
|
1242 |
.leaflet-popup-content-wrapper #pages { |
|
1243 |
margin: auto; |
|
1244 |
color: #ffffff; |
|
1245 |
} |
|
1246 |
|
|
1247 |
header.map .nav-item { |
|
1248 |
padding: 5px; |
|
1249 |
margin-top: auto; |
|
1250 |
margin-bottom: auto; |
|
1251 |
} |
|
1252 |
|
|
1253 |
header.map .nav-item:nth-child(3) { |
|
1254 |
margin-top: 0; |
|
1255 |
margin-bottom: 0; |
|
1256 |
border: 0; |
|
1257 |
} |
|
1258 |
|
|
1259 |
header.map .nav-item:nth-child(3) .dropdown { |
|
1320 |
.leaflet-popup-content-wrapper .popup-pagination, .leaflet-popup-tip .popup-pagination { |
|
1260 | 1321 |
display: flex; |
1261 |
height: 100%; |
|
1262 |
} |
|
1263 |
|
|
1264 |
header.map .nav-item:last-child { |
|
1265 |
margin-top: 0; |
|
1266 |
margin-bottom: 0; |
|
1267 |
border-left: 1px solid #1C6CC0; |
|
1268 |
background: #0057be; |
|
1269 |
} |
|
1270 |
|
|
1271 |
@media (max-width: 991.98px) { |
|
1272 |
header.map .nav-item:last-child { |
|
1273 |
margin: 10px 5px 0 5px; |
|
1274 |
border: 0; |
|
1275 |
} |
|
1276 |
} |
|
1277 |
|
|
1278 |
header.map .nav-item:last-child:hover { |
|
1279 |
background: #004fb3; |
|
1280 |
} |
|
1281 |
|
|
1282 |
header.map .nav-item .btn-secondary { |
|
1283 |
display: inline-block; |
|
1284 |
outline: none; |
|
1285 |
padding: 0 30px; |
|
1286 |
background: url("../img/btn-refresh.svg") no-repeat center center; |
|
1287 |
} |
|
1288 |
|
|
1289 |
header.map .nav-item .btn-secondary:hover { |
|
1290 |
background: url("../img/btn-refresh.svg") no-repeat center center !important; |
|
1291 |
} |
|
1292 |
|
|
1293 |
@media (max-width: 991.98px) { |
|
1294 |
header.map .nav-item .btn-secondary { |
|
1295 |
width: 100%; |
|
1296 |
padding: 20px; |
|
1297 |
border-radius: 5px; |
|
1298 |
} |
|
1299 |
} |
|
1300 |
|
|
1301 |
header.map .nav-item input:hover { |
|
1302 |
background: rgba(255, 255, 255, 0.2); |
|
1303 |
} |
|
1304 |
|
|
1305 |
header.map .nav-item input:focus { |
|
1306 |
background: #ffffff; |
|
1307 |
color: #000; |
|
1308 |
} |
|
1309 |
|
|
1310 |
.dropdown { |
|
1311 |
min-width: 200px; |
|
1312 |
} |
|
1313 |
|
|
1314 |
.dropdown input[type="radio"]:checked ~ label { |
|
1315 |
font-weight: 800; |
|
1316 |
} |
|
1317 |
|
|
1318 |
.dropdown .btn { |
|
1319 |
width: 100%; |
|
1320 |
text-align: left; |
|
1321 |
letter-spacing: .4px; |
|
1322 |
color: #ffffff; |
|
1323 |
background: #0048A9; |
|
1324 |
} |
|
1325 |
|
|
1326 |
.dropdown .btn:hover { |
|
1327 |
background: #336dba; |
|
1322 |
margin: 1em 0 1em 0; |
|
1328 | 1323 |
} |
1329 | 1324 |
|
1330 |
.dropdown .dropdown-menu { |
|
1331 |
width: 100%; |
|
1332 |
max-height: 300px; |
|
1333 |
overflow-y: auto; |
|
1334 |
z-index: 1001; |
|
1325 |
.leaflet-popup-content-wrapper .popup-pagination button, .leaflet-popup-tip .popup-pagination button { |
|
1326 |
height: 32px; |
|
1327 |
width: 32px; |
|
1328 |
border: 0; |
|
1329 |
border-radius: 24px; |
|
1330 |
background: url("../img/btn-prev.svg") rgba(255, 255, 255, 0.1) no-repeat center center; |
|
1331 |
transition: background 0.3s ease-out; |
|
1332 |
outline: none !important; |
|
1335 | 1333 |
} |
1336 | 1334 |
|
1337 |
.dropdown .dropdown-item:active {
|
|
1338 |
background: #0048A9;
|
|
1335 |
.leaflet-popup-content-wrapper .popup-pagination button:hover, .leaflet-popup-tip .popup-pagination button:hover {
|
|
1336 |
background: url("../img/btn-prev.svg") rgba(125, 125, 125, 0.1) no-repeat center center;
|
|
1339 | 1337 |
} |
1340 | 1338 |
|
1341 |
.dropdown .dropdown-item label { |
|
1342 |
width: 100% !important; |
|
1343 |
margin-left: 0; |
|
1344 |
cursor: pointer; |
|
1339 |
.leaflet-popup-content-wrapper .popup-pagination button.next, .leaflet-popup-tip .popup-pagination button.next { |
|
1340 |
background: url("../img/btn-next.svg") rgba(255, 255, 255, 0.1) no-repeat center center; |
|
1345 | 1341 |
} |
1346 | 1342 |
|
1347 |
.dropdown #dropdown-time .dropdown-item:nth-of-type(even) {
|
|
1348 |
background: rgba(0, 0, 0, 0.05);
|
|
1343 |
.leaflet-popup-content-wrapper .popup-pagination button.next:hover, .leaflet-popup-tip .popup-pagination button.next:hover {
|
|
1344 |
background: url("../img/btn-next.svg") rgba(125, 125, 125, 0.1) no-repeat center center;
|
|
1349 | 1345 |
} |
1350 | 1346 |
|
1351 |
.dropdown #dropdown-time .dropdown-item:nth-of-type(even):active {
|
|
1352 |
background: #0048A9;
|
|
1347 |
.leaflet-popup-content-wrapper .popup-pagination p, .leaflet-popup-tip .popup-pagination p {
|
|
1348 |
margin: auto;
|
|
1353 | 1349 |
} |
website/public/css/style.scss | ||
---|---|---|
11 | 11 |
|
12 | 12 |
$primary-text-color: #ffffff; |
13 | 13 |
|
14 |
$heatmap-nav-border-color: #1C6CC0; |
|
15 |
$heatmap-nav-button-bg-color: #0057be; |
|
16 |
|
|
14 | 17 |
$images-dir: '../img/'; |
15 | 18 |
|
16 | 19 |
|
... | ... | |
154 | 157 |
background: $primary-bg-color !important; |
155 | 158 |
} |
156 | 159 |
} |
157 |
|
|
158 |
// NAVIGACE NA STRÁNCE S MAPOU |
|
159 |
&.map { |
|
160 |
@include media-breakpoint-down(md) { |
|
161 |
.navbar-nav { |
|
162 |
width: 100%; |
|
163 |
} |
|
164 |
} |
|
165 |
|
|
166 |
form { |
|
167 |
display: flex; |
|
168 |
margin: auto; |
|
169 |
} |
|
170 |
|
|
171 |
label { |
|
172 |
margin: 0 0 0 15px; |
|
173 |
font-size: 16px; |
|
174 |
letter-spacing: .4px; |
|
175 |
} |
|
176 |
|
|
177 |
input, .custom-select { |
|
178 |
letter-spacing: .4px; |
|
179 |
color: $primary-text-color; |
|
180 |
border-color: $primary-bg-color; |
|
181 |
background: $primary-bg-color; |
|
182 |
|
|
183 |
&::placeholder { |
|
184 |
color: $primary-text-color; |
|
185 |
opacity: 1; |
|
186 |
} |
|
187 |
} |
|
188 |
|
|
189 |
.nav-item { |
|
190 |
margin: 0; |
|
191 |
border-right: 1px solid #1C6CC0; |
|
192 |
|
|
193 |
@include media-breakpoint-down(md) { |
|
194 |
margin-bottom: 20px; |
|
195 |
border: 0; |
|
196 |
} |
|
197 |
|
|
198 |
&:nth-of-type(3) { |
|
199 |
.dropdown { |
|
200 |
height: calc(100% + 10px) !important; |
|
201 |
margin: -5px; |
|
202 |
margin-top: -7px; |
|
203 |
|
|
204 |
.dropdown-menu { |
|
205 |
top: calc(100% - 4px); |
|
206 |
} |
|
207 |
|
|
208 |
button { |
|
209 |
padding-left: 20px; |
|
210 |
border-radius: 0; |
|
211 |
} |
|
212 |
|
|
213 |
@include media-breakpoint-down(md) { |
|
214 |
height: 100% !important; |
|
215 |
margin: 0px; |
|
216 |
flex-direction: column; |
|
217 |
|
|
218 |
button { |
|
219 |
padding-left: 12px; |
|
220 |
border-radius: 5px; |
|
221 |
} |
|
222 |
} |
|
223 |
} |
|
224 |
} |
|
225 |
|
|
226 |
@include media-breakpoint-down(md) { |
|
227 |
&:nth-of-type(4) { |
|
228 |
border-radius: 5px; |
|
229 |
} |
|
230 |
} |
|
231 |
|
|
232 |
&:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3) { |
|
233 |
width: 300px; |
|
234 |
|
|
235 |
@media (max-width: 1500px) { |
|
236 |
width: 280px; |
|
237 |
} |
|
238 |
|
|
239 |
@media (max-width: 1400px) { |
|
240 |
width: 230px; |
|
241 |
} |
|
242 |
|
|
243 |
@media (max-width: 1400px) { |
|
244 |
max-width: 230px; |
|
245 |
width: auto; |
|
246 |
} |
|
247 |
|
|
248 |
@include media-breakpoint-down(md) { |
|
249 |
max-width: none; |
|
250 |
} |
|
251 |
} |
|
252 |
} |
|
253 |
} |
|
254 | 160 |
} |
255 | 161 |
|
256 | 162 |
h1 { |
... | ... | |
653 | 559 |
} |
654 | 560 |
} |
655 | 561 |
|
562 |
|
|
563 |
// DODATEČNÉ POZADÍ NA KAŽDÉM ZE SLIDŮ |
|
564 |
.slide-background { |
|
565 |
width: 650px; |
|
566 |
height: 290px; |
|
567 |
z-index: 1; |
|
568 |
position: absolute; |
|
569 |
bottom: 0; |
|
570 |
left: 0; |
|
571 |
background: url($images-dir + 'footer-bg.svg') no-repeat; |
|
572 |
|
|
573 |
@include media-breakpoint-down(md) { |
|
574 |
width: 320px; |
|
575 |
height: 143px; |
|
576 |
background-size: 100%; |
|
577 |
} |
|
578 |
} |
|
579 |
|
|
580 |
|
|
581 |
// COPYRIGHT |
|
582 |
div.copyright { |
|
583 |
p { |
|
584 |
font-weight: 400; |
|
585 |
} |
|
586 |
|
|
587 |
span { |
|
588 |
font-size: 17px; |
|
589 |
} |
|
590 |
} |
|
591 |
|
|
592 |
|
|
593 |
// LOGA V SEKCI "O PROJEKTU" |
|
594 |
p.logos-partners { |
|
595 |
margin-top: 40px; |
|
596 |
text-align: right; |
|
597 |
|
|
598 |
a { |
|
599 |
text-decoration: none; |
|
600 |
|
|
601 |
img { |
|
602 |
margin-left: 50px; |
|
603 |
height: 80px; |
|
604 |
|
|
605 |
@media only screen and (max-width: 430px) { |
|
606 |
height: 70px; |
|
607 |
margin-left: 0; |
|
608 |
} |
|
609 |
|
|
610 |
@media only screen and (max-width: 340px) { |
|
611 |
height: 60px; |
|
612 |
} |
|
613 |
} |
|
614 |
|
|
615 |
&:first-of-type img { |
|
616 |
margin-left: 0; |
|
617 |
} |
|
618 |
} |
|
619 |
} |
|
620 |
|
|
621 |
|
|
622 |
|
|
623 |
// ---------------------------------------- HEATMAPA ---------------------------------------- |
|
624 |
|
|
625 |
|
|
626 |
// WRAPPER HEATMAPY |
|
656 | 627 |
#heatmap { |
657 | 628 |
height: 100%; |
658 | 629 |
} |
659 | 630 |
|
660 | 631 |
|
661 |
// SEZNAM LOKACÍ NA MAPĚ |
|
632 |
// HLAVIČKA (FORMULÁŘ) NA STRÁNCE S HEATMAPOU |
|
633 |
header.map { |
|
634 |
@include media-breakpoint-down(md) { |
|
635 |
.navbar-nav { |
|
636 |
width: 100%; |
|
637 |
} |
|
638 |
} |
|
639 |
|
|
640 |
form { |
|
641 |
display: flex; |
|
642 |
margin: auto; |
|
643 |
} |
|
644 |
|
|
645 |
label { |
|
646 |
margin: 0 0 0 15px; |
|
647 |
font-size: 16px; |
|
648 |
letter-spacing: .4px; |
|
649 |
} |
|
650 |
|
|
651 |
input { |
|
652 |
letter-spacing: .4px; |
|
653 |
color: $primary-text-color; |
|
654 |
border-color: $primary-bg-color; |
|
655 |
background: $primary-bg-color; |
|
656 |
|
|
657 |
&::placeholder { |
|
658 |
color: $primary-text-color; |
|
659 |
opacity: 1; |
|
660 |
} |
|
661 |
} |
|
662 |
|
|
663 |
// JEDNOTLIVÉ POLOŽKY FORMULÁŘE |
|
664 |
.nav-item { |
|
665 |
padding: 5px; |
|
666 |
margin: auto 0; |
|
667 |
border-right: 1px solid $heatmap-nav-border-color; |
|
668 |
|
|
669 |
@include media-breakpoint-down(md) { |
|
670 |
margin-bottom: 10px; |
|
671 |
border: 0; |
|
672 |
} |
|
673 |
|
|
674 |
&:nth-of-type(1), &:nth-of-type(2), &:nth-of-type(3) { |
|
675 |
width: 300px; |
|
676 |
|
|
677 |
@media (max-width: 1500px) { |
|
678 |
width: 280px; |
|
679 |
} |
|
680 |
|
|
681 |
@media (max-width: 1400px) { |
|
682 |
width: 230px; |
|
683 |
} |
|
684 |
|
|
685 |
@media (max-width: 1400px) { |
|
686 |
max-width: 230px; |
|
687 |
width: auto; |
|
688 |
} |
|
689 |
|
|
690 |
@include media-breakpoint-down(md) { |
|
691 |
max-width: none; |
|
692 |
} |
|
693 |
} |
|
694 |
|
|
695 |
// WRAPPER U VÝBĚRU DATOVÝCH SAD |
|
696 |
&:nth-child(3) { |
|
697 |
padding: 0; |
|
698 |
margin: 0; |
|
699 |
border: 0; |
|
700 |
|
|
701 |
@include media-breakpoint-down(md) { |
|
702 |
padding: 5px; |
|
703 |
} |
|
704 |
|
|
705 |
.dropdown { |
|
706 |
display: flex; |
|
707 |
height: 100%; |
|
708 |
|
|
709 |
@include media-breakpoint-down(md) { |
|
710 |
flex-direction: column; |
|
711 |
} |
|
712 |
|
|
713 |
.dropdown-menu { |
|
714 |
top: calc(100% - 5px); |
|
715 |
} |
|
716 |
|
|
717 |
button { |
|
718 |
padding-left: 20px; |
|
719 |
border-radius: 0; |
|
720 |
|
|
721 |
@include media-breakpoint-down(md) { |
|
722 |
padding-left: 12px; |
|
723 |
border-radius: 5px; |
|
724 |
} |
|
725 |
} |
|
726 |
} |
|
727 |
} |
|
728 |
|
|
729 |
// TLAČÍTKO PRO ODESLÁNÍ FORMULÁŘE PRO ZMĚNU PARAMETRŮ HEATMAPY |
|
730 |
&:last-child { |
|
731 |
margin-top: 0; |
|
732 |
margin-bottom: 0; |
|
733 |
border-left: 1px solid $heatmap-nav-border-color; |
|
734 |
background: $heatmap-nav-button-bg-color; |
|
735 |
|
|
736 |
@include media-breakpoint-down(md) { |
|
737 |
margin: 10px 5px 0 5px; |
|
738 |
border-radius: 5px; |
|
739 |
border: 0; |
|
740 |
} |
|
741 |
|
|
742 |
&:hover { |
|
743 |
background: $primary-bg-color-darker; |
|
744 |
} |
|
745 |
|
|
746 |
.btn-secondary { |
|
747 |
display: inline-block; |
|
748 |
outline: none; |
|
749 |
padding: 0 30px; |
|
750 |
background: url($images-dir + 'btn-refresh.svg') no-repeat center center; |
|
751 |
|
|
752 |
&:hover { |
|
753 |
background: url($images-dir + 'btn-refresh.svg') no-repeat center center !important; |
|
754 |
} |
|
755 |
|
|
756 |
@include media-breakpoint-down(md) { |
|
757 |
width: 100%; |
|
758 |
padding: 20px; |
|
759 |
border-radius: 5px; |
|
760 |
} |
|
761 |
} |
|
762 |
} |
|
763 |
|
|
764 |
// DATEPICKER |
|
765 |
input { |
|
766 |
&:hover { |
|
767 |
background: rgba(255, 255, 255, .2); |
|
768 |
} |
|
769 |
|
|
770 |
&:focus { |
|
771 |
background: $primary-text-color; |
|
772 |
color: $black; |
|
773 |
} |
|
774 |
} |
|
775 |
|
|
776 |
// MENU PRO VÝBĚR ČASU/DATOVÝCH SAD |
|
777 |
.dropdown { |
|
778 |
min-width: 200px; |
|
779 |
|
|
780 |
.btn { |
|
781 |
width: 100%; |
|
782 |
text-align: left; |
|
783 |
letter-spacing: .4px; |
|
784 |
color: $primary-text-color; |
|
785 |
background: $primary-bg-color; |
|
786 |
|
|
787 |
&:hover { |
|
788 |
background: $input-bg-hover; |
|
789 |
} |
|
790 |
} |
|
791 |
|
|
792 |
.dropdown-menu { |
|
793 |
width: 100%; |
|
794 |
max-height: 300px; |
|
795 |
overflow-y: auto; |
|
796 |
z-index: 1001; |
|
797 |
|
|
798 |
.dropdown-item { |
|
799 |
&:active { |
|
800 |
background: $primary-bg-color; |
|
801 |
} |
|
802 |
|
|
803 |
label { |
|
804 |
width: 100% !important; |
|
805 |
margin-left: 0; |
|
806 |
cursor: pointer; |
|
807 |
} |
|
808 |
} |
|
809 |
} |
|
810 |
|
|
811 |
#dropdown-time .dropdown-item:nth-of-type(even) { |
|
812 |
background: rgba(0,0,0,.05); |
|
813 |
|
|
814 |
&:active { |
|
815 |
background: $primary-bg-color; |
|
816 |
} |
|
817 |
} |
|
818 |
|
|
819 |
input[type="radio"]:checked ~ label { |
|
820 |
font-weight: 800; |
|
821 |
} |
|
822 |
} |
|
823 |
} |
|
824 |
} |
|
825 |
|
|
826 |
|
|
827 |
// MENU SE SEZNAMEM LOKACÍ NA MAPĚ |
|
662 | 828 |
.map-locations { |
663 | 829 |
position: absolute; |
664 | 830 |
top: 95px; |
... | ... | |
667 | 833 |
border-radius: 22px; |
668 | 834 |
background-color: rgba(11, 21, 90, .7); |
669 | 835 |
|
836 |
// KRATŠÍ NADPIS PRO MENŠÍ ROZLIŠENÍ |
|
670 | 837 |
.mobile { |
671 | 838 |
display: none; |
672 | 839 |
} |
... | ... | |
691 | 858 |
right: 10px; |
692 | 859 |
} |
693 | 860 |
|
861 |
// NADPIS PRO OTEVŘENÍ / SKRYTÍ SEZNAMU LOKACÍ |
|
694 | 862 |
.menu { |
695 | 863 |
width: 100%; |
696 | 864 |
display: inline-block; |
... | ... | |
701 | 869 |
opacity: 1; |
702 | 870 |
background: $secondary-bg-color; |
703 | 871 |
|
872 |
// IKONKA V NADPISU |
|
704 | 873 |
.circle { |
705 | 874 |
display: inline-block; |
706 | 875 |
width: 40px; |
... | ... | |
724 | 893 |
} |
725 | 894 |
} |
726 | 895 |
|
896 |
// SEZNAM LOKACÍ |
|
727 | 897 |
.locations { |
728 | 898 |
z-index: 1000; |
729 | 899 |
|
... | ... | |
769 | 939 |
bottom: -30px; |
770 | 940 |
} |
771 | 941 |
|
942 |
// TLAČÍTKA PRO OVLÁDÁNÍ ANIMACE HEATMAPY |
|
772 | 943 |
.next-btn, .prev-btn, .animate-btn, .lock-btn { |
773 | 944 |
display: inline-block; |
774 | 945 |
width: 42px; |
... | ... | |
782 | 953 |
background: $secondary-bg-color; |
783 | 954 |
cursor: pointer; |
784 | 955 |
|
956 |
@media (max-width: 320px) { |
|
957 |
margin-right: 15px; |
|
958 |
} |
|
959 |
|
|
785 | 960 |
&:hover { |
786 | 961 |
opacity: 1; |
787 | 962 |
} |
... | ... | |
797 | 972 |
} |
798 | 973 |
} |
799 | 974 |
|
975 |
// TLAČÍTKO START / STOP ANIMACE |
|
800 | 976 |
.animate-btn { |
801 | 977 |
width: 57px; |
802 | 978 |
height: 57px; |
... | ... | |
827 | 1003 |
} |
828 | 1004 |
} |
829 | 1005 |
|
1006 |
// TLAČÍTKO DALŠÍ KROK ANIMACE |
|
830 | 1007 |
.next-btn { |
831 | 1008 |
@include media-breakpoint-down(md) { |
832 | 1009 |
order: 3; |
... | ... | |
841 | 1018 |
} |
842 | 1019 |
} |
843 | 1020 |
|
1021 |
// TLAČÍTKO PŘEDCHOZÍ KROK ANIMACE |
|
844 | 1022 |
.prev-btn { |
845 | 1023 |
@include media-breakpoint-down(md) { |
846 | 1024 |
order: 2; |
... | ... | |
851 | 1029 |
} |
852 | 1030 |
} |
853 | 1031 |
|
1032 |
// WRAPPER ČASOVÉ OSY |
|
854 | 1033 |
.timeline-wrapper { |
855 | 1034 |
display: flex; |
856 | 1035 |
|
... | ... | |
861 | 1040 |
} |
862 | 1041 |
} |
863 | 1042 |
|
1043 |
// DATUM |
|
864 | 1044 |
.date { |
865 | 1045 |
display: flex; |
866 | 1046 |
align-items: center; |
... | ... | |
901 | 1081 |
padding: 3px 6px 4px 12px; |
902 | 1082 |
} |
903 | 1083 |
|
1084 |
// ZÁMEČEK PRO UZAMČENÍ ANIMACE V KONKRÉTNÍM DATU |
|
904 | 1085 |
.lock-btn { |
905 | 1086 |
width: 26px; |
906 | 1087 |
height: 26px; |
... | ... | |
923 | 1104 |
} |
924 | 1105 |
} |
925 | 1106 |
|
1107 |
// ČASOVÁ OSA |
|
926 | 1108 |
.timeline { |
927 | 1109 |
display: flex; |
928 | 1110 |
height: 30px; |
... | ... | |
942 | 1124 |
margin: 4px 0 0 0; |
943 | 1125 |
} |
944 | 1126 |
|
1127 |
// JEDEN DÍLEK ČASOVÉ OSY |
|
945 | 1128 |
.hour { |
946 | 1129 |
cursor: pointer; |
947 | 1130 |
|
... | ... | |
973 | 1156 |
} |
974 | 1157 |
} |
975 | 1158 |
|
1159 |
// POSLEDNÍ DÍLEK ČASOVÉ OSY |
|
976 | 1160 |
.end-dot:before { |
977 | 1161 |
content: ""; |
978 | 1162 |
display: inline-block; |
... | ... | |
988 | 1172 |
} |
989 | 1173 |
} |
990 | 1174 |
|
1175 |
// ČAS NA ČASOVÉ OSE |
|
991 | 1176 |
.time { |
992 | 1177 |
display: flex; |
993 | 1178 |
justify-content: center; |
... | ... | |
1000 | 1185 |
cursor: ew-resize; |
1001 | 1186 |
background: $secondary-bg-color; |
1002 | 1187 |
|
1003 |
.custom-spinner-border { |
|
1004 |
margin: 3px 0 4px 0; |
|
1005 |
} |
|
1006 |
|
|
1007 | 1188 |
@include media-breakpoint-up(lg) { |
1008 | 1189 |
position: absolute; |
1009 | 1190 |
|
... | ... | |
1032 | 1213 |
&.hour-22 {left: 550px;} |
1033 | 1214 |
&.hour-23 {left: 585px;} |
1034 | 1215 |
} |
1035 |
} |
|
1036 |
} |
|
1037 |
|
|
1038 |
|
|
1039 |
.slide-background { |
|
1040 |
width: 650px; |
|
1041 |
height: 290px; |
|
1042 |
z-index: 1; |
|
1043 |
position: absolute; |
|
1044 |
bottom: 0; |
|
1045 |
left: 0; |
|
1046 |
background: url($images-dir + 'footer-bg.svg') no-repeat; |
|
1047 |
|
|
1048 |
@include media-breakpoint-down(md) { |
|
1049 |
width: 320px; |
|
1050 |
height: 143px; |
|
1051 |
background-size: 100%; |
|
1052 |
} |
|
1053 |
} |
|
1054 |
|
|
1055 |
|
|
1056 |
// COPYRIGHT |
|
1057 |
div.copyright { |
|
1058 |
p { |
|
1059 |
font-weight: 400; |
|
1060 |
} |
|
1061 |
|
|
1062 |
span { |
|
1063 |
font-size: 17px; |
|
1064 |
} |
|
1065 |
} |
|
1066 |
|
|
1067 |
|
|
1068 |
// LOGA V SEKCI "O PROJEKTU" |
|
1069 |
p.logos-partners { |
|
1070 |
margin-top: 40px; |
|
1071 |
text-align: right; |
|
1072 |
|
|
1073 |
a { |
|
1074 |
text-decoration: none; |
|
1075 |
|
|
1076 |
img { |
|
1077 |
margin-left: 50px; |
|
1078 |
height: 80px; |
|
1079 |
|
|
1080 |
@media only screen and (max-width: 430px) { |
|
1081 |
height: 70px; |
|
1082 |
margin-left: 0; |
|
1083 |
} |
|
1084 |
|
|
1085 |
@media only screen and (max-width: 340px) { |
|
1086 |
height: 60px; |
|
1087 |
} |
|
1088 |
} |
|
1089 | 1216 |
|
1090 |
&:first-of-type img { |
|
1091 |
margin-left: 0; |
|
1217 |
// NAČÍTÁNÍ |
|
1218 |
.custom-spinner-border { |
|
1219 |
margin: 3px 0 4px 0; |
|
1092 | 1220 |
} |
1093 | 1221 |
} |
1094 | 1222 |
} |
... | ... | |
1099 | 1227 |
font-family: 'Be Vietnam', sans-serif; |
1100 | 1228 |
text-align: center; |
1101 | 1229 |
color: $primary-text-color; |
1102 |
} |
|
1103 | 1230 |
|
1104 |
.leaflet-popup-content-wrapper {
|
|
1105 |
.leaflet-popup-content strong {
|
|
1231 |
// INFORMACE O LOKACI / NÁZEV DATASETU
|
|
1232 |
strong { |
|
1106 | 1233 |
display: inline-block; |
1107 | 1234 |
margin-bottom: 8px; |
1108 | 1235 |
} |
1109 | 1236 |
|
1110 |
.popup-controls { |
|
1237 |
// HODNOTA V POPUPU |
|
1238 |
#place-intesity { |
|
1239 |
display: flex; |
|
1240 |
align-items: center; |
|
1241 |
justify-content: center; |
|
1242 |
font-family: monospace; |
|
1243 |
font-size: 24pt; |
|
1244 |
font-weight: 700; |
|
1245 |
|
|
1246 |
#sum-number { |
|
1247 |
margin-left: 5px; |
|
1248 |
font-size: 11pt; |
|
1249 |
} |
|
1250 |
} |
|
1251 |
|
|
1252 |
// STRÁNKOVÁNÍ V POPUPU |
|
1253 |
.popup-pagination { |
|
1111 | 1254 |
display: flex; |
1112 | 1255 |
margin: 1em 0 1em 0; |
1113 | 1256 |
|
1114 |
.circle-button {
|
|
1257 |
button { |
|
1115 | 1258 |
height: 32px; |
1116 | 1259 |
width: 32px; |
1117 | 1260 |
border: 0; |
... | ... | |
1132 | 1275 |
} |
1133 | 1276 |
} |
1134 | 1277 |
} |
1135 |
} |
|
1136 |
|
|
1137 |
#place-intesity { |
|
1138 |
display: flex; |
|
1139 |
align-items: center; |
|
1140 |
justify-content: center; |
|
1141 |
font-family: monospace; |
|
1142 |
font-size: 24pt; |
|
1143 |
font-weight: 700; |
|
1144 |
} |
|
1145 |
|
|
1146 |
#part-info { |
|
1147 |
margin-left: 5px; |
|
1148 |
font-size: 11pt; |
|
1149 |
} |
|
1150 |
|
|
1151 |
#pages { |
|
1152 |
margin: auto; |
|
1153 |
color: $primary-text-color; |
|
1154 |
} |
|
1155 |
} |
|
1156 |
|
|
1157 |
// ÚPRAVA VZHLEDU HLAVIČKY NA STRÁNCE S HEATMAPOU |
|
1158 |
header.map .nav-item { |
|
1159 |
padding: 5px; |
|
1160 |
margin-top: auto; |
|
1161 |
margin-bottom: auto; |
|
1162 |
|
|
1163 |
&:nth-child(3) { |
|
1164 |
margin-top: 0; |
|
1165 |
margin-bottom: 0; |
|
1166 |
border: 0; |
|
1167 |
|
|
1168 |
.dropdown { |
|
1169 |
display: flex; |
|
1170 |
height: 100%; |
|
1171 |
} |
|
1172 |
} |
|
1173 |
|
|
1174 |
&:last-child { |
|
1175 |
margin-top: 0; |
|
1176 |
margin-bottom: 0; |
|
1177 |
border-left: 1px solid #1C6CC0; |
|
1178 |
background: #0057be; |
|
1179 |
|
|
1180 |
@include media-breakpoint-down(md) { |
|
1181 |
margin: 10px 5px 0 5px; |
|
1182 |
border: 0; |
|
1183 |
} |
|
1184 |
|
|
1185 |
&:hover { |
|
1186 |
background: $primary-bg-color-darker; |
|
1187 |
} |
|
1188 |
} |
|
1189 |
|
|
1190 |
// TLAČÍTKO PRO ODESLÁNÍ FORMULÁŘE PRO ZMĚNU PARAMETRŮ HEATMAPY |
|
1191 |
.btn-secondary { |
|
1192 |
display: inline-block; |
|
1193 |
outline: none; |
|
1194 |
padding: 0 30px; |
|
1195 |
background: url($images-dir + 'btn-refresh.svg') no-repeat center center; |
|
1196 |
|
|
1197 |
&:hover { |
|
1198 |
background: url($images-dir + 'btn-refresh.svg') no-repeat center center !important; |
|
1199 |
} |
|
1200 |
|
|
1201 |
@include media-breakpoint-down(md) { |
|
1202 |
width: 100%; |
|
1203 |
padding: 20px; |
|
1204 |
border-radius: 5px; |
|
1205 |
} |
|
1206 |
} |
|
1207 |
|
|
1208 |
input { |
|
1209 |
&:hover { |
|
1210 |
background: rgba(255, 255, 255, .2); |
|
1211 |
} |
|
1212 |
|
|
1213 |
&:focus { |
|
1214 |
background: $primary-text-color; |
|
1215 |
color: #000; |
|
1216 |
} |
|
1217 |
} |
|
1218 |
} |
|
1219 |
|
|
1220 |
|
|
1221 |
// MENU PRO VÝBĚR ČASU/DATOVÝCH SAD |
|
1222 |
.dropdown { |
|
1223 |
min-width: 200px; |
|
1224 | 1278 |
|
1225 |
input[type="radio"]:checked ~ label { |
|
1226 |
font-weight: 800; |
|
1227 |
} |
|
1228 |
|
|
1229 |
.btn { |
|
1230 |
width: 100%; |
|
1231 |
text-align: left; |
|
1232 |
letter-spacing: .4px; |
|
1233 |
color: $primary-text-color; |
|
1234 |
background: $primary-bg-color; |
|
1235 |
|
|
1236 |
&:hover { |
|
1237 |
background: $input-bg-hover; |
|
1238 |
} |
|
1239 |
} |
|
1240 |
|
|
1241 |
.dropdown-menu { |
|
1242 |
width: 100%; |
|
1243 |
max-height: 300px; |
|
1244 |
overflow-y: auto; |
|
1245 |
z-index: 1001; |
|
1246 |
} |
|
1247 |
|
|
1248 |
.dropdown-item { |
|
1249 |
&:active { |
|
1250 |
background: $primary-bg-color; |
|
1251 |
} |
|
1252 |
|
|
1253 |
label { |
|
1254 |
width: 100% !important; |
|
1255 |
margin-left: 0; |
|
1256 |
cursor: pointer; |
|
1257 |
} |
|
1258 |
} |
|
1259 |
|
|
1260 |
#dropdown-time .dropdown-item:nth-of-type(even) { |
|
1261 |
background: rgba(0,0,0,.05); |
|
1262 |
|
|
1263 |
&:active { |
|
1264 |
background: $primary-bg-color; |
|
1279 |
// POČET STRÁNEK |
|
1280 |
p { |
|
1281 |
margin: auto; |
|
1265 | 1282 |
} |
1266 | 1283 |
} |
1267 | 1284 |
} |
website/public/js/zcu-heatmap.js | ||
---|---|---|
328 | 328 |
} |
329 | 329 |
|
330 | 330 |
const getPaginationButtonsInPopup = (currentPage, countPages) => ({ |
331 |
previousButton: '<button id="btn-previous-page" class="circle-button" onclick="setPreviousPageInPopup()"></button>',
|
|
332 |
pagesList: `<div id="pages">${currentPage} z ${countPages}</div>`,
|
|
333 |
nextButton: '<button id="btn-next-page" class="circle-button next" onclick="setNextPageInPopup()"></button>'
|
|
331 |
previousButton: '<button type="button" id="btn-popup-previous-page" onclick="setPreviousPageInPopup()"></button>',
|
|
332 |
pagesList: `<p id="pages">${currentPage} z ${countPages}</p>`,
|
|
333 |
nextButton: '<button type="button" id="btn-popup-next-page" class="next" onclick="setNextPageInPopup()"></button>'
|
|
334 | 334 |
}) |
335 | 335 |
|
336 | 336 |
const disablePopupPaginationButtons = () => { |
337 |
$('#btn-previous-page').prop('disabled', true) |
|
338 |
$('#btn-next-page').prop('disabled', true) |
|
339 |
$('.popup-controls').hide()
|
|
337 |
$('#btn-popup-previous-page').prop('disabled', true)
|
|
338 |
$('#btn-popup-next-page').prop('disabled', true)
|
|
339 |
$('.popup-pagination').hide()
|
|
340 | 340 |
} |
341 | 341 |
|
342 | 342 |
const generatePopupPaginationButtons = (controls) => { |
343 |
return `<div class="popup-controls">${controls ? controls.reduce((sum, item) => sum + item, '') : ''}</div>`
|
|
343 |
return `<div class="popup-pagination">${controls ? controls.reduce((sum, item) => sum + item, '') : ''}</div>`
|
|
344 | 344 |
} |
345 | 345 |
|
346 | 346 |
const getCountPagesInPopup = () => { |
... | ... | |
399 | 399 |
const popupData = ` |
400 | 400 |
<div id="place-intesity"> |
401 | 401 |
<span id="current-number">${currentCount}</span> |
402 |
<span id="part-info">${(sum && sum !== Number(currentCount)) ? '/' + sum : ''}</span>
|
|
402 |
<span id="sum-number">${(sum && sum !== Number(currentCount)) ? '/' + sum : ''}</span>
|
|
403 | 403 |
</div>` |
404 | 404 |
const { previousButton, nextButton, pagesList } = getPaginationButtonsInPopup(currentPage, countPages) |
405 | 405 |
|
... | ... | |
478 | 478 |
|
479 | 479 |
if (!countDatasets) { |
480 | 480 |
if (mymap._popup) { |
481 |
$('#part-info').text('')
|
|
481 |
$('#sum-number').text('')
|
|
482 | 482 |
$('#current-number').html(0) |
483 | 483 |
disablePopupPaginationButtons() |
484 | 484 |
} |
Také k dispozici: Unified diff
Re #8163 - CSS, JS refactoring