55 lines
1022 B
SCSS
55 lines
1022 B
SCSS
@use '../../../styles/variables' as *;
|
|
|
|
.home-page__categories {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
gap: 2px;
|
|
padding: 4px 0;
|
|
}
|
|
|
|
.home-page__cat-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 2px 8px;
|
|
border-radius: $r-sm;
|
|
}
|
|
|
|
.home-page__cat-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
font-size: 18px;
|
|
|
|
&--orange { background: #FFF4ED; }
|
|
&--green-soft { background: #F0FDF4; }
|
|
&--yellow { background: #FFFBEB; }
|
|
&--green-light { background: #ECFDF5; }
|
|
&--mint { background: #F0FDF4; }
|
|
&--amber { background: #FFF7ED; }
|
|
}
|
|
|
|
.home-page__cat-label {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: $text-2;
|
|
}
|
|
|
|
.home-page__cat-badge {
|
|
position: absolute;
|
|
top: -3px;
|
|
right: -6px;
|
|
font-size: 9px;
|
|
background: $red;
|
|
color: #fff;
|
|
padding: 1px 5px;
|
|
border-radius: 999px;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
}
|