Files
kobcrane-montaze.pl/layout/style-scss/style.scss
2024-04-11 10:58:06 +02:00

849 lines
14 KiB
SCSS

// out: ../style-css/style.css, compress: false, sourceMap: true
@import "_mixins";
$cGrayLight: #999999;
$cGray: #4b4a48;
$cBlue: #0061a5;
$cBlack: #222931;
@include respond-above(lg) {
.container {
max-width: 1170px;
}
}
* {
font-family: 'Lato';
}
.row {
&.center {
@include justify-content(center);
}
}
.centeralign {
@include flexbox;
@include justify-content(center);
}
.box {
padding: 30px 0;
}
.title-bordered {
font-weight: 400;
font-size: 24px;
color: $cBlack;
position: relative;
padding-bottom: 5px;
&:after {
content: '';
display: block;
position: absolute;
bottom: 0;
left: 0;
width: 100px;
border-bottom: 2px solid $cBlue;
@include transition;
}
}
.btn-primary {
background: $cBlue;
@include border-radius(0);
color: #FFF !important;
border: 0;
font-size: 13px;
@include transition;
&:hover {
background: $cGray;
}
}
.btn-info {
background: $cBlue;
color: #FFF !important;
border: 0;
padding: 10px 25px;
text-transform: uppercase;
font-weight: 600;
@include transition;
position: relative;
@include border-radius(0);
}
.btn-more {
color: $cBlue !important;
padding: 10px 25px;
text-transform: uppercase;
font-weight: 600;
@include transition;
position: relative;
&.btn-primary {
background: none;
color: $cBlue;
border: 0;
margin: auto;
display: block;
width: 100%;
max-width: 300px;
}
&:before,
&:after {
left: 50%;
transform: translateX(-50%);
content: '';
@include transition;
height: 2px;
background: $cBlue;
width: 0px;
position: absolute;
}
&:before {
top: 0;
}
&:after {
bottom: 0;
}
&:hover {
letter-spacing: 1px;
font-weight: 600;
&:before,
&:after {
width: 100%;
}
}
}
.main-menu {
background: $cBlue;
}
#main-menu {
@include respond-above(sm) {
margin-left: -25px;
}
@include respond-below(sm) {
height: 100%;
width: 100%;
position: fixed;
z-index: 10;
background: #FFF;
display: none;
&.visible {
@include flexbox;
background: $cBlue;
top: 0;
left: 0;
text-align: center;
}
}
div[id^='menu-container-'] {
@include respond-below(sm) {
width: 100%;
@include flexbox;
@include align-items(center);
@include justify-content(center);
}
ul {
margin: 0;
padding: 0;
list-style-type: none;
@include respond-above(sm) {
@include flexbox;
}
@include respond-below(sm) {
width: 100%;
}
@include respond-between(sm, md) {
@include justify-content(center);
}
li {
position: relative;
&#link-20 {
margin-left: auto;
position: relative;
@include respond-below(md) {
display: none;
}
&:before {
content: "\f0e0";
display: inline-block;
font: normal normal normal 18px/1 FontAwesome;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #FFF;
position: relative;
top: 8px;
float: left;
}
a {
border-right: 0;
margin-right: -25px;
}
}
&.parent {
>a {
@include respond-above(sm) {
pointer-events: none;
}
}
}
>a {
color: #FFF;
display: block;
padding: 8px 25px;
text-transform: uppercase;
border-right: 1px solid #FFF;
font-size: 13px;
@include respond-above(lg) {
text-align: center;
min-width: 170px;
}
@include transition;
&:hover {
background: $cGray;
text-decoration: none;
}
i {
margin-left: 5px;
}
}
ul {
position: absolute;
display: none;
background: #FFF;
z-index: 100;
padding: 0;
@include respond-above(sm) {
@include box-shadow(0 2px 10px 0 rgba(64, 64, 63, 0.2));
}
@include respond-below(sm) {
position: static;
}
li {
a {
color: $cBlack;
white-space: nowrap;
font-size: 13px;
text-align: left;
&:hover {
color: #FFF;
}
}
}
}
@include respond-above(sm) {
&:hover {
ul {
display: block;
}
}
}
&.active {
ul {
display: block;
}
}
}
}
}
}
#main-menu-btn {
height: 50px;
width: 50px;
position: fixed;
bottom: 10px;
right: 10px;
color: #FFF;
background: #000;
display: none;
z-index: 9999;
line-height: 50px;
text-align: center;
font-size: 25px;
cursor: pointer;
@include border-radius(50%);
@include respond-below(sm) {
display: block;
}
}
.top {
padding: 25px 0 0;
.logo {
@include respond-above(sm) {
left: -31px;
position: relative;
}
@include respond-below(md) {
margin-bottom: 25px;
}
a {
display: block;
width: 100%;
max-width: 300px;
margin: auto;
img {
height: 100%;
width: 100%;
object-fit: contain;
}
}
}
#menu-container-1 {
ul {
list-style-type: none;
padding: 0;
@include respond-above(md) {
@include justify-content(flex-end);
}
@include respond-below(md) {
@include justify-content(center);
}
@include respond-above(sm) {
@include flexbox;
}
li {
margin-left: 1px;
a {
display: block;
color: #FFF;
font-size: 12px;
background: $cGrayLight;
@include transition;
padding: 4px 15px;
font-weight: 600;
@include respond-below(sm) {
text-align: center;
font-size: 13px;
}
&:hover {
text-decoration: none;
background: $cGray;
}
}
}
}
}
.phone {
@include flexbox;
@include justify-content(flex-end);
@include respond-below(md) {
@include justify-content(center);
}
a {
color: $cGrayLight;
@include transition;
font-weight: 600;
.fa {
color: $cBlue;
font-size: 26px;
position: relative;
top: 4px;
}
&:hover {
color: $cBlue;
text-decoration: none;
}
}
}
#scontainer-2 {
padding-top: 5px;
font-weight: 500;
color: $cGrayLight;
font-size: 14px;
@include respond-below(md) {
display: none;
}
strong {
font-weight: 600;
color: #000;
}
}
}
.banners {
width: 100%;
max-width: 1920px;
margin: auto;
height: 750px;
background: #999999;
.banners-container {
>div {
height: 750px;
@include flexbox;
@include align-items(center);
@include justify-content(center);
background-repeat: no-repeat;
background-position: center;
.content {
max-width: 600px;
color: #FFF;
background: rgba(0, 0, 0, .33);
padding: 25px 50px;
text-align: center;
h1 {
font-size: 32px;
font-weight: 600;
margin-bottom: 25px;
}
p {
margin: 0;
}
.btn-more {
color: #FFF !important;
font-weight: 300;
&:before,
&:after {
background: #FFF;
}
}
}
}
}
}
.main-text {
background: #eeeeee;
padding: 75px;
text-align: center;
h3 {
font-weight: 300;
font-size: 22px;
}
h2 {
margin-bottom: 25px;
color: $cBlue;
}
}
.icons {
padding: 75px 0;
h3 {
font-weight: 300;
font-size: 22px;
}
h2 {
margin-bottom: 50px;
color: $cBlue;
}
p {
font-size: 14px;
}
}
.footer {
padding: 10px 0px;
background: $cBlack;
#menu-container-1 {
margin: 10px 0px 10px 0px;
@include respond-below(sm) {
text-align: center;
}
ul {
padding: 0px;
list-style: none;
@include respond-above(md) {
@include flexbox;
@include justify-content(center);
}
li {
display: inline-block;
position: relative;
padding: 5px 22px 5px 0px;
a {
font-size: 14px;
color: #fff;
&:hover {
color: $cBlue;
text-decoration: none;
}
}
}
}
}
#copyright {
color: #a7a7a7;
;
font-size: 12px;
text-align: center;
a {
color: $cBlue;
}
}
}
#cookie-information {
background: #979797;
padding: 15px;
color: #e6e8e8;
font-size: 11px;
text-align: center;
a {
color: $cBlue;
}
}
.main {
@extend .box;
.site-title,
.article-title {
font-size: 25px;
font-weight: bold;
margin-bottom: 15px;
padding-bottom: 10px;
text-transform: uppercase;
color: $cBlue;
}
.article-entry {
padding: 15px;
border: 1px solid transparentize($cBlack, .9);
margin-bottom: 50px;
.article-title {
margin-bottom: 25px;
a {
@extend .title-bordered;
@include transition;
&:hover {
text-decoration: none;
color: $cBlue;
&:after {
left: 15px;
border-bottom: 2px solid $cBlack;
}
}
}
}
&.article-entry-12 {
.article-image {
max-width: 400px;
}
}
.article-image {
width: 100%;
max-width: 250px;
height: 250px;
margin-left: auto;
margin-right: auto;
margin-bottom: 15px;
img {
height: 100%;
width: 100%;
object-fit: contain;
}
}
.entry {
color: transparentize($cBlack, .25);
font-size: 14px;
line-height: 24px;
margin-bottom: 15px;
text-align: center;
}
}
.article {
.text {
.table-responsive {
font-size: 14px;
}
}
&.article-3 {
.text {
color: $cBlue;
}
}
}
}
#contact-additional-info {
font-size: 13px;
a {
color: $cBlue;
font-weight: 600;
@include transition;
&:hover {
color: #000;
text-decoration: none;
}
}
}
.contact-form {
font-size: 13px;
h4 {
font-size: 18px;
margin-bottom: 25px;
}
p {
margin-bottom: 15px;
font-size: 12px;
}
label {
font-weight: 600;
}
.form-control {
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857143;
color: #555555;
background-color: #ffffff;
background-image: none;
border: 1px solid #cccccc;
@include border-radius(0);
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
textarea.form-control {
height: 125px;
}
}
.article {
.text {
font-size: 14px;
a {
color: $cBlue;
}
}
.col-md-4 {
border: 1px solid transparentize($cBlack, .9);
padding: 15px;
margin: 0 15px;
@include respond-above(md) {
max-width: calc(33.33333% - 30px);
}
div[class^="col-"] {
p {
&:after {
content: '';
clear: both;
display: block;
}
}
}
}
}
.article-15 {
.text {
.col-md-6 {
border: 1px solid rgba(34, 41, 49, 0.1);
padding: 25px;
&:first-child {
@include respond-above(md) {
margin-right: 15px;
max-width: calc(50% - 15px);
}
}
&:last-child {
@include respond-above(md) {
margin-left: 15px;
max-width: calc(50% - 15px);
}
}
}
}
}
.page-2 {
.article {
padding: 50px 0;
position: relative;
&:before {
content: '';
display: inline-block;
width: 100%;
height: 1px;
background: $cGrayLight;
position: absolute;
bottom: 0;
opacity: .5;
}
p {
margin: 0;
}
h3 {
font-size: 20px;
padding-bottom: 10px;
margin-bottom: 10px;
color: $cGray;
position: relative;
&:before {
content: '';
display: inline-block;
width: 150px;
height: 2px;
background: $cBlue;
position: absolute;
bottom: 0;
}
}
.date-add {
margin-bottom: 10px;
font-size: 13px;
color: $cGrayLight;
.fa {
position: relative;
top: -2px;
}
}
}
.pager {
display: flex;
align-items: center;
justify-content: center;
list-style-type: none;
li {
margin: 10px;
a {
color: $cBlue;
}
}
}
}
.bx-wrapper {
.bx-pager {
position: relative !important;
margin-top: -50px;
z-index: 99;
bottom: 0 !important;
.bx-pager-item {
a {
background: #FFF !important;
&.active {
background: $cBlue !important;
}
}
}
}
}
.seo-additional-text {
font-size: 15px;
h2 {
font-size: 18px;
color: $cBlue;
font-weight: 600;
}
}