guild_front/src/pages/PartnerСategories/partnerСategories.scss

195 lines
3.4 KiB
SCSS
Raw Normal View History

.partner-categories {
background: #f1f1f1;
2024-02-14 16:34:12 +03:00
display: flex;
flex-direction: column;
2023-03-16 15:10:53 +03:00
min-height: 100vh;
&__title {
color: #000000;
2023-03-23 16:18:57 +03:00
font-weight: 700;
font-size: 22px;
line-height: 32px;
2023-03-16 15:10:53 +03:00
}
&__items {
display: flex;
2024-02-01 22:32:55 +03:00
gap: 10px;
2024-02-01 23:14:29 +03:00
flex-wrap: wrap;
2024-02-09 22:19:49 +03:00
justify-content: center;
2023-03-16 15:10:53 +03:00
}
&__empty {
font-size: 18px;
font-weight: 500;
margin-top: 20px;
2024-03-10 19:45:20 +03:00
text-align: center;
}
2023-03-16 15:10:53 +03:00
.item {
display: flex;
flex-direction: column;
padding: 33px 32px 25px 28px;
width: 32%;
background: #ffffff;
2023-03-16 15:10:53 +03:00
border-radius: 12px;
transition: all 0.3s ease;
position: relative;
@media (max-width: 1098px) {
width: 48%;
}
@media (max-width: 650px) {
width: 100%;
}
&:hover {
box-shadow: 6px 5px 20px rgba(87, 98, 80, 0.21);
transform: scale(1.02);
text-decoration: none;
}
&__disable {
opacity: 0.5;
&:hover {
box-shadow: none;
transform: none;
opacity: 1;
background: #f8f8f8;
.item__info {
opacity: 0;
}
.item__disable-hover {
2023-03-16 15:10:53 +03:00
opacity: 1;
}
}
&-hover {
2023-03-16 15:10:53 +03:00
position: absolute;
display: flex;
left: 0;
width: 100%;
align-items: center;
justify-content: space-between;
padding: 16px 13px 16px 21px;
border: 3px solid #52b709;
2023-03-16 15:10:53 +03:00
bottom: 0;
border-radius: 12px;
opacity: 0;
transition: all 0.5s ease;
p {
color: #000000;
font-weight: 500;
font-size: 14px;
line-height: 18px;
max-width: 140px;
margin-bottom: 0;
}
button {
width: 140px;
height: 50px;
border: none;
background: #52b709;
2023-03-16 15:10:53 +03:00
border-radius: 44px;
font-weight: 500;
font-size: 15px;
line-height: 32px;
color: #ffffff;
2023-03-16 15:10:53 +03:00
}
}
}
&__title {
display: flex;
align-items: center;
margin-bottom: 27px;
h4 {
color: #000000;
font-weight: 500;
font-size: 18px;
line-height: 22px;
margin-left: 18px;
max-width: 190px;
margin-bottom: 0;
}
}
&__info {
display: flex;
justify-content: space-between;
p {
max-width: 181px;
margin-bottom: 0;
color: #6f6f6f;
2023-03-16 15:10:53 +03:00
font-weight: 400;
font-size: 12px;
line-height: 20px;
}
.more {
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
background: #ddeec6;
2023-03-16 15:10:53 +03:00
border-radius: 50px;
}
}
}
.container {
2024-02-15 14:29:00 +03:00
max-width: 1160px;
2024-02-14 16:34:12 +03:00
display: flex;
flex-direction: column;
flex: 1;
2023-03-16 15:10:53 +03:00
margin-top: 23px;
@media (max-width: 570px) {
margin-top: 0;
}
}
2024-03-10 23:27:52 +03:00
.table {
&__search {
display: flex;
width: 100%;
gap: 10px;
font-size: 18px;
align-items: center;
}
&__avatar {
max-width: 45px;
}
&__link {
display: flex;
column-gap: 10px;
color: black;
font-size: 16px;
align-items: center;
}
2024-03-19 16:39:00 +03:00
&__pagination {
width: 100%;
display: flex;
justify-content: space-between;
font-size: 16px;
align-items: center;
}
&__pages {
display: flex;
column-gap: 5px;
align-items: center;
}
2024-03-10 23:27:52 +03:00
}
2023-03-16 15:10:53 +03:00
}