Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c236b33a

Přidáno uživatelem Martin Šebela před asi 4 roky(ů)

Feature/7926/gui

Zobrazit rozdíly:

website/public/css/style.css
1
@import url(https://fonts.googleapis.com/css2?family=Be+Vietnam:wght@400;600;700;800&display=swap);body,html{position:relative;height:96.2%;background:#242c6b}@media (max-width:767.98px){body,html{height:auto}}body{font-family:"Be Vietnam",sans-serif;color:#fff}header{height:70px;background:#0048a9}header .logo{width:450px;height:181px;position:absolute;top:70px;left:0;z-index:2;background:url(../img/header-bg.png)}@media (max-width:1400px){header .logo{display:none}}header .logo img{height:100px;position:relative;top:-50px;left:50px}header nav.navbar{height:70px;position:relative}header .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255,255,255)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")}@media (min-width:1401px){header .navbar-brand.shifted{position:absolute;top:0;left:450px}}@media (max-width:1199.98px){header .navbar-brand.shifted{left:20px}}@media (max-width:991.98px){header #navigation{width:100%;padding:20px;position:absolute;top:70px;left:0;z-index:2;opacity:.9;background:#004fb3}}header .nav-item{margin-right:40px}@media (max-width:1480px){header .nav-item{margin-right:30px}}@media (max-width:1440px){header .nav-item{margin-right:15px}}@media (max-width:1199.98px){header .nav-item{margin-right:30px}}@media (max-width:991.98px){header .nav-item{margin-right:0}}header .nav-item .active{font-weight:800}header .nav-item.button .nav-link{padding-left:22px;padding-right:22px;border:1px solid #fff;border-radius:20px}header .nav-item.button .nav-link:hover{background:#004fb3}header .btn-secondary{height:100%;font-size:16px;text-transform:uppercase;font-weight:800;letter-spacing:.4px;border-radius:0;border:#0048a9;background:#0048a9}header .btn-secondary:hover{background:#004fb3!important}@media (max-width:991.98px){header.map .navbar-nav{width:100%}}header.map form{display:-webkit-box;display:-ms-flexbox;display:flex}header.map label{margin:0 0 0 15px;font-size:16px;font-weight:800;letter-spacing:.4px}header.map .custom-select,header.map input{letter-spacing:.4px;color:#fff;border-color:#0048a9;background:#0048a9}header.map .custom-select:hover,header.map input:hover{background:#004fb3}header.map .nav-item{margin:0;border-right:1px solid #1c6cc0}@media (max-width:991.98px){header.map .nav-item{margin-bottom:20px;border:0}}header.map .nav-item:nth-of-type(1){margin-left:100px}@media (max-width:1199.98px){header.map .nav-item:nth-of-type(1){margin-left:0}}header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){width:300px}@media (max-width:1500px){header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){width:280px}}@media (max-width:1400px){header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){width:230px}}@media (max-width:1400px){header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){max-width:230px;width:auto}}@media (max-width:991.98px){header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){max-width:none}}header.map .nav-item:last-of-type{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center;margin:0 30px 0 160px;border:0}@media (max-width:1700px){header.map .nav-item:last-of-type{margin-left:80px}}@media (max-width:1500px){header.map .nav-item:last-of-type{margin-left:40px}}@media (max-width:1199.98px){header.map .nav-item:last-of-type{margin:0 10px 0 20px}}@media (max-width:991.98px){header.map .nav-item:last-of-type{width:100%;margin:30px 10px 0 0}header.map .nav-item:last-of-type h2{width:100%}}@media (max-width:991.98px){header.map .nav-item .btn{width:100%}}h1{text-transform:uppercase;font-size:21px;font-weight:700;letter-spacing:.53px}@media (min-width:992px){h1{line-height:55px}}h2{font-size:16px;font-weight:400;letter-spacing:.4px}@media (min-width:992px){h2{margin:0}}h3{font-size:38px;font-weight:800;letter-spacing:.95px}@media (max-width:575.98px){h3{font-size:28px}}a{color:#fff}a:hover{color:#fff}hr{width:300px;text-align:left;margin:30px 0;border-top:2px solid #fff}@media (max-width:1199.98px){hr{width:90%}}@media (max-width:575.98px){hr{margin:15px 0}}.swiper-container{height:100%;position:relative}.swiper-slide{z-index:-1000;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.swiper-slide.slide-bg-1{background:url(../img/bg-1.jpg) no-repeat bottom center;background-size:cover}.swiper-slide.slide-bg-2{background:url(../img/bg-2.jpg) no-repeat bottom center;background-size:cover}.swiper-slide.slide-bg-3{background:url(../img/bg-3.jpg) no-repeat bottom center;background-size:cover}.swiper-slide.slide-bg-3 .slide-text{width:750px}@media (max-width:1199.98px){.swiper-slide.slide-bg-3 .slide-text{width:100%}}.slide-text{width:600px;padding-bottom:160px;position:relative}@media (max-width:1199.98px){.slide-text{width:100%}}@media (max-width:1199.98px){.slide-text{padding-bottom:80px}}.slide-text .slide-index{display:inline-block;padding-bottom:20px;font-size:72px;font-weight:800}@media (max-width:575.98px){.slide-text .slide-index{padding-bottom:10px;font-size:48px}}.slide-text .btn-primary:after{content:"";display:inline-block;width:10px;height:16px;position:absolute;top:16px;right:20px;background:url(../img/btn-play.svg) no-repeat top right}.slide-text p{font-size:18px;font-weight:600}@media (max-width:575.98px){.slide-text p{font-size:16px}}.swiper-pagination-buttons{width:200px;height:56px;padding:6px;position:absolute;right:150px;bottom:20px;z-index:1;border-radius:100px;background:#0b155a}@media (max-width:1199.98px){.swiper-pagination-buttons{right:20px}}@media (max-width:767.98px){.swiper-pagination-buttons{width:120px}}.swiper-pagination-buttons .btn-next,.swiper-pagination-buttons .btn-prev{display:inline-block;width:45px;height:45px;position:relative;border-radius:50%;border:2px solid #fff}.swiper-pagination-buttons .btn-next:after,.swiper-pagination-buttons .btn-prev:after{content:"";display:inline-block;width:7px;height:12px;position:absolute;top:calc(50% - 6px);left:calc(50% - 4px)}.swiper-pagination-buttons .btn-prev:after{background:url(../img/btn-prev.svg) no-repeat top right}.swiper-pagination-buttons .btn-next{float:right}.swiper-pagination-buttons .btn-next:after{background:url(../img/btn-next.svg) no-repeat top right}.swiper-pagination-bullets{display:inline-block;width:auto!important;height:30px;position:absolute;left:20px!important;bottom:30px!important;border-radius:100px;opacity:.8;background:#0b155a}@media (min-width:992px){.swiper-pagination-bullets{left:50%!important;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}}@media (max-width:575.98px){.swiper-pagination-bullets{display:none}}.swiper-pagination-bullets:before{content:"";width:100px;position:absolute;top:13px;left:15px;z-index:1;border-top:2px solid #fff}.swiper-pagination-bullets .swiper-pagination-bullet{width:20px;height:20px;position:relative;margin:4px 15px!important;opacity:1;border:2px solid #0b155a;background:#0b155a}.swiper-pagination-bullets .swiper-pagination-bullet:before{content:"";display:inline-block;width:6px;height:6px;position:absolute;top:5px;left:5px;border-radius:50%;background:#fff}.swiper-pagination-bullets .swiper-pagination-bullet:first-of-type{margin-left:5px!important}.swiper-pagination-bullets .swiper-pagination-bullet:last-of-type{margin-right:5px!important}.swiper-pagination-bullets .swiper-pagination-bullet-active{border:2px solid #fff}.btn-primary{width:300px;height:50px;line-height:32px;position:relative;padding-left:30px;margin-top:40px;text-align:left;font-size:16px;text-transform:uppercase;letter-spacing:.4px;border-radius:30px;border:1px solid #0b155a;background:#0b155a}.btn-primary:active,.btn-primary:focus,.btn-primary:hover{border:1px solid #0048a9;background:#0048a9!important}@media (max-width:575.98px){.btn-primary{width:100%;max-width:270px;height:auto;margin-top:20px}}.btn-secondary{background:#0b155a}.btn-secondary:active,.btn-secondary:focus,.btn-secondary:hover{background:#7378a0!important}.map-point{width:50px;height:50px;z-index:1;position:absolute;border-radius:50%;cursor:pointer;border:2px solid #fff}@media (max-width:767.98px){.map-point{display:none}}.map-point:before{content:"";display:inline-block;width:16px;height:16px;position:absolute;top:calc(50% - 8px);left:calc(50% - 8px);background:url(../img/map-point-plus.svg) no-repeat}.map-point:hover:before{z-index:1;top:calc(50% - 1px);background:url(../img/map-point-minus.svg) no-repeat}.map-point:hover .desc{display:block;width:210px;padding:10px 20px;z-index:0;opacity:.75;border-radius:25px 0 25px 0;background:#0b155a}.map-point .desc{display:none}.map-point p{font-size:14px;font-weight:400}.map-point p:last-of-type{margin-bottom:10px}.map-point strong{display:inline-block;width:100%;padding:0 0 20px 40px;font-size:16px}.map-point .circle{width:50px;height:50px;position:absolute;top:-2px;left:-2px;border-radius:50%;border:2px solid #fff}.map-point.point-1{bottom:12%;right:-75%}.map-point.point-2{top:21%;right:-92%}.map-point.point-3{top:22%;right:-92%}#heatmap{height:100%}.slide-background{width:650px;height:290px;z-index:1;position:absolute;bottom:0;left:0;background:url(../img/footer-bg.svg) no-repeat}@media (max-width:575.98px){.slide-background{width:320px;height:143px;background-size:100%}}.logos-partners{margin-top:40px}.logos-partners a{text-decoration:none}.logos-partners a img{margin-left:50px;height:80px}@media only screen and (max-width:430px){.logos-partners a img{height:70px;margin-left:0}}@media only screen and (max-width:340px){.logos-partners a img{height:60px}}.logos-partners a:first-of-type img{margin-left:0}
1
@import url(https://fonts.googleapis.com/css2?family=Be+Vietnam:wght@400;600;700;800&display=swap);body,html{position:relative;height:96.2%;background:#242c6b}@media (max-width:767.98px){body,html{height:auto}}body{font-family:"Be Vietnam",sans-serif;color:#fff}header{height:70px;background:#0048a9}header .logo{width:450px;height:181px;position:absolute;top:70px;left:0;z-index:2;background:url(../img/header-bg.png)}@media (max-width:1400px){header .logo{display:none}}header .logo img{height:100px;position:relative;top:-50px;left:50px}header nav.navbar{height:70px;position:relative}header .navbar-toggler-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255,255,255)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E")}@media (min-width:1401px){header .navbar-brand.shifted{position:absolute;top:0;left:450px}}@media (max-width:1199.98px){header .navbar-brand.shifted{left:20px}}@media (max-width:991.98px){header #navigation{width:100%;padding:20px;position:absolute;top:70px;left:0;z-index:1001;opacity:.9;background:#004fb3}}header .nav-item{margin-right:40px}@media (max-width:1480px){header .nav-item{margin-right:30px}}@media (max-width:1440px){header .nav-item{margin-right:15px}}@media (max-width:1199.98px){header .nav-item{margin-right:30px}}@media (max-width:991.98px){header .nav-item{margin-right:0}}header .nav-item .active{font-weight:800}header .nav-item.button .nav-link{padding-left:22px;padding-right:22px;border:1px solid #fff;border-radius:20px}header .nav-item.button .nav-link:hover{background:#004fb3}header .navbar-button{padding:.5rem 22px;border:1px solid #fff;border-radius:20px;text-decoration:none}@media (max-width:991.98px){header .navbar-button{display:none}}header .navbar-button:hover{background:#004fb3}header .btn-secondary{height:100%;font-size:16px;text-transform:uppercase;font-weight:800;letter-spacing:.4px;border-radius:0;border:#0048a9;background:#004fb3}header .btn-secondary:hover{background:#0048a9!important}@media (max-width:991.98px){header.map .navbar-nav{width:100%}}header.map form{display:-webkit-box;display:-ms-flexbox;display:flex}header.map label{margin:0 0 0 15px;font-size:16px;font-weight:800;letter-spacing:.4px}header.map .custom-select,header.map input{letter-spacing:.4px;color:#fff;border-color:#0048a9;background:#0048a9}header.map .custom-select:hover,header.map input:hover{background:#004fb3}header.map .nav-item{margin:0;border-right:1px solid #1c6cc0}@media (max-width:991.98px){header.map .nav-item{margin-bottom:20px;border:0}}header.map .nav-item:nth-of-type(1){margin-left:100px}@media (max-width:1199.98px){header.map .nav-item:nth-of-type(1){margin-left:0}}header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){width:300px}@media (max-width:1500px){header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){width:280px}}@media (max-width:1400px){header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){width:230px}}@media (max-width:1400px){header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){max-width:230px;width:auto}}@media (max-width:991.98px){header.map .nav-item:nth-of-type(1),header.map .nav-item:nth-of-type(2),header.map .nav-item:nth-of-type(3){max-width:none}}header.map .nav-item:last-of-type{display:none;border:0}@media (max-width:991.98px){header.map .nav-item:last-of-type{display:block;width:100%;margin:30px 10px 0 0}header.map .nav-item:last-of-type h2{width:100%}}@media (max-width:991.98px){header.map .nav-item .btn{width:100%}}h1{text-transform:uppercase;font-size:21px;font-weight:700;letter-spacing:.53px}@media (min-width:992px){h1{line-height:55px}}h2{font-size:16px;font-weight:400;letter-spacing:.4px}@media (min-width:992px){h2{margin:0}}h3{font-size:38px;font-weight:800;letter-spacing:.95px}@media (max-width:575.98px){h3{font-size:28px}}a{color:#fff;outline:0}a:hover{color:#fff}hr{width:300px;text-align:left;margin:30px 0;border-top:2px solid #fff}@media (max-width:1199.98px){hr{width:90%}}@media (max-width:575.98px){hr{margin:15px 0}}.swiper-container{height:100%;position:relative}.swiper-slide{z-index:-1000;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.swiper-slide.slide-bg-1{background:url(../img/bg-1.jpg) no-repeat bottom center;background-size:cover}.swiper-slide.slide-bg-2{background:url(../img/bg-2.jpg) no-repeat bottom center;background-size:cover}.swiper-slide.slide-bg-3{background:url(../img/bg-3.jpg) no-repeat bottom center;background-size:cover}.swiper-slide.slide-bg-3 .slide-text{width:750px}@media (max-width:1199.98px){.swiper-slide.slide-bg-3 .slide-text{width:100%}}.slide-text{width:600px;padding-bottom:160px;position:relative}@media (max-width:1199.98px){.slide-text{width:100%}}@media (max-width:1199.98px){.slide-text{padding-bottom:80px}}.slide-text .slide-index{display:inline-block;padding-bottom:20px;font-size:72px;font-weight:800}@media (max-width:575.98px){.slide-text .slide-index{padding-bottom:10px;font-size:48px}}.slide-text .btn-primary:after{content:"";display:inline-block;width:10px;height:16px;position:absolute;top:16px;right:20px;background:url(../img/btn-play.svg) no-repeat top right}.slide-text p{font-size:18px;font-weight:600}@media (max-width:575.98px){.slide-text p{font-size:16px}}.swiper-pagination-buttons{width:200px;height:56px;padding:6px;position:absolute;right:150px;bottom:20px;z-index:1;border-radius:100px;background:#0b155a}@media (max-width:1199.98px){.swiper-pagination-buttons{right:20px}}@media (max-width:767.98px){.swiper-pagination-buttons{width:120px}}.swiper-pagination-buttons .btn-next,.swiper-pagination-buttons .btn-prev{display:inline-block;width:45px;height:45px;position:relative;border-radius:50%;border:2px solid #fff}.swiper-pagination-buttons .btn-next:after,.swiper-pagination-buttons .btn-prev:after{content:"";display:inline-block;width:7px;height:12px;position:absolute;top:calc(50% - 6px);left:calc(50% - 4px)}.swiper-pagination-buttons .btn-prev:after{background:url(../img/btn-prev.svg) no-repeat top right}.swiper-pagination-buttons .btn-next{float:right}.swiper-pagination-buttons .btn-next:after{background:url(../img/btn-next.svg) no-repeat top right}.swiper-pagination-bullets{display:inline-block;width:auto!important;height:30px;position:absolute;left:20px!important;bottom:30px!important;border-radius:100px;opacity:.8;background:#0b155a}@media (min-width:992px){.swiper-pagination-bullets{left:50%!important;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}}@media (max-width:575.98px){.swiper-pagination-bullets{display:none}}.swiper-pagination-bullets:before{content:"";width:100px;position:absolute;top:13px;left:15px;z-index:1;border-top:2px solid #fff}.swiper-pagination-bullets .swiper-pagination-bullet{width:20px;height:20px;position:relative;margin:4px 15px!important;opacity:1;border:2px solid #0b155a;background:#0b155a}.swiper-pagination-bullets .swiper-pagination-bullet:before{content:"";display:inline-block;width:6px;height:6px;position:absolute;top:5px;left:5px;border-radius:50%;background:#fff}.swiper-pagination-bullets .swiper-pagination-bullet:first-of-type{margin-left:5px!important}.swiper-pagination-bullets .swiper-pagination-bullet:last-of-type{margin-right:5px!important}.swiper-pagination-bullets .swiper-pagination-bullet-active{border:2px solid #fff}.btn-primary{width:300px;height:50px;line-height:32px;position:relative;padding-left:30px;margin-top:40px;text-align:left;font-size:16px;text-transform:uppercase;letter-spacing:.4px;border-radius:30px;border:1px solid #0b155a;background:#0b155a}.btn-primary:active,.btn-primary:focus,.btn-primary:hover{border:1px solid #0048a9;background:#0048a9!important}@media (max-width:575.98px){.btn-primary{width:100%;max-width:270px;height:auto;margin-top:20px}}.btn-secondary{background:#0b155a}.btn-secondary:active,.btn-secondary:focus,.btn-secondary:hover{background:#7378a0!important}.map-point{width:50px;height:50px;z-index:1;position:absolute;border-radius:50%;cursor:pointer;border:2px solid #fff}@media (max-width:767.98px){.map-point{display:none}}.map-point:before{content:"";display:inline-block;width:16px;height:16px;position:absolute;top:calc(50% - 8px);left:calc(50% - 8px);background:url(../img/map-point-plus.svg) no-repeat}.map-point:hover:before{z-index:1;top:calc(50% - 1px);background:url(../img/map-point-minus.svg) no-repeat}.map-point:hover .desc{display:block;width:210px;padding:10px 20px;z-index:0;opacity:.75;border-radius:25px 0 25px 0;background:#0b155a}.map-point .desc{display:none}.map-point p{font-size:14px;font-weight:400}.map-point p:last-of-type{margin-bottom:10px}.map-point strong{display:inline-block;width:100%;padding:0 0 20px 40px;font-size:16px}.map-point .circle{width:50px;height:50px;position:absolute;top:-2px;left:-2px;border-radius:50%;border:2px solid #fff}.map-point.point-1{bottom:12%;right:-75%}.map-point.point-2{top:21%;right:-92%}.map-point.point-3{top:22%;right:-92%}#heatmap{height:100%}.map-locations{position:absolute;right:50px;top:110px;z-index:1000;border-radius:22px;background-color:rgba(11,21,90,.7)}.map-locations .menu{position:relative;padding:10px 60px 13px 16px;margin-bottom:10px;border-radius:50px;opacity:1;background:#0b155a}.map-locations .menu .circle{display:inline-block;width:40px;height:40px;position:absolute;top:3px;right:3px;border-radius:50%;border:2px solid #fff}.map-locations .menu .circle:after{content:"";display:inline-block;width:16px;height:16px;position:absolute;top:calc(50% - 8px);left:calc(50% - 8px);background:url(../img/map-point-plus.svg) no-repeat}.map-locations .locations ul{padding-left:36px;padding-right:20px;font-size:15px;list-style-image:url(../img/li-bullet.svg)}.map-locations .locations li{margin-bottom:10px;cursor:pointer}.player{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);bottom:-40px;z-index:1000}.player .next,.player .play,.player .prev{display:inline-block;width:50px;height:50px;margin-right:20px;position:relative;border-radius:50%;opacity:.7;border:2px solid #fff;-webkit-box-shadow:0 0 0 4px #0b155a;box-shadow:0 0 0 4px #0b155a;background:#0b155a;cursor:pointer}.player .next:after,.player .play:after,.player .prev:after{content:"";display:inline-block;width:7px;height:12px;position:absolute;top:calc(50% - 6px);left:calc(50% - 4px)}.player .play{width:65px;height:65px;opacity:1}.player .play:after{width:10px;height:16px;top:calc(50% - 8px);left:calc(50% - 2px);background:url(../img/btn-play.svg) no-repeat top right}.player .next:after{background:url(../img/btn-next.svg) no-repeat top right}.player .prev:after{background:url(../img/btn-prev.svg) no-repeat top right}.player .time{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:64px;font-size:15px;padding:3px 0 4px 0;border-radius:15px;background:#0b155a}.slide-background{width:650px;height:290px;z-index:1;position:absolute;bottom:0;left:0;background:url(../img/footer-bg.svg) no-repeat}@media (max-width:575.98px){.slide-background{width:320px;height:143px;background-size:100%}}.logos-partners{margin-top:40px}.logos-partners a{text-decoration:none}.logos-partners a img{margin-left:50px;height:80px}@media only screen and (max-width:430px){.logos-partners a img{height:70px;margin-left:0}}@media only screen and (max-width:340px){.logos-partners a img{height:60px}}.logos-partners a:first-of-type img{margin-left:0}
website/public/css/style.scss
74 74
      position: absolute;
75 75
      top: 70px;
76 76
      left: 0;
77
      z-index: 2;
77
      z-index: 1001;
78 78
      opacity: .9;
79 79
      background: #004fb3;
80 80
    }
......
117 117
    }
118 118
  }
119 119

  
120
  .navbar-button {
121
    padding: .5rem 22px;
122
    border: 1px solid #fff;
123
    border-radius: 20px;
124
    text-decoration: none;
125

  
126
    @include media-breakpoint-down(md) {
127
      display: none;
128
    }
129

  
130
    &:hover {
131
      background: #004fb3;
132
    }
133
  }
134

  
120 135
  .btn-secondary {
121 136
    height: 100%;
122 137
    font-size: 16px;
......
125 140
    letter-spacing: 0.4px;
126 141
    border-radius: 0;
127 142
    border: #0048A9;
128
    background: #0048A9;
143
    background: #004fb3;
129 144

  
130 145
    &:hover {
131
      background: #004fb3 !important;
146
      background: #0048A9 !important;
132 147
    }
133 148
  }
134 149

  
......
201 216
      }
202 217

  
203 218
      &:last-of-type {
204
        display: flex;
205
        align-items: center;
206
        align-self: center;
207
        margin: 0 30px 0 160px;
219
        display: none;
208 220
        border: 0;
209 221

  
210
        @media (max-width: 1700px) {
211
          margin-left: 80px;
212
        }
222
        /*@include media-breakpoint-down(lg) {
213 223

  
214
        @media (max-width: 1500px) {
215
          margin-left: 40px;
216
        }
217

  
218
        @include media-breakpoint-down(lg) {
219 224
          margin: 0 10px 0 20px;
220
        }
225
        }*/
221 226

  
222 227
        @include media-breakpoint-down(md) {
228
          display: block;
223 229
          width: 100%;
224 230
          margin: 30px 10px 0 0;
225 231

  
......
271 277

  
272 278
a {
273 279
  color: #fff;
280
  outline: none;
274 281

  
275 282
  &:hover {
276 283
    color: #fff;
......
623 630
  height: 100%;
624 631
}
625 632

  
633

  
634
// SEZNAM LOKACÍ NA MAPĚ
635
.map-locations {
636
  position: absolute;
637
  right: 50px;
638
  top: 110px;
639
  z-index: 1000;
640
  border-radius: 22px;
641
  background-color: rgba(11, 21, 90, .7);
642

  
643
  .menu {
644
    position: relative;
645
    padding: 10px 60px 13px 16px;
646
    margin-bottom: 10px;
647
    border-radius: 50px;
648
    opacity: 1;
649
    background: #0B155A;
650

  
651
    .circle {
652
      display: inline-block;
653
      width: 40px;
654
      height: 40px;
655
      position: absolute;
656
      top: 3px;
657
      right: 3px;
658
      border-radius: 50%;
659
      border: 2px solid #fff;
660

  
661
      &:after {
662
        content: "";
663
        display: inline-block;
664
        width: 16px;
665
        height: 16px;
666
        position: absolute;
667
        top: calc(50% - 8px);
668
        left: calc(50% - 8px);
669
        background: url($images-dir + 'map-point-plus.svg') no-repeat;
670
      }
671
    }
672
  }
673

  
674
  .locations {
675
    ul {
676
      padding-left: 36px;
677
      padding-right: 20px;
678
      font-size: 15px;
679
      list-style-image: url($images-dir + 'li-bullet.svg');
680
    }
681

  
682
    li {
683
      margin-bottom: 10px;
684
      cursor: pointer;
685
    }
686
  }
687
}
688

  
689

  
690
// PŘEHRÁVAČ HEATMAPY
691
.player {
692
  width: 100%;
693
  display: flex;
694
  justify-content: center;
695
  align-items: center;
696
  position: absolute;
697
  left: 50%;
698
  transform: translateX(-50%);
699
  bottom: -40px;
700
  z-index: 1000;
701

  
702
  .next, .prev, .play {
703
    display: inline-block;
704
    width: 50px;
705
    height: 50px;
706
    margin-right: 20px;
707
    position: relative;
708
    border-radius: 50%;
709
    opacity: .7;
710
    border: 2px solid #fff;
711
    box-shadow: 0 0 0 4px #0B155A;
712
    background: #0B155A;
713
    cursor: pointer;
714

  
715
    &:after {
716
      content: "";
717
      display: inline-block;
718
      width: 7px;
719
      height: 12px;
720
      position: absolute;
721
      top: calc(50% - 6px);
722
      left: calc(50% - 4px);
723
    }
724
  }
725

  
726
  .play {
727
    width: 65px;
728
    height: 65px;
729
    opacity: 1;
730

  
731
    &:after {
732
      width: 10px;
733
      height: 16px;
734
      top: calc(50% - 8px);
735
      left: calc(50% - 2px);
736
      background: url($images-dir + 'btn-play.svg') no-repeat top right;
737
    }
738
  }
739

  
740
  .next:after {
741
    background: url($images-dir + 'btn-next.svg') no-repeat top right;
742
  }
743

  
744
  .prev:after {
745
    background: url($images-dir + 'btn-prev.svg') no-repeat top right;
746
  }
747

  
748
  .time {
749
    display: flex;
750
    justify-content: center;
751
    align-items: center;
752
    width: 64px;
753
    font-size: 15px;
754
    padding: 3px 0 4px 0;
755
    border-radius: 15px;
756
    background: #0B155A;
757
  }
758
}
759

  
760

  
626 761
.slide-background {
627 762
  width: 650px;
628 763
  height: 290px;
website/public/img/li-bullet.svg
1
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"><circle cx="6" cy="6" r="5.25" fill="none" stroke="#fff" stroke-width="1.5"/><circle cx="6" cy="6" r="2" fill="#fff"/></svg>
website/public/js/zcu-heatmap.js
1 1
var mymap;
2
var startX = 49.7248;
3
var startY = 13.3521;
4
var startZoom = 17;
2 5

  
6
function initMap() {
7
  mymap = L.map('heatmap').setView([startX, startY], startZoom);
3 8

  
4
function initMap(x = 49.724, y = 13.352, zoom = 17) {
5

  
6
    mymap = L.map('heatmap').setView([x, y], zoom);
7

  
8
    L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
9
        attribution: '&copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>',
10
        maxZoom: 19
11
    }).addTo(mymap);
12
    
13
    
9
  L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
10
    attribution: '',
11
    maxZoom: 19
12
  }).addTo(mymap);
13
}
14 14

  
15
function setMapView(latitude = startX, longitude = startY, zoom = startZoom) {
16
  mymap.setView([latitude, longitude], zoom);
15 17
}
16 18

  
17 19
function showHeatmap(route) {
18

  
19
    $.ajax({
20
        type: "POST",
21
        url: route, 
22
        success: function(result) {
23
            drawHeatmap(result);
24
        }
25
    });
26

  
20
  $.ajax({
21
    type: "POST",
22
    url: route,
23
    success: function(result) {
24
      drawHeatmap(result);
25
    }
26
  });
27 27
}
28 28

  
29 29
function drawHeatmap(points) {
30
        
31
    // Flipped x and y
32
    points = points.map(function (p) { return [p['y'], p['x'], p['number']]; });
33

  
34
    L.heatLayer(points).addTo(mymap), draw = true;
35

  
36
}
37
            
38
            
39

  
30
  points = points.map(function (p) { return [p['y'], p['x'], p['number']]; });
40 31

  
32
  L.heatLayer(points).addTo(mymap), draw = true;
33
}
website/templates/base.html.twig
1 1
<!DOCTYPE html>
2
<html lang='cs'>
2
<html lang="cs">
3 3
    <head>
4 4
        <meta charset="utf-8">
5
        
5 6
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6 7
        <meta name="description" content="Heatmapa kampusu Západočeské univerzity v Plzni">
7
        <meta name="keywords" content="heatmap, opendata, západočeská univerzita, zču">
8
        <meta name="author" content="BHVS - Tomáš Ballák, Petr Hlaváč, Jakub Vašta, Martin Šebela">
8
        <meta name="keywords" content="heatmap, opendata, západočeská univerzita, zču, plzeň">
9
        <meta name="author" content="BHVS &ndash; Tomáš Ballák, Petr Hlaváč, Jakub Vašta, Martin Šebela">
9 10

  
10 11
        <link rel="shortcut icon" href="favicon.ico">
11 12

  
website/templates/heatmap.html.twig
21 21
      </button>
22 22

  
23 23
      <div class="collapse navbar-collapse" id="navigation">
24
        <form method="get" class="ml-auto">
24
        <form method="get">
25 25
          <ul class="navbar-nav">
26 26
            <li class="nav-item">
27 27
              <label for="date">Vyberte datum</label>
......
61 61
            <li class="nav-item">
62 62
              <label for="dataset">Vybrané datové sady</label>
63 63
              <select name="dataset" id="dataset" class="custom-select">
64
                <option value="internet">Wi-Fi a drátové připojení</option>
65
                <option value="jis">JIS snímače</option>
64 66
                <option value="scoobikes">koloběžky</option>
65 67
              </select>
66 68
            </li>
......
79 81
          </ul>
80 82
        </form>
81 83
      </div>
84

  
85
      <a href="{{ path('home') }}" class="navbar-button">
86
        <h2>
87
          O&nbsp;projektu
88
        </h2>
89
      </a>
82 90
    </nav>
83 91
  </header>
84 92

  
93
  <div class="map-locations">
94
    <div class="menu">
95
      Prohlédněte si jednotlivé oblasti
96
      <div class="circle"></div>
97
    </div>
98
    <div class="locations">
99
      <ul>
100
        <li onclick="setMapView()">Kampus ZČU</li>
101
        <li onclick="setMapView(49.7452769, 13.3700668, 19)">FZS &ndash; Fakulta zdravotnických studií</li>
102
        <li onclick="setMapView(49.7489485, 13.3757721, 19)">FF &ndash; Filozofická fakulta</li>
103
        <li onclick="setMapView(49.7368263, 13.3709177, 19)">FPE &ndash; Pedagogická fakulta</li>
104
        <li onclick="setMapView(49.7471633, 13.3738511, 19)">FPR &ndash; Právnická fakulta</li>
105
        <li onclick="setMapView(49.7236785, 13.3353118, 18)">NTC &ndash; výzkumné centrum</li>
106
        <li onclick="setMapView(49.7346564, 13.3585038, 19)">Koleje Borská</li>
107
        <li onclick="setMapView(49.7250373, 13.3696772, 19)">Koleje Bory</li>
108
        <li onclick="setMapView(49.7600000, 13.3723463, 19)">Koleje Lochotín</li>
109
      </ul>
110
    </div>
111
  </div>
112

  
113
  <div class="player">
114
    <div class="prev" onclick="alert('prev')"></div>
115
    <div class="play" onclick="alert('play')"></div>
116
    <div class="next" onclick="alert('next')"></div>
117

  
118
    <div class="time">12:00</div>
119
  </div>
120

  
85 121
  <div id="heatmap"></div>
86 122
  
87 123
{% endblock %}
......
94 130
    <script src="{{ asset('js/leaflet-heat.js') }}"></script>
95 131
    <script src="{{ asset('js/zcu-heatmap.js') }}"></script>
96 132
    <script>
97

  
98 133
       initMap();
99 134
       showHeatmap("{{ path('opendata', {'collectionName':'open-data-db.KOLOBEZKY31102018'}) }}");
100

  
101 135
    </script>
102 136

  
103 137
{% endblock %}

Také k dispozici: Unified diff