design/public/assets/css/profileBox.css
stitch 378b97d299
All checks were successful
publish / Build-and-publish (push) Successful in 16s
product page and product card changes
2024-11-08 02:15:57 +02:00

142 lines
2.5 KiB
CSS

.userProfileBoxMain {
width: 100%;
display: flex;
flex-direction: column;
grid-gap: 10px;
}
.userProfileBoxMainTop {
display: flex;
flex-direction: row;
grid-gap: 15px;
width: 100%;
max-width: 90%;
background: rgba(255,255,255,0.85);
backdrop-filter: blur(10px);
padding: 10px;
margin-top: -30px;
z-index: 1;
border-radius: 8px;
box-shadow: 0 0 4px 0 rgb(0,0,0,0.15);
border: solid 1px rgba(0,0,0,0.1);
align-self: center;
}
.userProfileBoxMainTopPic {
transition: ease 0.3s;
min-height: 75px;
min-width: 75px;
max-height: 75px;
max-width: 75px;
background: rgba(0,0,0,0.1);
border-radius: 100%;
border: solid 4px white;
box-shadow: 0 0 6px 0 rgb(0,0,0,0.25);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
position: relative;
}
.userProfileBoxMainTopPic:hover {
border: solid 4px #ff9900;
transform: scale(1.02);
}
.userProfileBoxMainTopPicImg {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
object-fit: cover;
width: 100%;
height: 100%;
}
.userProfileBoxMainTopDetails {
flex-grow: 1;
display: flex;
flex-direction: column;
grid-gap: 5px;
}
.userProfileBoxMainTopDetailsName {
font-weight: 600;
font-size: 16px;
}
.userProfileBoxMainTopDetailsBio {
font-size: 14px;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
}
.userProfileBoxMainMid {
display: flex;
flex-direction: column;
grid-gap: 5px;
}
.userProfileBoxMainBottom {
display: flex;
flex-direction: row;
grid-gap: 10px;
}
.btnMain.userProfileBoxMainBottomBtn {
width: 100%;
background: rgba(0,0,0,0.1);
color: rgba(0,0,0,0.5);
border: solid 1px rgba(0,0,0,0.1);
padding: 8px;
font-size: 16px;
}
.btnMain.userProfileBoxMainBottomBtn:hover {
width: 100%;
background: rgba(255,153,0,0.85);
border: solid 1px rgba(0,0,0,0);
transform: scale(1.02);
}
.btnMain.userProfileBoxMainBottomBtn.userProfileBoxMainBottomBtnActive {
background: rgba(255,153,0,0.85);
color: white;
}
.userProfileBoxMainBanner {
width: 100%;
border-radius: 8px;
padding-top: 25%;
background: rgba(0,0,0,0.1);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: 0 0 6px 0 rgb(0,0,0,0.2);
}
.userProfileBoxMainBannerImg {
width: 100%;
height: 100%;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
object-fit: cover;
}
.storeProfileBoxMain {
}
.userProfileBoxMainTopPic.userProfileBoxMainTopPicAlt {
border-radius: 8px;
}