Files
produkty-rekomendowane-w-sl…/less_css.less
KubaGlegola aa2b9112d9 add files
2024-01-02 09:53:58 +01:00

944 lines
18 KiB
Plaintext

@media (min-width: 979px) {
.nav-item-hoversub {
background: #0587ec;
> .nav-link {
color: #fff;
&:after {
color: #fff !important;
}
}
}
}
@keyframes loading {
0% {
border-left: 0 solid #e21e24;
}
10% {
border-left: 0 solid #e21e24;
}
90% {
border-left: 150px solid #e21e24;
}
100% {
border-left: 150px solid #e21e24;
}
}
.fetchingData {
display: grid !important;
}
@media (max-width: 979px) {
#loaded_contant_bm_hotspots {
display: none;
}
}
#loaded_contant_bm_hotspots:after {
content: "";
position: absolute;
text-align: center;
display: flex;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
height: 7px;
width: 150px;
display: block;
background: #fff;
opacity: 1;
z-index: 1;
box-sizing: border-box;
animation: loading 2s infinite linear;
box-shadow: 0 0 0 7px #f1f1f1;
}
#menu_navbar {
@media (min-width: 979px) {
.navbar__whiteBackground {
position: absolute;
top: 0;
min-height: 100%;
left: 100%;
width: calc((3 * 100%) - 13.4rem);
// width: 500px !important;
z-index: 1;
background: #fff;
border-left: 1px solid #efefef;
box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 8px 0px,
rgba(0, 0, 0, 0.04) 5px -1px 7px 2px;
z-index: -1;
> .navbar-whiteBackground__recommendationContainer {
height: 430px !important;
min-width: 800px !important;
.product {
height: 430px !important;
}
.product__icon > img {
width: 100% !important;
height: 100% !important;
}
}
> .navbar-whiteBackground__baner {
// position: absolute;
// top: 0;
// left: 0;
width: 100%;
> img {
width: 100%;
height: 100%;
box-shadow: rgba(0, 0, 0, 0.04) 4px 5px 8px 0px,
rgba(0, 0, 0, 0.04) 8px 5px 7px 2px;
}
}
}
.nav-item-hoverNavLink {
background-color: #fff;
> .nav-link.nav-gfx {
color: #0c2cac;
}
}
}
.menu_go_up {
text-decoration: none !important;
}
.mobile_category_list {
> .menu_categories_list_item {
padding: 15px 0;
color: #000;
font-weight: 400;
line-height: 20px;
border-bottom: 1px solid #efefef;
font-size: 14px;
text-decoration: none;
> .menu_categories_list_item_label {
cursor: pointer;
> div {
&:not(.--not-expanded) {
&:after {
content: "\f0d7";
margin-right: 1rem;
font-family: FontAwesome;
font-size: 1.6rem;
}
}
&.--not-expanded {
&:after {
content: "\f0d8";
margin-right: 1rem;
font-family: FontAwesome;
font-size: 1.6rem;
}
}
}
img {
margin-right: 1rem;
}
}
> .menu_categories_sublist {
display: none;
margin-top: 1rem;
border-top: 1px solid #efefef;
> li:first-child {
margin-top: 1rem;
}
a {
text-decoration: none;
}
.active {
display: flex;
flex-direction: column;
justify-content: space-between;
font-weight: 600;
.menu_categories_sublist_item_label {
> div {
> .menu_go_up {
color: #e21e24 !important;
}
&:not(.--not-expanded) {
&:after {
content: "\f0d7";
margin-right: 1rem;
font-family: FontAwesome;
font-size: 1.6rem;
}
}
&.--not-expanded {
&:after {
content: "\f0d8";
margin-right: 1rem;
font-family: FontAwesome;
font-size: 1.6rem;
}
}
}
}
}
.active_subsublist {
.menu_categories_subsublist_item_label {
width: 100%;
a {
color: #e21e24 !important;
}
}
}
> .empty {
font-weight: 600;
margin-bottom: 1.5rem;
}
> .menu_categories_sublist_item {
cursor: pointer;
font-weight: 600;
margin-bottom: 1.5rem;
> .menu_categories_sublist_item_label {
> div {
&:not(.--not-expanded) {
&:after {
content: "\f0d7";
margin-right: 1rem;
font-family: FontAwesome;
font-size: 1.6rem;
}
}
&.--not-expanded {
&:after {
content: "\f0d8";
margin-right: 1rem;
font-family: FontAwesome;
font-size: 1.6rem;
}
}
}
}
> .menu_categories_subsublist {
display: none;
> .menu_categories_subsublist_item {
> .menu_categories_subsublist_item_label {
width: 100%;
padding: 0.7rem 0;
font-weight: 300;
}
}
}
}
}
}
}
}
#menu_categories {
border: none;
padding: 0;
grid-area: menu_categories;
z-index: 1;
@media (min-width: 979px) {
width: auto;
clear: both;
position: relative;
&:before {
content: "";
display: block;
position: absolute;
top: 0;
left: 50%;
margin-left: -50vw;
width: 100vw;
height: calc(100%);
background: rgb(8, 13, 87);
background: -moz-radial-gradient(
circle,
rgba(8, 13, 87, 1) 0%,
rgba(0, 133, 236, 1) 100%
);
background: -webkit-radial-gradient(
circle,
rgba(8, 13, 87, 1) 0%,
rgba(0, 133, 236, 1) 100%
);
background: radial-gradient(
circle,
rgba(8, 13, 87, 1) 0%,
rgba(0, 133, 236, 1) 100%
);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#080d57",endColorstr="#0085ec",GradientType=1);
overflow: hidden;
}
}
}
.navbar-toggler {
display: inline-block;
color: @less_iaicolorscheme_background_text_color;
border: none;
background: none;
font-size: 1.7rem;
padding: 0;
width: 45px;
line-height: @header_height_mobile;
text-align: right;
padding-right: 1.5rem;
@media (min-width: 979px) {
display: none;
}
}
aside {
.navbar-collapse {
background: @less_iaicolorscheme_background_color;
clear: both;
display: block;
margin-bottom: 1.5rem;
@media (min-width: 979px) {
display: none;
}
ul {
list-style: none;
}
img {
&.--omo {
display: none;
}
}
}
.navbar-nav {
z-index: 9;
#product_category_element {
@media (max-width: 979px) {
display: none !important;
}
}
}
.navbar-subnav {
z-index: 9;
}
.navbar-subsubnav {
z-index: 19;
}
.navbar-subnav,
.navbar-subsubnav,
.navbar-subsubsubnav {
width: ~"calc(100vw - 60px)";
position: fixed;
background: @less_iaicolorscheme_background_color;
top: 0;
height: 100vh;
overflow: auto;
right: -100%;
transition: right 0.3s;
padding: 60px 1.5rem 120px;
display: none;
@media (min-width: 757px) {
width: 50vw;
}
}
.nav-item {
display: block;
&.--extend {
display: none;
}
}
.nav-link {
padding: 15px 0;
color: @link_color_hover;
font-weight: 400;
display: flex;
line-height: 20px;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #efefef;
font-size: 14px;
cursor: pointer;
text-decoration: none;
&.not_selectable {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
}
&:not(:only-child) {
&:after {
font-family: FontAwesome;
font-size: 22px;
content: "\f105";
color: inherit;
}
}
&:hover {
span.--omo {
display: none;
}
img.--omo {
display: block;
}
}
&.active {
color: @link_color;
}
}
a.nav-link {
&:hover {
color: @link_color;
}
}
.nav-header {
position: fixed;
top: 0;
right: -100%;
transition: right 0.3s;
width: ~"calc(100vw - 60px)";
padding: 0 1.5rem;
@media (min-width: 757px) {
width: 50vw;
}
&__backLink {
position: absolute;
width: 40px;
height: 61px;
display: flex;
align-items: center;
font-size: 24px;
line-height: 29px;
text-decoration: none;
left: 20px;
z-index: 1;
}
.nav-link {
background: @less_iaicolorscheme_background_color;
text-align: center;
display: block;
font-weight: 600;
font-size: 18px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
padding-left: 40px;
padding-right: 40px;
line-height: 30px;
&:after {
content: "\f104";
position: absolute;
left: 20px;
font-weight: 400;
font-family: FontAwesome;
font-size: 24px;
line-height: 29px;
display: none;
}
&.nav-gfx {
padding: 5px 20px 5px 40px;
height: 60px;
line-height: normal;
display: flex;
justify-content: center;
align-items: center;
&:after {
line-height: 50px;
}
img {
max-height: 50px;
}
}
}
}
}
header {
.navbar-collapse {
display: none;
position: relative;
@media (min-width: 979px) {
display: block;
}
ul {
list-style: none;
}
img {
display: block;
margin-right: 1rem;
width: 32px;
height: 32px;
&.--omo {
display: none;
}
}
}
.navbar-nav {
display: flex;
flex-wrap: wrap;
list-style: none;
font-size: 1.5rem;
align-items: center;
justify-content: space-between;
#nav-item-mark {
&:hover {
.menu_categories_sublist {
display: flex;
}
}
> .menu_categories_sublist {
position: absolute;
width: 72%;
display: none;
left: 323px;
z-index: 9999999999;
min-height: 500px !important;
background: #f3f3f3;
line-height: 2rem;
padding: 10px 20px !important;
line-height: 2;
flex-wrap: wrap;
> li {
margin-right: 3rem;
a {
text-decoration: none;
font-weight: 900;
cursor: pointer;
}
}
}
}
& > li {
&:hover {
& > ul {
// display: grid;
}
}
}
}
.navbar-subnav {
display: none;
height: 430px !important;
// width: 100%;
font-size: 1.3rem;
z-index: 100;
position: absolute;
background: @less_iaicolorscheme_background_color;
// border: 1px solid @less_iaicolorscheme_background_border_color;
// right: 0;
//left: -1.1rem;
top: 60px;
left: -10px !important;
// width: ~'calc(100% + 3rem)';
// box-shadow: 0px 0px 20px -2px rgba(0, 0, 0, 0.2);
flex-wrap: wrap;
justify-content: left;
align-items: start;
grid-template-columns: 1fr 1fr 1fr 1fr;
box-shadow: rgba(0, 0, 0, 17%) 0px 4px 8px 0px,
rgba(0, 0, 0, 0.04) 5px -1px 7px 2px;
// border-radius: @less_iaicolorscheme_border_radius_value_sm;
padding: 10px;
z-index: -1;
@media @desktop {
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
@media @large {
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}
&.--cols1 {
width: ~"calc(30% - 2rem)";
grid-template-columns: 1fr;
grid-template-rows: 30px;
@media @desktop {
width: ~"calc(30% - 2rem)";
}
}
&.--cols2 {
width: ~"calc(50% - 2rem)";
grid-template-columns: 1fr 1fr;
@media @desktop {
width: ~"calc(40% - 2rem)";
}
}
&.--cols3 {
width: ~"calc(75% - 2rem)";
grid-template-columns: 1fr 1fr 1fr;
@media @desktop {
width: ~"calc(60% - 2rem)";
}
}
&.--cols4 {
width: ~"calc(100% + 3rem)";
grid-template-columns: 1fr 1fr 1fr 1fr;
@media @desktop {
width: ~"calc(80% - 2rem)";
}
}
&.--cols5 {
width: ~"calc(100% + 3rem)";
grid-template-columns: 1fr 1fr 1fr 1fr;
@media @desktop {
grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
}
&.active,
&.--hover {
display: grid;
}
.nav-link {
// text-transform: uppercase;
font-size: 1.4rem;
padding: 10px;
}
& > .nav-item {
&.--all {
grid-column: span 5;
display: flex;
justify-content: center;
}
}
}
.navbar-subsubnav {
padding-bottom: 10px;
.navbar-subsubnav__itemContainer {
max-width: 50%;
flex: 50%;
display: grid;
grid-template-columns: 1fr 1fr;
grid-auto-rows: max-content;
> .nav-item {
> .nav-link {
color: #a5a5a5;
font-weight: 600;
font-size: 1.1em;
&:hover {
color: #fff;
cursor: pointer;
}
}
}
}
.navbar-subsbunav__baner {
// display: none;
width: 100%;
flex: 50%;
> img {
width: 100%;
height: 190px;
}
}
.nav-link {
font-weight: normal;
text-transform: none;
font-size: 1.2rem;
padding: 2.5px 10px;
}
}
.nav-item {
&.--extend,
&.--all {
.nav-link {
text-decoration: underline;
text-transform: none;
font-weight: normal;
font-size: 1.2rem;
}
}
}
.nav-link {
display: block;
padding: 5px 10px 8px;
text-decoration: none;
font-weight: 600;
// text-transform: uppercase;
&:hover {
span.--omo {
display: none;
}
img.--omo {
display: block;
}
}
&.active {
color: @link_color;
}
}
}
.sidebar_open,
.filters_open {
header {
@media (max-width: 979px) {
grid-template-columns: 25vw 25vw 25vw 25vw;
grid-template-areas:
"rabateCode rabateCode rabateCode rabateCode"
"freeShipping freeShipping freeShipping freeShipping"
"menu_categories logo menu_search menu_basket";
}
#menu_categories {
margin-left: 0;
text-align: left;
width: auto;
@media (min-width: 757px) {
width: 50vw;
text-align: right;
}
}
.navbar-toggler {
border: none;
}
}
}
.sidebar_open {
aside {
.nav-open {
& > ul {
right: 0;
display: block;
left: auto !important;
& > .nav-header {
right: 0;
}
}
}
}
}
// www.code-ready.pl
@media (min-width: 979px) {
header .navbar-nav {
& > .nav-item {
&:nth-child(1) {
& > .nav-link {
display: flex;
justify-content: space-between;
align-items: center;
}
}
& > .nav-link {
color: #fff;
padding: 0px 15px;
height: 60px;
display: flex;
justify-content: space-between;
align-items: center;
&:hover {
background: #fff;
color: #0c2cac;
}
}
}
}
.wide .navbar-subnav {
padding: 0;
height: var(--height);
.navbar-subnav__topName {
padding: 10px;
@media (max-width: 979px) {
display: none !important;
}
> .navbar-subnav__topName_name,
.navbar-subnav__topName_link {
color: #a5a5a5;
font-weight: 600;
}
> .navbar-subnav__topName_link {
text-decoration: none;
&:hover {
color: #0587ec;
}
}
}
.nav-item {
border-bottom: 1px solid #efefef;
&:not(.empty) > .nav-link {
display: flex;
align-items: center;
justify-content: space-between;
&:after {
content: "\F105";
font-family: FontAwesome;
font-size: 15px;
color: #0587ec;
}
& > .nav-link {
padding: 10px 20px !important;
&:after {
content: "";
}
}
}
.nav-link {
&:hover {
background: #0085ec;
color: #fff;
&:after {
color: #fff;
}
}
}
img {
mix-blend-mode: multiply;
margin-right: 1rem;
}
}
}
/* SUBMENU */
.wide ul.navbar-nav li.nav-item {
> ul.navbar-subsubnav {
display: none;
position: absolute;
top: 0;
min-height: 100%;
left: 100%;
width: calc((3 * 100%) - 13.4rem);
box-shadow: rgba(0, 0, 0, 0.04) 0px 4px 8px 0px,
rgba(0, 0, 0, 0.04) 5px -1px 7px 2px;
padding: 10px 20px !important;
background: #fff;
z-index: 2;
.nav-item {
border: none !important;
> .nav-link {
&:after {
content: "";
}
}
}
.navbar-subsubsubnav {
.nav-item {
border: none !important;
color: #000 !important;
> .nav-link {
&:after {
content: "";
}
}
}
}
}
&:hover > ul.navbar-subsubnav {
display: flex;
line-height: 2rem;
}
}
header .navbar-subsubnav {
-webkit-column-width: 20em;
-webkit-column-gap: 2em;
-webkit-column-count: 4;
-moz-column-width: 20em;
-moz-column-gap: 2em;
-moz-column-count: 3;
-ms-column-width: 20em;
-ms-column-gap: 2em;
-ms-column-count: 3;
column-width: 10em;
column-gap: 2em;
column-count: 3;
padding: 20px;
.nav-item {
margin-bottom: 1rem;
}
}
.core-menu-banner {
position: absolute;
left: 0;
bottom: 0;
}
} //END