PATH:
root
/
polmet2scss
@import "_config"; // // PROCESSING LISTS OF STANDARD BASIC STYLES // // FONT SIZES // @for $i from 1 through length($font-sizes) { // .font-#{nth($font-sizes, $i)} { // font-size: rem-size(nth($font-sizes, $i) * 1px, 18px); // } // } // // FONT FAMILIES // @each $font-name, $font-family in $fonts { // .font-#{$font-name} { // font-family: $font-family; // } // } // // FONT WEIGHTS // @each $font-weight, $weight in $font-weights { // .font-#{$font-weight} { // font-weight: $weight; // } // .font-#{$weight} { // font-weight: $weight; // } // } // // COLORS // @each $class, $color in $colors { // .font-#{$class} { // color: $color; // } // .bg-#{$class} { // background-color: $color; // } // .border-l-#{$class} { // border-left-color: $color; // } // .border-r-#{$class} { // border-right-color: $color; // } // .border-t-#{$class} { // border-top-color: $color; // } // .border-b-#{$class} { // border-bottom-color: $color; // } // .border-#{$class} { // border-color: $color; // } // } // // MARGINS // @each $name, $amount in $margins-sides { // .margin-sides-#{$name} { // margin-left: rem-size($amount); // margin-right: rem-size($amount); // } // .margin-sides-auto-#{$name} { // width: rem-size($width-original - $amount * 2); // margin-left: auto; // margin-right: auto; // } // .margin-sides-percent-#{$name} { // margin-left: percent(strip-units($amount), strip-units($width-original)); // margin-right: percent(strip-units($amount), strip-units($width-original)); // } // .margin-sides-percent-width-#{$name} { // width: percent(strip-units($width-original - $amount * 2), strip-units($width-original)); // margin-left: auto; // margin-right: auto; // } // } // // PADDINGS // @each $name, $amount in $paddings-sides { // .padding-sides-#{$name} { // padding-left: rem-size($amount); // padding-right: rem-size($amount); // } // .padding-sides-width-#{$name} { // box-sizing: border-box; // width: rem-size($width-original); // padding-left: rem-size($amount); // padding-right: rem-size($amount); // } // .padding-sides-width-100-#{$name} { // width: 100%; // padding-left: rem-size($amount); // padding-right: rem-size($amount); // } // .padding-sides-percent-#{$name} { // padding-left: percent(strip-units($amount), strip-units($width-original)); // padding-right: percent(strip-units($amount), strip-units($width-original)); // } // } // // USEFUL CLASSES // .margin-l-auto { // margin-left: auto; // } // .margin-r-auto { // margin-right: auto; // } // .margin-center { // margin-left: auto; // margin-right: auto; // } // .text-left { // text-align: left; // } // .text-center { // text-align: center; // } // .text-right { // text-align: right; // } // .heading-line { // width: 100%; // margin: rem-size(0.7 * 16px) auto; // overflow: hidden; // text-align: center; // color: map-get($colors, copyright-bg); // } // .heading-line:before, .heading-line:after { // content: ""; // display: inline-block; // width: 50%; // margin: 0 rem-size(12px) 0 -55%; // vertical-align: middle; // border-bottom: rem-size(12px) solid; // } // .heading-line:after { // margin: 0 -55% 0 rem-size(12px); // } // .heading-line span { // display: inline-block; // vertical-align: middle; // } /* DEFAULT SETTINGS */ * { position: relative; box-sizing: border-box; margin: 0; padding: 0; } html, body { width: 100%; height: 100%; } html { scroll-behavior: smooth; } header, main, footer, section, article { display: block; } em, i { font-style: italic; } @import "animations"; @import "hamburgers/hamburgers"; .menu .socials .hamburger-button { display: none; } .hamburger-label { position: relative; top: rem-size(-4px) !important; } .cookies-bar { background-color: rgba(0, 0, 0, 0.6); border-top: rem-size(2px) solid rgba(0, 0, 0, 0.6); color: white; position: fixed; bottom: 0; z-index: 100; padding: rem-size(16px) rem-size(16px); line-height: rem-size(24px); text-align: center; width: 100%; & > div { float: left; width: 100%; & > div { float: left; width: 50%; text-transform: uppercase; } } } .lg-actions { top: 50%; top: calc(50% - 39px / 2); } .slicknav_menu { display: block; } .slicknav_nav { position: relative !important; top: 0px !important; } /* PROJECT SPECIFIC SETTINGS */ :root { // GENERATE CSS VARIABLES // var(--color-colorName-rgba) - to use rgba color @each $name, $value in $colors { --color-#{$name}: #{$value}; // --color-#{$name}-r: #{red($value)}; // --color-#{$name}-g: #{green($value)}; // --color-#{$name}-b: #{blue($value)}; // --color-#{$name}-a: #{alpha($value)}; // --color-#{$name}-rgb: var(--color-#{$name}-r, #{red($value)}), var(--color-#{$name}-g, #{green($value)}), var(--color-#{$name}-b, #{blue($value)}); // --color-#{$name}-rgba: rgba(var(--color-#{$name}-rgb, #{red($value), green($value), blue($value)}), var(--color-#{$name}-a, #{alpha($value)})); } @each $name, $file in $files { --file-#{$name}: url("#{$file}"); --file-#{$name}-edge: url("#{str-slice($file, 4)}"); } @each $name, $font in $fonts { --font-#{$name}: #{$font}; } --font: var(--font-main), var(--font-fallback); --font-size: #{$base-font-size}; --font-size: #{rem-size($base-font-size)}; --delay: #{$transition-delay}; } strong, b { font-weight: $base-font-weight + 300; font-weight: calc(var(--font-weight) + 300); } em, i { font-style: italic; } sup, sub { font-size: 80%; } sup { top: -0.5em; } sub { top: 0.5em; } // ACTUAL STYLES a { color: inherit; text-decoration: none; transition: $transition-delay all; transition: var(--delay) all; &:hover { color: map-get($colors, theme-1-lighter-1); color: var(--color-theme-1-lighter-1); } &.theme-1.darker:hover { color: map-get($colors, theme-1-darker-1); color: var(--color-theme-1-darker-1); } &.theme-2.darker:hover { color: map-get($colors, theme-2-darker-1); color: var(--color-theme-2-darker-1); } &.theme-1.lighter:hover { color: map-get($colors, theme-1-lighter-2); color: var(--color-theme-1-lighter-2); } &.theme-2.lighter:hover { color: map-get($colors, theme-2-lighter-1); color: var(--color-theme-2-lighter-1); } } body { display: flex; flex-flow: column; font-family: map-get($fonts, main), map-get($fonts, fallback); font-family: var(--font); font-size: $base-font-size; font-size: rem-size($base-font-size); font-size: var(--font-size); justify-content: space-between; } .container-wide { margin: 0 auto; max-width: 100%; padding: 0 $padding-1; padding: 0 rem-size($padding-1); width: $width-container-1; width: rem-size($width-container-1); } .container-narrow { margin: 0 auto; max-width: 100%; padding: 0 $padding-1; padding: 0 rem-size($padding-1); width: $width-container-3; width: rem-size($width-container-3); } .header { background-image: url(map-get($files, header-bg-page)); background-position: center top; background-repeat: no-repeat; background-size: cover; display: flex; flex-flow: column; /* min-height: percent($height-top) / 1% * 1vw; */ min-height: $height-top; min-height: rem-size($height-top); &__bg-anim-front { background-image: url(../userfiles/backgrounds/top-main-foreground.jpg); background-position: top center; background-size: cover; content: ""; display: block; left: 0; top: 0; position: absolute; right: 0; bottom: 0; } &.header--main { background-image: none; /* min-height: percent($height-top-main) / 1% * 1vw; */ min-height: $height-top-main; min-height: rem-size($height-top-main); overflow: hidden; } &__bar { overflow: hidden; z-index: 1; } .bar__container { &::after { @include clearfix; } } .bar__logo { float: left; height: $height-logo; height: rem-size($height-logo); margin-right: $margin-logo-right; margin-right: rem-size($margin-logo-right); width: $width-logo; width: rem-size($width-logo); a { float: left; height: 100%; width: inherit; } img { float: left; width: auto; } &::after { @include clearfix; } } .bar__data { color: map-get($colors, theme-1); color: var(--color-theme-1); float: left; font-weight: 700; line-height: 29px; line-height: rem-size(29px); width: $width-container-1 - 2 * $padding-1 - $width-logo - $margin-logo-right; width: rem-size($width-container-1) - 2 * rem-size($padding-1) - rem-size($width-logo) - rem-size($margin-logo-right); width: calc(100% - #{rem-size($width-logo)} - #{rem-size($margin-logo-right)}); } .data__container { float: left; margin-bottom: 12px; margin-bottom: rem-size(12px); width: 100%; } .data__address { color: map-get($colors, theme-1-lighter-1); color: var(--color-theme-1-lighter-1); font-size: 16px; font-size: rem-size(16px); float: left; line-height: 18px; line-height: rem-size(18px); width: 50%; } .data__contact { color: map-get($colors, theme-2); color: var(--color-theme-2); font-size: 18px; font-size: rem-size(18px); float: right; text-align: right; width: 50%; } .bar__nav { float: left; font-size: 20px; font-size: rem-size(20px); margin-top: $margin-nav-top; margin-top: rem-size($margin-nav-top); width: 100%; &::after { @include clearfix; } } .nav__menu { float: left; width: 100%; /* 727.69px */ /* 8 - 2 */ display: flex; justify-content: space-between; } .nav__item { float: left; letter-spacing: 0; &::before { background-color: map-get($colors, theme-2); background-color: var(--color-theme-2); content: ""; display: block; position: absolute; left: -16px * 1.25; left: rem-size(-16px * 1.25); top: -16px * 1.25; top: rem-size(-16px * 1.25); right: -16px * 1.25; right: rem-size(-16px * 1.25); bottom: -16px * 1.25; bottom: rem-size(-16px * 1.25); opacity: 0; transition: $transition-delay all; transition: var(--delay) all; } &.active, &:hover { a { color: white; } &::before { opacity: 1; } } } &__slogan { bottom: $position-slogan-bottom; bottom: rem-size($position-slogan-bottom); color: map-get($colors, theme-1); color: var(--color-theme-1); font-size: $font-size-slogan; font-size: rem-size($font-size-slogan); font-weight: 700; letter-spacing: 1px; letter-spacing: rem-size(1px); line-height: 36px; line-height: rem-size(36px); margin-left: $margin-slogan-left; margin-left: rem-size($margin-slogan-left); margin-right: $margin-slogan-left; margin-right: rem-size($margin-slogan-left); max-width: 100%; padding: 0 $padding-1; padding: 0 rem-size($padding-1); position: absolute; text-transform: uppercase; filter: blur($intro-back-blur * 5); filter: blur(rem-size($intro-back-blur * 5)); opacity: 0; animation-name: intro-slogan; animation-duration: $intro-slogan-duration; animation-fill-mode: both; transition: $intro-slogan-duration all; h1, .slogan__big { font-size: $font-size-slogan-big; font-size: rem-size($font-size-slogan-big); } &::before { /* $l: -344px; $t: -139px; $r: -194px; $b: -148px; */ $l: -366px; $t: -387px; $r: -547px; $b: -419px; background-image: url("../images/assets/header-blend.png"); background-position: center; background-repeat: no-repeat; background-size: cover; content: ""; display: block; position: absolute; left: $l; left: rem-size($l); top: $t; top: rem-size($t); right: $r; right: rem-size($r); bottom: $b; bottom: rem-size($b); } } &.header { &--page, &--category { justify-content: space-between; } } &__heading { color: white; font-family: map-get($fonts, main); font-size: $font-size-page-heading; font-size: rem-size($font-size-page-heading); font-weight: 700; line-height: 34px; line-height: rem-size(34px); padding: 67px 0; padding: rem-size(67px) 0; text-align: center; z-index: 1; p { opacity: 1; z-index: 2; } &::before { background-color: map-get($colors, theme-1); background-color: var(--color-theme-1); background-image: map-get($gradients, bar-1); opacity: 0.75; display: block; content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0; } } } .home { &__icons { background-color: map-get($colors, theme-1); background-color: var(--color-theme-1); background: map-get($gradients, icons-bar); color: white; font-size: 26px; font-size: rem-size(26px); font-weight: 700; line-height: 29px; line-height: rem-size(29px); text-align: center; } .icons__container { div { $padVer: ($icons-padding-top + $icons-padding-bottom) / 2; $padVerDiff: abs($icons-padding-top - ($icons-padding-top + $icons-padding-bottom)); display: inline-block; padding: $padVer $padding-1; padding: rem-size($padVer) rem-size($padding-1); vertical-align: top; width: 33%; width: calc(33% - #{rem-size(3.2px)}); width: calc((100% / var(--items, 3)) - #{rem-size(4px)}); img { height: 88px; height: rem-size(88px); margin-bottom: $margin-icons-image-bottom; margin-bottom: rem-size($margin-icons-image-bottom); width: auto; } } } } .section { padding-bottom: $sections-padding-bottom; padding-top: $sections-padding-top; padding-bottom: rem-size($sections-padding-bottom); padding-top: rem-size($sections-padding-top); &__heading { color: map-get($colors, theme-1); color: var(--color-theme-1); font-size: $font-size-headings; font-size: rem-size($font-size-headings); font-weight: 700; letter-spacing: 1px; letter-spacing: rem-size(1px); line-height: $font-size-headings - 1; line-height: rem-size($font-size-headings - 1); margin-bottom: $margin-heading-bottom; margin-top: $margin-heading-top; margin-bottom: rem-size($margin-heading-bottom); margin-top: rem-size($margin-heading-top); text-align: center; } } .offer { &__container { align-items: center; display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 16px; margin-top: rem-size(16px); &::after { @include clearfix; } } &__item { background-position: center; background-repeat: no-repeat; background-size: 100% auto; border-radius: 24px; border-radius: rem-size(24px); cursor: pointer; float: left; margin-bottom: 4px; margin-bottom: rem-size(4px); margin-top: 4px; margin-top: rem-size(4px); min-height: $height-offer-item; min-height: rem-size($height-offer-item); overflow: hidden; text-align: center; transition: $transition-delay all; transition: var(--delay) all; white-space: nowrap; width: 33%; width: calc(33% - 2px); width: calc(33% - #{rem-size(2px)}); display: flex; flex-flow: column; justify-content: center; align-items: center; &::before { background-color: rgba(map-get($colors, theme-1), 0.43); border-radius: 24px; border-radius: rem-size(24px); content: ""; display: block; height: 100%; left: 0; position: absolute; top: 0; transition: $transition-delay all; transition: var(--delay) all; width: 100%; } &:hover { &::before { background-color: rgba(map-get($colors, theme-1), 0.25); } .item__name { font-size: $font-size-offer-item-name * (1.125 * $zoom-scale-effect); font-size: rem-size($font-size-offer-item-name * (1.125 * $zoom-scale-effect)); } .item__image { transform: scale($zoom-scale-effect); } } } .item { &__name { color: white; font-size: $font-size-offer-item-name; font-size: rem-size($font-size-offer-item-name); font-weight: 700; transition: $transition-delay all; transition: var(--delay) all; z-index: 2; &:hover { font-size: $font-size-offer-item-name * (1.125 * $zoom-scale-effect); font-size: rem-size($font-size-offer-item-name * (1.125 * $zoom-scale-effect)); } } &__image { background-position: center; background-size: cover; height: 100%; left: 0; position: absolute; top: 0; transition: $transition-delay all; transition: var(--delay) all; width: 100%; z-index: -1; } } } .footer { background-color: map-get($colors, footer); background-color: var(--color-footer); color: white; font-size: $font-size-footer; font-size: rem-size($font-size-footer); line-height: 29px; line-height: rem-size(29px); padding-bottom: $footer-padding-bottom; padding-bottom: rem-size($footer-padding-bottom); padding-top: $footer-padding-top; padding-top: rem-size($footer-padding-top); strong { font-weight: 600; } &__container { display: flex; justify-content: space-between; & > div:not([class]):nth-of-type(1) { flex-basis: $width-footer-address; flex-basis: rem-size($width-footer-address); } & > div:not([class]):nth-of-type(2) { flex-basis: $width-footer-telephone; flex-basis: rem-size($width-footer-telephone); } } &__nav { flex-basis: $width-footer-nav; flex-basis: rem-size($width-footer-nav); .nav__item:not(:last-of-type) { margin-bottom: 24px; margin-bottom: rem-size(24px); } } &__top-btn { flex-shrink: 0; text-align: center; a { // font-size: $font-size-to-top; // font-size: rem-size($font-size-to-top); // line-height: $font-size-to-top / 3 * 4; // line-height: rem-size($font-size-to-top / 3 * 4); background-color: map-get($colors, theme-2); background-color: var(--color-theme-2); background-image: url('../img/arrow-up.png'); background-position: center; background-repeat: no-repeat; background-size: 50% 50%; border-radius: 50%; display: block; // font-size: 16px; // font-size: rem-size(16px); height: $width-footer-to-top; height: rem-size($width-footer-to-top); margin: 0 auto $margin-footer-to-top-bottom auto; margin: 0 auto rem-size($margin-footer-to-top-bottom) auto; width: $width-footer-to-top; width: rem-size($width-footer-to-top); img { height: 16px; height: rem-size(16px); visibility: hidden; width: 16px; width: rem-size(16px); } } } &__bottom-bar { align-items: center; display: flex; font-size: $font-size-footer-bar; font-size: rem-size($font-size-footer-bar); justify-content: space-between; margin-top: $margin-footer-bar-top; margin-top: rem-size($margin-footer-bar-top); .bottom-bar__group > p { display: inline; } .bottom-bar__links { display: inline; list-style-type: none; } .links__item { display: inline; &::before { content: " / "; } } .bottom-bar__kaczka { display: flex; flex-flow: column; img { height: auto; width: $width-footer-logo; width: rem-size($width-footer-logo); } } } .active { a { font-weight: 600; text-decoration: underline; } } } .main { color: #808080; font-size: $font-size-page; font-size: rem-size($font-size-page); line-height: $font-size-page + 9px; line-height: rem-size($font-size-page + 9px); b, strong { font-weight: 700; } i, em { font-style: italic; } ol { list-style-type: decimal; } li { padding-left: 21.6px; padding-left: 1.2em; } li::before { color: map-get($colors, theme-1); color: var(--color-theme-1); content: "\2022"; // font-family: FontAwesome; // font-size: 9px; // font-size: rem-size(9px, $font-size-page, true); margin-left: -46.8px; margin-left: rem-size(-46.8px, $font-size-page, true); padding: 0 18px; padding: 0 rem-size(18px, $font-size-page, true); position: relative; top: -2.4px; top: rem-size(-2.4px, $font-size-page, true); } a { color: map-get($colors, theme-1); color: var(--color-theme-1); &:hover { color: map-get($colors, theme-1-lighter-1) !important; color: var(--color-theme-1-lighter-1) !important; } } p:first-of-type { margin-bottom: ($font-size-page + 9px) / 2; margin-bottom: (rem-size($font-size-page + 9px) / 2); } p:not(:first-of-type):not(:last-of-type) { margin-bottom: ($font-size-page + 9px) / 2; margin-bottom: (rem-size($font-size-page + 9px) / 2); margin-top: ($font-size-page + 9px) / 2; margin-top: (rem-size($font-size-page + 9px) / 2); } p:last-of-type { margin-top: ($font-size-page + 9px) / 2; margin-top: (rem-size($font-size-page + 9px) / 2); } &__heading { color: map-get($colors, theme-1); color: var(--color-theme-1); font-size: $font-size-page-heading; font-size: rem-size($font-size-page-heading); font-weight: 700; line-height: $font-size-page-heading - 1px; line-height: rem-size($font-size-page-heading - 1px); margin-bottom: $margin-page-heading-bottom; margin-bottom: rem-size($margin-page-heading-bottom); text-align: center; } &__two { display: flex; justify-content: space-between; } &__nav { font-size: 14px; font-size: rem-size(14px, $font-size-page, true); flex-basis: $width-page-nav; flex-basis: rem-size($width-page-nav, $font-size-page, true); flex-shrink: 0; margin-right: $margin-page-nav-right / 3; margin-right: rem-size($margin-page-nav-right / 3); li::before { content: ""; display: none; margin: 0; padding: 0; } li { cursor: pointer; margin: 0; padding: 0; transition: $transition-delay all; transition: var(--delay) all; &.active, &:hover { background-color: map-get($colors, page-nav); background-color: var(--color-page-nav); } &:hover a { color: map-get($colors, theme-1-lighter-1) !important; color: var(--color-theme-1-lighter-1) !important; } } a { display: block; padding: 10px (50px / 2); padding: rem-size(10px, $font-size-page, true) rem-size(50px / 2, $font-size-page, true); transition: $transition-delay all; transition: var(--delay) all; } #heading__checkbox { display: none; } .nav__list { border-color: map-get($colors, theme-1); border-style: solid; border-width: 1px; border-width: rem-size(1px); border-bottom-left-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-bottom-left-radius: rem-size($height-page-nav-border * 1.2) rem-size($height-page-nav-border); border-bottom-right-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-bottom-right-radius: rem-size($height-page-nav-border * 1.2) rem-size($height-page-nav-border); border-top-left-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-top-left-radius: rem-size($height-page-nav-border * 1.2) rem-size($height-page-nav-border); border-top-right-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-top-right-radius: rem-size($height-page-nav-border * 1.2) rem-size($height-page-nav-border); .list__heading { display: none; margin-top: 2px; margin-top: rem-size(2px, $font-size-page, true); position: absolute; right: 0; z-index: 10; &:hover { background-color: inherit; color: inherit; } label { display: inline-block; padding: 2px; padding: rem-size(2px, $font-size-page, true); padding-right: 16px; padding-right: rem-size(16px, $font-size-page, true); transform-origin: 25% 50%; transform: rotateZ(-90deg); transition: $transition-delay all; transition: var(--delay) all; } } } .nav__list::before, .nav__list::after { content: ""; display: block; height: $height-page-nav-border; height: rem-size($height-page-nav-border, $font-size-page, true); width: 100%; } } &__content { flex-grow: 1; .category { &__text { margin-bottom: 16px; margin-bottom: rem-size(16px); } &__list { display: flex; flex-wrap: wrap; .product { &__item { border-color: map-get($colors, theme-1); border-color: var(--color-theme-1); border-style: solid; border-width: 1px; border-width: rem-size(1px); border-bottom-left-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-bottom-left-radius: rem-size($height-page-nav-border * 1.25) rem-size($height-page-nav-border); border-bottom-right-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-bottom-right-radius: rem-size($height-page-nav-border * 1.25) rem-size($height-page-nav-border); border-top-left-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-top-left-radius: rem-size($height-page-nav-border * 1.25) rem-size($height-page-nav-border); border-top-right-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-top-right-radius: rem-size($height-page-nav-border * 1.25) rem-size($height-page-nav-border); float: left; font-size: 21px; font-size: rem-size(21px); // font-weight: bold; margin: 16px; margin: rem-size(16px); margin-top: 0; overflow: hidden; width: 30%; width: calc(100% / 2 - 2 * 16px); width: calc(100% / var(--items) - var(--items) * 16px); &::before { background-color: white; content: ""; display: block; position: absolute; left: 0; right: 0; // top: 200px; // top: rem-size(200px); // top: calc(200px * 3 / var(--items)); // top: calc(#{rem-size(200px)} * 3 / var(--items)); bottom: 0; transition: $transition-delay all; transition: var(--delay) all; z-index: 1; } } &__image { cursor: pointer; height: 200px; height: rem-size(200px); height: calc(200px * 3 / var(--items)); height: calc(#{rem-size(200px)} * 3 / var(--items)); background-color: white; background-position: center; background-repeat: no-repeat; background-size: cover; min-height: 200px; min-height: rem-size(200px); transition: $transition-delay all; transition: var(--delay) all; } &__desc { background-color: white; color: #808080; font-family: map-get($fonts, special), map-get($fonts, fallback); font-size: 13px; font-size: rem-size(13px); padding: 8px 24px; padding: rem-size(8px) rem-size(24px); z-index: 2; p { line-height: 18px; line-height: rem-size(18px); margin: 4px 0; margin: rem-size(4px) 0; } .desc { &__name { font-weight: bold; } &__attr--price { color: #336699; font-weight: bold; } } } } &::after { @include clearfix; } } &__item { border-color: map-get($colors, theme-1); border-color: var(--color-theme-1); border-style: solid; border-width: 1px; border-width: rem-size(1px); border-bottom-left-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-bottom-left-radius: rem-size($height-page-nav-border * 1.25) rem-size($height-page-nav-border); border-bottom-right-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-bottom-right-radius: rem-size($height-page-nav-border * 1.25) rem-size($height-page-nav-border); border-top-left-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-top-left-radius: rem-size($height-page-nav-border * 1.25) rem-size($height-page-nav-border); border-top-right-radius: $height-page-nav-border * 1.25 $height-page-nav-border; border-top-right-radius: rem-size($height-page-nav-border * 1.25) rem-size($height-page-nav-border); float: left; font-size: 21px; font-size: rem-size(21px); font-weight: bold; margin: 16px; margin: rem-size(16px); margin-top: 0; overflow: hidden; width: 30%; width: calc(100% / 2 - 2 * 16px); width: calc(100% / var(--items) - var(--items) * 16px); .item__image { background-color: white; background-image: url('../userfiles/logos/main_blend.png'); background-position: center; background-repeat: no-repeat; background-size: cover; height: 221px; height: rem-size(221px); transition: $transition-delay all; transition: var(--delay) all; } .item__desc { background-color: map-get($colors, page-nav); background-color: var(--color-page-nav); display: block; margin: 0; padding: 26px 16px; padding: rem-size(26px) rem-size(16px); text-align: center; transition: $transition-delay all; transition: var(--delay) all; } &:hover { .item__image { transform: scale($zoom-scale-effect); } .item__desc { background-color: map-get($colors, theme-1); background-color: var(--color-theme-1); color: white; font-size: 21px * $zoom-scale-effect * 1.0125; font-size: rem-size(21px * $zoom-scale-effect * 1.0125); font-weight: bold; } &::before { background-color: map-get($colors, theme-1); background-color: var(--color-theme-1); } } &::before { background-color: map-get($colors, page-nav); background-color: var(--color-page-nav); content: ""; display: block; position: absolute; left: 0; right: 0; top: 221px; top: rem-size(221px); bottom: 0; transition: $transition-delay all; transition: var(--delay) all; } } } } &--page, &--category { margin-bottom: $margin-page-bottom; margin-bottom: rem-size($margin-page-bottom); margin-top: $margin-page-top; margin-top: rem-size($margin-page-top); } &--contact { font-size: $font-size-page-contact; font-size: rem-size($font-size-page-contact); line-height: $font-size-page-contact + 9px; line-height: rem-size($font-size-page-contact + 9px); margin-bottom: 0; .main__heading { margin-bottom: $margin-page-contact-heading-bottom; margin-bottom: rem-size($margin-page-contact-heading-bottom); } .main__two-form { display: flex; justify-content: space-between; margin-bottom: 128px; margin-bottom: rem-size(128px); & + .map__link { font-size: 16px; font-size: rem-size(16px); font-weight: bold; } } .two-form { &__form { max-width: $width-form; max-width: rem-size($width-form); .form__heading { margin-bottom: 40px; margin-bottom: rem-size(40px); } .form__contact { float: left; width: 100%; input, textarea { border-color: map-get($colors, theme-1); border-color: var(--color-theme-1); border-radius: 12px; border-radius: rem-size(12px); border-style: solid; border-width: 1px; border-width: rem-size(1px); color: map-get($colors, theme-1); color: var(--color-theme-1); font-family: map-get($fonts, main); font-family: var(--font); font-size: 22px; font-size: rem-size(22px); padding: $form-padding-input-v $form-padding-input-h; padding: rem-size($form-padding-input-v) rem-size($form-padding-input-h); text-align: left; &:focus { border-color: map-get($colors, theme-2); border-color: var(--color-theme-2); outline: none; } } input[name="form[security]"] { text-align: center; } input:invalid { text-align: center; } input[name="form[name]"], input[name="form[mail]"], input[name="form[security]"] { float: left; width: (99% - 15%) / 2; width: calc((100% - 15%) / 2 - 9px); width: calc((100% - 15%) / 2 - #{rem-size(9px)}); } input[name="form[mail]"] { margin: 0 9px; margin: 0 rem-size(9px); } input[name="form[security]"] { float: right; padding-left: 4px; padding-right: 4px; padding-left: rem-size(4px); padding-right: rem-size(4px); width: 15%; } input[disabled], textarea[disabled] { border-color: black; color: black; } input[disabled] { text-align: center; } input[name="form[submit]"][disabled] { background-color: map-get($colors, theme-2-lighter-1) !important; background-color: var(--color-theme-2-lighter-1) !important; &:hover { background-color: map-get($colors, theme-2-lighter-2) !important; background-color: var(--color-theme-2-lighter-2) !important; } } textarea { margin-bottom: 14px; margin-bottom: rem-size(14px); margin-top: 14px; margin-top: rem-size(14px); width: 100%; } @at-root a.formLikeBtn, & input[name="form[submit]"][type="submit"] { background-color: map-get($colors, page-nav); background-color: var(--color-page-nav); border-color: transparent; border-radius: 12px; border-radius: rem-size(12px); border-style: solid; border-width: 1px; border-width: rem-size(1px); cursor: pointer; font-weight: 700; margin: 0 auto; min-width: 282px; min-width: rem-size(282px); max-width: 100%; padding: 17px $form-padding-input-h 12px $form-padding-input-h; padding: rem-size(17px) rem-size($form-padding-input-h) rem-size(12px) rem-size($form-padding-input-h); text-align: center; transition: $transition-delay all; transition: var(--delay) all; &:hover { background-color: map-get($colors, theme-1-lighter-4); background-color: var(--color-theme-1-lighter-4); color: black !important; } } } .form__message { clear: both; float: none; padding-top: 16px; padding-top: rem-size(16px); &.message { &-send-success { color: green; } &-send-error, &-verification-error, &-not-send { color: map-get($colors, theme-2); color: var(--color-theme-2); } } } } } } &__map { flex-shrink: 0; height: $height-map; height: rem-size($height-map); margin-top: 16px; margin-top: rem-size(16px); } } .leaflet-control-container { height: 100%; } .promotions { --items: 3; &__container { display: flex; flex-wrap: wrap; .product { &__item { float: left; font-size: 21px; font-size: rem-size(21px); font-weight: bold; margin: 16px; margin: rem-size(16px); margin-top: 0; overflow: hidden; width: 30%; width: calc(100% / 2 - 2 * 16px); width: calc(100% / var(--items) - var(--items) * 16px); &::before { background-color: white; content: ""; display: block; position: absolute; left: 0; right: 0; top: 221px; top: rem-size(221px); bottom: 0; transition: $transition-delay all; transition: var(--delay) all; z-index: 1; } } &__image { cursor: pointer; height: 200px; height: rem-size(200px); background-color: white; background-position: center; background-repeat: no-repeat; background-size: contain; transition: $transition-delay all; transition: var(--delay) all; } &__desc { background-color: white; color: #808080; font-family: map-get($fonts, special), map-get($fonts, fallback); font-size: 15px; font-size: rem-size(15px); margin-top: 16px; margin-top: rem-size(16px); padding: 8px 24px; padding: rem-size(8px) rem-size(24px); text-align: center; z-index: 2; p { line-height: 20px; line-height: rem-size(20px); margin: 8px 0; margin: rem-size(8px) 0; } } } } } section, main, aside { img { max-width: 95%; &[width] { height: auto; } } } .category__text { color: #808080; &.text--top { div[style*="inline-block"] { line-height: 16px * 1.3; line-height: rem-size(16px * 1.3, $base-font-size, true); min-width: 20%; img { height: auto; max-width: 100%; } } } div + br { // display: none; } } .category__heading { font-size: 24px; font-size: rem-size(24px); font-weight: bold; margin: 24px 0; margin: rem-size(24px) 0; text-align: center; } img[data-src] { cursor: pointer; }
[+]
..
[-] style-ie9.scss
[edit]
[-] _config.scss
[edit]
[-] style.scss
[edit]
[-] animations.scss
[edit]
[-] responsive.scss
[edit]
[-] _init.scss
[edit]
[-] style-ie.scss
[edit]
[+]
hamburgers