drupal - responsive popravki frontpage, footer, menu, ceniki, generic site

This commit is contained in:
urospodkriznik 2022-10-10 17:29:21 +02:00
parent 23ff87d77b
commit 35025e358f
7 changed files with 263 additions and 71 deletions

View File

@ -943,6 +943,39 @@ body {
width: 35%; width: 35%;
line-height: 1.4; } line-height: 1.4; }
@media screen and (max-width: 991px) {
.slider-right {
height: auto;
margin-top: 40px; } }
@media screen and (max-width: 479px) {
.slider-right {
height: 335px !important;
margin-top: 10px !important;
margin-bottom: -40px !important; }
.slider-title {
font-size: 30px !important;
margin-bottom: 20px !important;
font-weight: 400 !important; }
.slider-subtitle {
margin-bottom: 20px !important; }
.section-title {
padding: 0 !important; }
.section-title .title {
font-size: 23px !important;
line-height: 29px !important; }
.flexcol .content {
padding: 0 !important; }
.blok .text {
font-size: 40px !important;
line-height: 40px !important; }
.pridruzi-se-nam .row {
flex-direction: column; } }
.breadcrumbs { .breadcrumbs {
display: -webkit-box; display: -webkit-box;
display: -webkit-flex; display: -webkit-flex;
@ -1030,6 +1063,13 @@ ul.seznam-tem {
font-size: 18px; font-size: 18px;
font-weight: 400; } font-weight: 400; }
@media screen and (max-width: 479px) {
ul.quicktabs-tabs li {
margin: 0 !important;
padding: 10px !important; }
ul.quicktabs-tabs li a {
font-size: 15px;
line-height: 19px; } }
.modal, .rexister-modal { .modal, .rexister-modal {
position: fixed; position: fixed;
left: 0%; left: 0%;
@ -2151,6 +2191,12 @@ nav.tabs {
.nav-menu .menu-icon img { .nav-menu .menu-icon img {
height: 35px; height: 35px;
cursor: pointer; } } cursor: pointer; } }
@media screen and (max-width: 479px) {
.nav-menu .menu-icon {
margin-right: 25px; }
.mobile-nav-menu {
min-width: unset; } }
#block-languageswitcher { #block-languageswitcher {
margin-right: 40px; } margin-right: 40px; }
#block-languageswitcher ul { #block-languageswitcher ul {
@ -2228,6 +2274,14 @@ a {
.blue-section .secondary-button-white { .blue-section .secondary-button-white {
color: white; } color: white; }
@media screen and (max-width: 479px) {
.div-block-17 .buttons-row {
flex-direction: column; }
.div-block-17 .buttons-row a {
max-width: unset;
width: unset; }
.div-block-17 .buttons-row a.main-button-white {
margin-bottom: 10px; } }
#search-api-page-block-form-iskanje { #search-api-page-block-form-iskanje {
display: flex; } display: flex; }
#search-api-page-block-form-iskanje .js-form-type-search { #search-api-page-block-form-iskanje .js-form-type-search {
@ -2424,7 +2478,8 @@ body {
img { img {
max-width: 100%; max-width: 100%;
vertical-align: middle; vertical-align: middle;
display: inline-block; } display: inline-block;
align-self: center; }
html.w-mod-touch * { html.w-mod-touch * {
background-attachment: scroll !important; } background-attachment: scroll !important; }
@ -4862,7 +4917,8 @@ p {
z-index: 3; z-index: 3;
padding-right: 20px; padding-right: 20px;
font-size: 16px; font-size: 16px;
font-weight: 600; } font-weight: 600;
align-self: center; }
.si { .si {
width: 50%; width: 50%;
@ -6439,16 +6495,24 @@ p {
font-size: 14px; } font-size: 14px; }
.compare-col.leftcol { .compare-col.leftcol {
-webkit-box-flex: 2;
-webkit-flex: 2;
-ms-flex: 2;
flex: 2; }
.ostale-storitve .compare-col.leftcol {
-webkit-box-flex: 100%; -webkit-box-flex: 100%;
-webkit-flex: 100%; -webkit-flex: 100%;
-ms-flex: 100%; -ms-flex: 100%;
flex: 100%; } flex: 100%; }
.h2-compare {
margin-bottom: 0 !important; }
.accordion-title:not(.title-cena) {
line-height: normal;
align-self: center;
min-height: 35px;
display: flex;
align-items: center; }
.accordion-title-block .accordion-icon {
margin-top: 0; }
.ostale-storitve .accordion-title-block { .ostale-storitve .accordion-title-block {
display: block; } display: block; }
.ostale-storitve .accordion-title-block .title-cena { .ostale-storitve .accordion-title-block .title-cena {
@ -6593,8 +6657,8 @@ p {
margin-right: 0px; } margin-right: 0px; }
.col { .col {
padding-right: 10px; padding-right: 0 !important;
padding-left: 10px; } padding-left: 0 !important; }
.col._6-12-12-12 { .col._6-12-12-12 {
-webkit-box-flex: 0; -webkit-box-flex: 0;
@ -6699,6 +6763,14 @@ p {
-ms-flex: 0 0 33.3333%; -ms-flex: 0 0 33.3333%;
flex: 0 0 33.3333%; } flex: 0 0 33.3333%; }
.ostale-storitve.compare-col {
padding-right: 2px;
padding-left: 2px;
-webkit-box-flex: 0;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1; }
.compare-col.leftcol { .compare-col.leftcol {
margin-top: 0px; margin-top: 0px;
padding-top: 0px; padding-top: 0px;
@ -6727,6 +6799,7 @@ p {
font-size: 14px; } font-size: 14px; }
.div-block-22 { .div-block-22 {
margin-top: 40px;
display: block; display: block;
-webkit-box-orient: horizontal; -webkit-box-orient: horizontal;
-webkit-box-direction: normal; -webkit-box-direction: normal;

View File

@ -549,3 +549,57 @@
line-height: 1.4; line-height: 1.4;
} }
} }
@media screen and (max-width: 991px) {
.slider-right {
height: auto;
margin-top: 40px;
}
}
@media screen and (max-width: 479px) {
.slider-right {
height: 335px !important;
margin-top: 10px !important;
margin-bottom: -40px !important;
}
.slider-title {
font-size: 30px !important;
margin-bottom: 20px !important;
font-weight: 400 !important;
}
.slider-subtitle {
margin-bottom: 20px !important;
}
.section-title {
padding: 0 !important;
.title {
font-size: 23px !important;
line-height: 29px !important;
}
}
.flexcol {
.content {
padding: 0 !important;
}
}
.blok {
.text {
font-size: 40px !important;
line-height: 40px !important;
}
}
.pridruzi-se-nam{
.row{
flex-direction: column;
}
}
}

View File

@ -825,6 +825,7 @@ p {
padding-right: 20px; padding-right: 20px;
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
align-self: center;
} }
.si { .si {
@ -2658,14 +2659,6 @@ p {
font-size: 14px; font-size: 14px;
} }
.compare-col.leftcol {
-webkit-box-flex: 2;
-webkit-flex: 2;
-ms-flex: 2;
flex: 2;
}
.ostale-storitve{
.compare-col.leftcol { .compare-col.leftcol {
-webkit-box-flex: 100%; -webkit-box-flex: 100%;
-webkit-flex: 100%; -webkit-flex: 100%;
@ -2673,6 +2666,25 @@ p {
flex: 100%; flex: 100%;
} }
.h2-compare {
margin-bottom: 0 !important;
}
.accordion-title:not(.title-cena){
line-height: normal;
align-self: center;
min-height: 35px;
display: flex;
align-items: center;
}
.accordion-title-block{
.accordion-icon{
margin-top: 0;
}
}
.ostale-storitve{
.accordion-title-block{ .accordion-title-block{
display: block; display: block;
@ -2864,8 +2876,8 @@ p {
} }
.col { .col {
padding-right: 10px; padding-right: 0 !important;
padding-left: 10px; padding-left: 0 !important;
} }
.col._6-12-12-12 { .col._6-12-12-12 {
@ -2997,6 +3009,16 @@ p {
flex: 0 0 33.3333%; flex: 0 0 33.3333%;
} }
.ostale-storitve.compare-col {
padding-right: 2px;
padding-left: 2px;
-webkit-box-flex: 0;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.compare-col.leftcol { .compare-col.leftcol {
margin-top: 0px; margin-top: 0px;
padding-top: 0px; padding-top: 0px;
@ -3031,6 +3053,7 @@ p {
} }
.div-block-22 { .div-block-22 {
margin-top: 40px;
display: block; display: block;
-webkit-box-orient: horizontal; -webkit-box-orient: horizontal;
-webkit-box-direction: normal; -webkit-box-direction: normal;

View File

@ -59,6 +59,7 @@ img {
max-width: 100%; max-width: 100%;
vertical-align: middle; vertical-align: middle;
display: inline-block; display: inline-block;
align-self: center;
} }
html.w-mod-touch * { html.w-mod-touch * {
background-attachment: scroll !important; background-attachment: scroll !important;

View File

@ -3,3 +3,19 @@
color: white; color: white;
} }
} }
@media screen and (max-width: 479px) {
.div-block-17{
.buttons-row{
flex-direction: column;
a{
max-width: unset;
width: unset;
&.main-button-white{
margin-bottom: 10px;
}
}
}
}
}

View File

@ -406,3 +406,15 @@ nav.tabs {
} }
} }
} }
@media screen and (max-width: 479px) {
.nav-menu {
.menu-icon {
margin-right: 25px;
}
}
.mobile-nav-menu{
min-width: unset;
}
}

View File

@ -75,3 +75,16 @@ ul.seznam-tem{
} }
} }
} }
@media screen and (max-width: 479px) {
ul.quicktabs-tabs{
li{
margin: 0 !important;
padding: 10px !important;
a{
font-size: 15px;
line-height: 19px;
}
}
}
}