design/public/assets/css/product.css

553 lines
10 KiB
CSS
Raw Normal View History

2024-11-08 00:15:57 +00:00
.productMainWrapper {
width: 100%;
display: flex;
flex-direction: column;
grid-gap: 15px;
}
.productMain {
width: 100%;
display: flex;
flex-direction: row;
grid-gap: 35px;
}
@media (max-width: 992px) {
.productMain {
flex-wrap: wrap;
}
}
.productMainSec {
flex-grow: 1;
display: flex;
flex-direction: column;
grid-gap: 15px;
}
.productMainSec.productMainSecSide {
min-width: 400px;
max-width: 400px;
}
@media (max-width: 992px) {
.productMainSec.productMainSecSide {
min-width: unset;
max-width: unset;
}
}
.productMainSec.productMainSecBod {
display: flex;
flex-direction: column;
grid-gap: 25px;
min-width: 0%;
}
.productMainSecBodGallery {
width: 100%;
display: flex;
flex-direction: column;
grid-gap: 15px;
}
.productMainSecSideSec {
display: flex;
flex-direction: column;
grid-gap: 10px;
}
.productMainSecSideSec.productMainSecSideSecAlt {
padding: 15px;
background: white;
border-radius: 8px;
box-shadow: 0 0 4px 0 rgb(0,0,0,0.1);
}
.productMainSecBodGalleryTop {
}
.productMainSecBodGalleryBot {
padding: 10px;
border-radius: 8px;
background: white;
box-shadow: 0 0 4px 0 rgb(0,0,0,0.1);
display: flex;
flex-direction: column;
}
.productMainSecBodGalleryBotList {
width: 100%;
display: flex;
flex-direction: row;
grid-gap: 10px;
padding: 10px;
background: rgba(0,0,0,0.15);
border-radius: 4px;
overflow-y: hidden;
overflow-x: auto;
justify-content: start;
box-shadow: inset 0 0 8px 0 rgb(0,0,0,0.1);
}
.productMainSecBodGalleryBotListPicWrapper {
min-width: 200px;
max-width: 200px;
}
.productMainSecBodGalleryBotListPic {
transition: ease 0.3s;
padding-top: 56.25%;
background: rgba(0,0,0,0.1);
overflow: hidden;
border-radius: 6px;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-shadow: 0 0 4px 0 rgb(0,0,0,0.1);
outline: solid 3px rgba(255,153,0,0);
cursor: pointer;
2024-11-11 11:07:33 +00:00
overflow: hidden;
2024-11-08 00:15:57 +00:00
}
.productMainSecBodGalleryBotListPic:hover {
outline: solid 3px rgba(255,153,0,0.85);
}
.productMainSecBodGalleryBotListPicImg {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.productMainSecBodExtra {
display: flex;
flex-direction: column;
grid-gap: 10px;
}
.productMainSecBodGalleryTopPic {
width: 100%;
padding-top: 56.25%;
background: rgba(0,0,0,0.1);
border-radius: 8px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
}
.productMainSecBodGalleryTopPicImg {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.productMainSecBodGalleryBotListPic.productMainSecBodGalleryBotListPicActive {
outline: solid 2px rgb(255,153,0);
}
.productMainWrapperTop {
width: 100%;
display: flex;
flex-direction: row;
grid-gap: 10px;
}
.productMainWrapperTopSec {
display: flex;
flex-direction: row;
grid-gap: 5px;
}
.productMainWrapperTopSec.productMainWrapperTopSecInfo {
flex-direction: column;
}
.productMainWrapperTopSecInfoTitle {
font-weight: 600;
}
.productMainSecBodExtraInside {
width: 100%;
display: flex;
flex-direction: column;
grid-gap: 10px;
}
.productMainSecBodExtraInsideDetails {
display: flex;
flex-direction: column;
}
.productMainSecBodExtraInsideActions {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.btnMain.productMainSecBodExtraInsideActionsBtn {
width: 100%;
padding: 5px 15px;
font-size: 16px;
background: rgba(0,0,0,0.05);
color: rgba(0,0,0,0.35);
}
.productMainSecSideSecText {
2024-11-16 13:46:05 +00:00
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 8;
2024-11-08 00:15:57 +00:00
}
.btnMain.productMainSecSideSecBtn {
width: 100%;
padding: 5px 15px;
font-size: 16px;
background: rgba(0,0,0,0.05);
color: rgba(0,0,0,0.35);
}
.productMainSecSideSecActions {
display: flex;
flex-direction: row;
grid-gap: 10px;
}
@media (max-width: 576px) {
.productMainSecSideSecActions {
flex-direction: column;
}
}
.btnMain.productMainSecSideSecActionsBtn {
padding: 10px 20px;
font-size: 16px;
background: rgba(0,0,0,0);
color: rgba(0,0,0,0.35);
border: solid 1px rgba(0,0,0,0.1);
}
.btnMain.productMainSecSideSecActionsBtn:hover {
background: rgba(255,153,0,0.85);
border: solid 1px rgba(0,0,0,0);
}
.btnMain.productMainSecSideSecActionsBtn.productMainSecSideSecActionsBtnBuy {
width: 100%;
background: rgb(255,153,0);
color: white;
border: solid 1px rgba(0,0,0,0);
padding: 5px 5px;
flex-wrap: wrap;
}
.btnMain.productMainSecSideSecActionsBtn.productMainSecSideSecActionsBtnBuy:hover {
background: rgba(255,153,0,0.85);
box-shadow: 0 0 4px 0 rgb(0,0,0,0.1);
}
.productMainSecSideSecPrice {
width: 100%;
display: flex;
flex-direction: row;
grid-gap: 10px;
align-items: center;
flex-wrap: wrap;
}
@media (max-width: 576px) {
.productMainSecSideSecPrice {
flex-direction: column;
}
}
.productMainSecSideSecPriceBox {
display: flex;
flex-direction: row;
grid-gap: 0px;
border-radius: 6px;
border: solid 1px rgba(0,0,0,0.1);
overflow: hidden;
font-size: 18px;
flex-grow: 1;
}
@media (max-width: 576px) {
.productMainSecSideSecPriceBox {
width: 100%;
}
}
.productMainSecSideSecPriceBoxCurrency {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 5px 15px;
background: rgba(255,153,0,0.85);
color: white;
font-weight: 600;
}
.productMainSecSideSecPriceBoxPrice {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 5px 15px;
font-weight: 600;
white-space: nowrap;
}
.productMainSecSideSecPriceText {
}
.productMainSecSideSecPriceBoxPriceText {
width: 100%;
}
.productMainSecSideSecPriceOther {
font-size: 14px;
color: rgba(0,0,0,0.5);
font-weight: 600;
display: flex;
flex-direction: row;
grid-gap: 5px;
flex-wrap: wrap;
}
.productMainSecSideSecActionsBtnBuySpan {
text-align: center;
flex-grow: 1;
}
.productMainSecSideSecActionsBtnBuySpan.productMainSecSideSecActionsBtnBuySpanAlt {
font-size: 14px;
padding: 5px 15px;
border-radius: 4px;
background: rgba(0,0,0,0.05);
border: solid 1px rgba(255,255,255,0.15);
flex-grow: unset;
}
.productMainSecSideSecTitle {
font-weight: 600;
color: rgba(0,0,0,0.5);
font-size: 21px;
}
.productMainSecBodExtraTagsWrapper {
display: flex;
flex-direction: column;
grid-gap: 10px;
}
.productMainSecBodExtraTags {
padding: 15px;
border-radius: 8px;
background: white;
box-shadow: 0 0 4px 0 rgb(0,0,0,0.1);
display: flex;
flex-direction: row;
grid-gap: 10px;
flex-wrap: wrap;
}
.productMainSecBodExtraTagsTag {
transition: ease 0.3s;
padding: 5px 15px;
border-radius: 8px;
border: solid 1px rgba(0,0,0,0.1);
font-weight: 400;
color: rgba(0,0,0,0.5);
background: white;
}
.productMainSecBodExtraTagsTag:hover {
color: rgb(255,255,255);
background: #ffa826;
}
2024-11-11 11:07:33 +00:00
.productMainSecBodExtraInsideMap {
width: 100%;
display: flex;
flex-direction: column;
position: relative;
border-radius: 8px;
background: rgba(0,0,0,0.1);
padding-top: 40%;
border: solid 1px rgba(0,0,0,0.05);
box-shadow: 0 0 4px 0 rgb(0,0,0,0.15);
overflow: hidden;
}
.productMainSecBodExtraInsideMapInside {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
grid-gap: 0px;
}
.productMainSecBodExtraInsideMapInside > small {
width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
background: white;
align-self: center;
padding: 5px;
border-top: solid 1px rgba(0,0,0,0.1);
font-weight: 500;
font-size: 14px;
color: rgba(0,0,0,0.5);
}
.productMainSecBodExtraInsideSources {
width: 100%;
display: flex;
flex-direction: row;
grid-gap: 10px;
flex-wrap: wrap;
}
.productMainSecBodExtraInsideSourcesCard {
width: 100%;
flex-grow: 1;
border: solid 1px rgba(0,0,0,0.1);
border-radius: 6px;
padding: 10px;
display: flex;
flex-direction: column;
grid-gap: 10px;
}
.productMainSecBodExtraInsideSourcesCardTop {
display: flex;
flex-direction: row;
justify-content: start;
align-items: start;
width: 100%;
grid-gap: 15px;
flex-wrap: wrap;
}
.productMainSecBodExtraInsideSourcesCardTopFlag {
border: solid 4px white;
box-shadow: 0 0 4px 0 rgb(0,0,0,0.1);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
border-radius: 6px;
max-width: 100px;
box-shadow: 0 0 4px 1px rgb(0,0,0,0.25);
}
.productMainSecBodExtraInsideSourcesCardTopFlagImg {
width: 100%;
height: 100%;
}
.productMainSecBodExtraInsideSourcesCardTopDetails {
display: flex;
flex-direction: column;
grid-gap: 10px;
}
.productMainSecBodExtraInsideSourcesCardMidElement {
display: flex;
flex-direction: column;
grid-gap: 10px;
flex-grow: 1;
}
.productMainSecBodExtraInsideSourcesCardTopDetailsText {
}
.productMainSecBodExtraInsideSourcesCardTopDetailsOther {
display: flex;
flex-direction: row;
grid-gap: 10px;
flex-wrap: wrap;
}
.productMainSecBodExtraInsideSourcesCardTopDetailsOtherElement {
border-radius: 6px;
padding: 5px 15px;
background: white;
display: flex;
flex-direction: row;
grid-gap: 10px;
border: solid 1px rgba(0,0,0,0.1);
white-space: nowrap;
font-size: 14px;
font-weight: 500;
}
.productMainSecBodExtraInsideSourcesCardTopDetailsOtherElementPercentage {
}
.productMainSecBodExtraInsideSourcesCardTopDetailsOtherElementName {
}
.productMainSecBodExtraInsideSourcesCardMid {
display: flex;
flex-direction: row;
grid-gap: 25px;
flex-wrap: wrap;
}
.productMainSecBodGalleryBotListVidCover {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0,0,0,0.35);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: rgba(255,255,255,0.5);
}
.productMainSecBodGalleryBotListVidCoverIcon {
transition: ease 0.3s;
font-size: 42px;
}
.productMainSecBodGalleryBotListVidCover:hover {
color: #ff9900;
background: rgba(0,0,0,0.5);
}
.productMainSecBodGalleryBotListVidCover:hover > * {
transform: scale(1.1);
}