This commit is contained in:
Roman Pyrih
2024-12-09 12:51:26 +01:00
parent e981f6f911
commit ff4a09798f
11 changed files with 674 additions and 69 deletions

View File

@@ -15,3 +15,13 @@ $cGrayBg: #f2f2f2;
$cGrayDarkBg: #777676;
$cGrayBorder: #ccc;
$cBlackText: #212529;
$cBlack: #000;
$cWhite: #fff;
$cLightBlue: #4ca8e6;
$cDarkNight: #343431;
$cDeepDark: #1d1d1b;
$cTxtCloud: #d8d8d8;
$cTxtLightBlue: #4ca8e6;
$cTxtDark: #2c2d2f;

View File

@@ -0,0 +1,119 @@
@import '_mixins';
@import '_variables';
.banner-mini {
margin-bottom: 120px;
}
#scontainer-61 {
.product-preview {
.row {
&:nth-child(1) {
margin-bottom: 60px;
}
&:nth-child(2) {
align-items: center;
}
}
p {
font-size: 14px;
font-weight: 300;
text-align: center;
}
table {
width: 100%;
margin-bottom: 15px;
thead {
tr {
th {
font-family: Alegreya Sans;
font-size: 16px;
font-style: normal;
font-weight: 300;
line-height: 24px;
letter-spacing: 0em;
text-align: center;
color: #fff;
background: #000;
text-transform: uppercase;
padding: 8px 15px;
&:empty {
visibility: hidden;
}
&:blank {
visibility: hidden;
}
&:first-child {
visibility: hidden;
}
@include respond-below(xs) {
padding: 8px 5px;
}
}
}
}
tbody {
border: 1px solid #000;
padding-left: 20px;
tr {
&:first-child {
td {
padding-top: 100px;
@include respond-between(sm, md) {
padding-top: 50px;
}
@include respond-below(sm) {
padding-top: 50px;
}
}
}
&:last-child {
td {
padding-bottom: 100px;
@include respond-between(sm, md) {
padding-bottom: 50px;
}
@include respond-below(sm) {
padding-bottom: 50px;
}
}
}
td {
padding: 10px 20px;
font-size: 14px;
font-weight: 500;
@include respond-below(xs) {
padding: 10px 10px;
}
text-align: center;
&:first-child {
text-align: left;
}
img {
width: 20px;
height: 20px;
}
}
}
}
}
}
}

View File

@@ -7458,3 +7458,451 @@ a {
}
}
}
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#nav_tabs {
max-width: 980px;
// padding-bottom: 120px;
margin-bottom: 90px;
margin-left: auto;
margin-right: auto;
// &::before {
// content: '';
// position: absolute;
// bottom: 0;
// left: 0;
// height: 1px;
// width: 100vw;
// background-color: $cBlack;
// }
}
#nav_tabs,
#nav_tabs_colors {
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 17px;
list-style: none;
padding-left: 0;
padding-right: 0;
// 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: $cTxtWhite;
}
}
a {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
text-transform: uppercase;
row-gap: 3px;
color: $cTxtBlack;
font-weight: 400;
font-size: 14px;
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: 400;
font-size: 18px;
line-height: 1.3;
margin-bottom: 0;
letter-spacing: 0.05em;
text-decoration: none;
span {
margin-top: -4px;
font-size: 14px;
}
}
}
}
}
#product-preview-box {
margin-bottom: 100px;
.product-preview-box {
.scontainer-content {
// padding-left: 250px;
.product-preview {
display: none;
// padding-left: 250px;
&.active {
display: block;
}
.product_info_img {
padding-top: 15px;
.product-emblem {
position: absolute;
left: 0;
transform: translateX(-95%);
z-index: 3;
width: 240px;
height: 240px;
text-align: center;
padding: 15px;
background: $cWhite;
border: 5px solid #d8d8d8;
border-radius: 100%;
&::before {
content: '';
position: absolute;
inset: -10px;
border: 5px solid #e6e6e6;
border-radius: 100%;
}
&::after {
content: '';
position: absolute;
inset: -15px;
border: 5px solid #f4f4f4;
border-radius: 100%;
box-shadow: 0 0 0px 5px #fbfbfb;
}
img {
margin-bottom: 14px;
}
p {
font-weight: 300;
font-size: 18px;
line-height: 20px;
letter-spacing: 0.05em;
margin-bottom: 0;
strong {
display: block;
position: relative;
font-weight: 700;
font-size: 16px;
line-height: 20px;
text-align: center;
letter-spacing: 0.05em;
text-transform: uppercase;
color: $cTxtLightBlue;
margin-bottom: 14px;
&::before {
content: '';
position: absolute;
bottom: -6px;
left: 50%;
height: 1px;
width: 100%;
max-width: 110px;
background: $cLightBlue;
transform: translateX(-50%);
}
}
}
@include respond-below(md) {
transform: translateX(0);
left: 15px;
}
@include respond-below(xs) {
display: none;
}
}
.illustration_product_slider {
.swiper-wrapper {
.swiper-slide {
text-align: center;
}
}
.swiper-navigation {
display: flex;
flex-direction: row-reverse;
align-items: center;
justify-content: center;
gap: 60px;
.swiper-button-disabled {
opacity: 0.6;
}
.swiper-slide-next {
position: relative;
cursor: pointer;
transition: opacity 250ms ease-in;
img {
width: 50px;
height: 50px;
}
}
.swiper-slide-prev {
position: relative;
cursor: pointer;
transition: opacity 250ms ease-in;
img {
width: 50px;
height: 50px;
}
}
}
}
@include respond-below(md) {
margin-bottom: 50px;
}
}
.product_info_text {
display: flex;
flex-direction: column;
justify-content: space-between;
h3 {
font-weight: 700;
font-size: 35px;
line-height: 37px;
letter-spacing: 0.15em;
text-transform: uppercase;
margin-bottom: 25px;
}
ul {
border: 1px solid #f4f4f4;
padding: 15px 20px;
/* width */
&::-webkit-scrollbar {
width: 3px;
}
/* Handle */
&::-webkit-scrollbar-thumb {
background: #dadada;
border-radius: 0px;
}
/* Track */
&::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px rgba(grey, 0.1);
border-radius: 0px;
}
/* Handle on hover */
&::-webkit-scrollbar-thumb:hover {
background: #000000;
}
li {
&:not(:last-child) {
margin-bottom: 25px;
}
h4 {
font-weight: 700;
font-size: 16px;
line-height: 26px;
letter-spacing: 0.05em;
margin-bottom: 0;
}
p {
font-weight: 300;
font-size: 16px;
line-height: 26px;
letter-spacing: 0.05em;
margin-bottom: 0;
}
}
}
&__footer {
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
column-gap: 55px;
row-gap: 15px;
padding-top: 45px;
padding-left: 20px;
.btn8 {
}
img {
width: 100%;
max-width: fit-content;
}
}
@include respond-below(sm) {
text-align: center;
.btn8 {
margin-top: 40px;
margin-left: auto;
margin-right: auto;
}
}
}
@include respond-below(md) {
padding-left: 0;
}
}
}
}
@include respond-below(md) {
margin-bottom: 70px;
}
}
#product-colors-preview-box {
margin-bottom: 70px;
.scontainer-content {
.colors-box-header {
margin-bottom: 50px;
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;
justify-content: center;
.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: 100px;
}
.color-tiles-title {
margin-bottom: 30px;
h2 {
margin: 0;
font-size: 20px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
}
}
.color-tiles-data {
display: flex;
flex-direction: row;
flex-wrap: wrap;
column-gap: 23px;
row-gap: 15px;
align-items: flex-start;
overflow: hidden;
padding: 0;
margin: 0;
flex-wrap: wrap;
list-style: none;
li {
list-style: none;
flex: 0 0 97px;
@include respond-below(md) {
&.empty {
display: none;
}
}
@include respond-below(sm) {
flex: 0 0 100%;
}
p {
font-size: 12px;
font-weight: 700;
letter-spacing: 1px;
margin-bottom: 0;
text-transform: uppercase;
}
}
}
}
}
}
}
}