Files
vidok.com/layout/style-scss/drzwi-wejsciowe-aluminiowe.scss
Roman Pyrih 31c4998527 New pages
2025-04-03 14:18:07 +02:00

634 lines
10 KiB
SCSS

@import 'variables';
@import '_mixins';
ul {
padding: 0;
margin: 0;
list-style: none;
}
.page-content {
overflow: hidden;
}
button.c-button {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
max-width: 250px;
min-height: 38px;
background: $cWhite;
border: 1px solid $cBlack;
padding: 0 20px;
outline: none !important;
background: $cWhite;
transition: background 250ms ease-in-out, color 250ms ease-in-out;
cursor: pointer;
&:hover {
color: $cWhite;
background: $cBlack;
p {
color: $cWhite;
}
span {
border-color: $cWhite;
&::before,
&::after {
background: $cWhite;
}
}
}
p {
font-weight: 300;
font-size: 16px;
line-height: 20px;
letter-spacing: 0.15em;
text-transform: uppercase;
margin-bottom: 0;
transition: color 250ms ease-in;
}
span {
position: relative;
width: 20px;
height: 20px;
border-radius: 100%;
border: 1px solid $cBlack;
transition: border 250ms ease-in;
&::before {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 10px;
height: 1px;
background: $cBlack;
border-radius: 3px;
transform: translate(-50%, -50%);
transition: background 250ms ease-in;
}
&::after {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 10px;
height: 1px;
background: $cBlack;
border-radius: 3px;
transform: translate(-50%, -50%) rotate(90deg);
transition: width 250ms ease-in, background 250ms ease-in;
}
}
@include respond-below(md) {
margin-left: 30px;
}
}
.color-tiles {
position: relative;
height: fit-content;
&::before {
content: '';
position: absolute;
left: 0;
top: 12px;
bottom: 0;
width: 1px;
background: #6c6d70;
}
&-title {
position: relative;
padding-left: 240px;
min-height: 30px;
&::before {
content: '';
position: absolute;
left: 0;
top: 12px;
width: 213px;
height: 1px;
background: #6c6d70;
}
h2 {
font-weight: 700;
font-size: 20px;
line-height: 25px;
letter-spacing: 0.07em;
text-transform: uppercase;
margin-bottom: 0;
}
@include respond-below(md) {
padding-left: 100px;
&::before {
width: 60px;
}
}
}
&-data {
padding-left: 60px;
padding-top: 50px;
max-height: unset;
li {
display: flex;
flex-direction: row;
align-items: center;
column-gap: 17px;
img {
width: 100%;
max-width: fit-content;
}
p {
font-weight: 300;
font-size: 13px;
line-height: 15px;
letter-spacing: 0.05em;
text-transform: uppercase;
margin-bottom: 0;
}
}
@include respond-below(md) {
padding-left: 30px;
padding-top: 30px;
}
}
&[status='true'] {
button {
span {
&::after {
width: 0;
}
}
}
}
button {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
max-width: 250px;
min-height: 38px;
background: $cWhite;
border: 1px solid $cBlack;
margin-left: 60px;
margin-top: 19px;
padding: 0 20px;
outline: none !important;
background: $cWhite;
transition: background 250ms ease-in-out;
cursor: pointer;
&:hover {
background: $cBlack;
p {
color: $cWhite;
}
span {
border-color: $cWhite;
&::before,
&::after {
background: $cWhite;
}
}
}
p {
font-weight: 300;
font-size: 16px;
line-height: 20px;
letter-spacing: 0.15em;
text-transform: uppercase;
margin-bottom: 0;
transition: color 250ms ease-in;
}
span {
position: relative;
width: 20px;
height: 20px;
border-radius: 100%;
border: 1px solid $cBlack;
transition: border 250ms ease-in;
&::before {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 10px;
height: 1px;
background: $cBlack;
border-radius: 3px;
transform: translate(-50%, -50%);
transition: background 250ms ease-in;
}
&::after {
content: '';
position: absolute;
left: 50%;
top: 50%;
width: 10px;
height: 1px;
background: $cBlack;
border-radius: 3px;
transform: translate(-50%, -50%) rotate(90deg);
transition: width 250ms ease-in, background 250ms ease-in;
}
}
@include respond-below(md) {
margin-left: 30px;
}
}
}
#nav_tabs,
#nav_tabs_colors {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 17px;
// width: fit-content;
li {
position: relative;
min-width: fit-content;
width: 200px;
border: 1px solid $cBlack;
background: $cWhite;
transition: background 250ms ease;
// &.new {
// &::before {
// content: url('/upload/filemanager/Icons/new-icon.png');
// position: absolute;
// top: -10px;
// right: -15px;
// }
// }
&.active {
background: $cBlack;
a {
color: $cWhite;
}
}
a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
row-gap: 7px;
color: $cBlack;
font-weight: 300;
font-size: 18px;
line-height: 1;
margin-bottom: 0;
padding: 12px 20px;
cursor: pointer;
transition: color 250ms ease;
u {
display: flex;
flex-direction: column;
align-items: center;
font-weight: 300;
font-size: 14px;
line-height: 1.3;
margin-bottom: 0;
letter-spacing: 0.05em;
text-decoration: none;
span {
margin-top: -4px;
font-size: 14px;
}
}
}
}
}
#product-colors-preview-box {
margin-bottom: 70px;
.colors-box-header {
padding: 45px 50px 30px;
margin-bottom: 50px;
background: #f4f4f4;
h2 {
font-size: 30px;
font-weight: 300;
line-height: 25px;
letter-spacing: 0.15em;
}
p {
font-size: 16px;
font-weight: 300;
line-height: 25px;
letter-spacing: 0.05em;
margin-bottom: 0;
}
.c-row {
display: flex;
flex-direction: row;
column-gap: 40px;
.c-col {
&-2 {
display: flex;
justify-content: center;
flex: 1;
}
}
}
}
.colors-preview {
display: none;
&.active {
display: block;
}
.color-tiles-rows {
.color-tiles {
&:not(:last-child) {
margin-bottom: 130px;
}
.color-tiles-title {
}
.color-tiles-data {
display: flex;
flex-direction: row;
flex-wrap: wrap;
column-gap: 17px;
row-gap: 17px;
align-items: flex-start;
overflow: hidden;
li {
flex: 0 0 calc(100% / 3 - (17px * 2 / 3));
@include respond-below(md) {
flex: 0 0 calc(100% / 2 - (17px / 2));
&.empty {
display: none;
}
}
@include respond-below(sm) {
flex: 0 0 100%;
}
}
}
}
}
}
}
#drzwi-aluminiowe-box {
.box-1 {
padding-bottom: 150px;
@include respond-below(md) {
padding-bottom: 50px;
}
#product-preview-box {
margin-bottom: 0;
.product-preview-box {
.row {
&:not(:last-child) {
margin-bottom: 110px;
padding-bottom: 110px;
border-bottom: 1px solid #000;
}
}
h3 {
color: #000;
font-size: 32px;
font-weight: 300;
letter-spacing: 4px;
line-height: 1;
margin-bottom: 40px;
text-transform: uppercase;
}
#nav_tabs {
margin-bottom: 50px;
padding-bottom: 0;
&::before {
display: none;
}
}
.product-doors-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
column-gap: 70px;
row-gap: 40px;
padding: 0;
margin: 0;
li {
display: flex;
flex-direction: column;
row-gap: 16px;
align-items: center;
img {
width: 100%;
max-width: fit-content;
}
p {
margin-bottom: 0;
text-align: center;
color: #000;
font-size: 20px;
font-weight: 700;
letter-spacing: 1px;
line-height: 1;
font-family: 'URW Form', sans-serif;
}
}
}
.product-doors-list-more {
padding-top: 40px;
display: none;
}
.c-button {
margin-top: 40px;
}
}
}
}
.box-2 {
margin-bottom: 140px;
}
.box-3 {
margin-bottom: 100px;
a {
display: flex;
flex-direction: row;
align-items: center;
column-gap: 15px;
color: #000;
font-size: 30px;
font-weight: 400;
line-height: 1;
letter-spacing: 1px;
font-family: 'URW Form', sans-serif;
margin-bottom: 16px;
img {
padding-bottom: 7px;
}
}
p {
margin-bottom: 0;
font-size: 15px;
font-weight: 400;
line-height: 1;
letter-spacing: 1px;
}
}
.box-4 {
.c-row {
display: flex;
flex-direction: row;
align-items: center;
@include respond-below(md) {
flex-direction: column-reverse;
row-gap: 20px;
}
.c-col-1 {
flex-basis: 50%;
@include respond-below(md) {
max-width: 527px;
}
h2 {
color: #000;
font-size: 30px;
font-family: 'URW Form', sans-serif;
font-weight: 400;
letter-spacing: 2px;
text-transform: uppercase;
padding: 35px 30px 25px;
margin: 0;
background: #f4f4f4;
@include respond-below(lg) {
font-size: 26px;
padding: 25px 20px 17px;
}
}
ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 20px 30px;
padding: 30px 0 0 30px;
@include respond-below(lg) {
padding: 20px 0 0 20px;
gap: 20px 30px;
}
@include respond-below(md) {
justify-content: center;
}
li {
display: flex;
flex-direction: column;
row-gap: 4px;
img {
width: 100%;
max-width: 130px;
@include respond-between(md, lg) {
max-width: 110px;
}
}
p {
color: #000;
font-size: 15px;
font-family: 'URW Form', sans-serif;
font-weight: 400;
margin-bottom: 0;
text-transform: uppercase;
letter-spacing: 1px;
}
}
}
}
.c-col-2 {
flex-basis: 50%;
img {
width: 100%;
max-width: fit-content;
}
}
}
}
}