каркас вроде есть
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
@import '../../../../styles/design-tokens';
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
|
||||
gap: 14px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.navCard {
|
||||
background: #fff;
|
||||
border-radius: $r-md;
|
||||
padding: 22px 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
box-shadow: $sh-1;
|
||||
cursor: pointer;
|
||||
@include card-hover-gold;
|
||||
border: 1px solid $gray-200;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0; top: 0; bottom: 0;
|
||||
width: 3px;
|
||||
background: $grad-gold-v;
|
||||
opacity: 0;
|
||||
transition: .22s;
|
||||
}
|
||||
&:hover::before { opacity: 1; }
|
||||
}
|
||||
|
||||
.navIcon {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: $r-md;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
background: $navy-50;
|
||||
color: $navy-700;
|
||||
border: 1px solid $navy-100;
|
||||
transition: .22s;
|
||||
|
||||
.navCard:hover & { background: $gold-50; color: $gold-600; border-color: $gold-300; }
|
||||
}
|
||||
|
||||
.navTitle { font-size: 14.5px; font-weight: 600; color: $navy-900; letter-spacing: .1px; }
|
||||
.navDesc { font-size: 12px; color: $gray-400; margin-top: 2px; }
|
||||
|
||||
.navArrow {
|
||||
color: $gray-300;
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
transition: .22s;
|
||||
.navCard:hover & { color: $gold-500; transform: translateX(3px); }
|
||||
}
|
||||
|
||||
.statRow {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
|
||||
gap: 14px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.statCard {
|
||||
background: #fff;
|
||||
border-radius: $r-md;
|
||||
padding: 18px 20px;
|
||||
box-shadow: $sh-1;
|
||||
border: 1px solid $gray-200;
|
||||
}
|
||||
|
||||
.statLabel {
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1.2px;
|
||||
color: $gray-400;
|
||||
font-weight: 600;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.statValue {
|
||||
font-family: $font-serif;
|
||||
font-size: 26px;
|
||||
font-weight: 600;
|
||||
color: $navy-900;
|
||||
}
|
||||
Reference in New Issue
Block a user