mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed boris contacts shadows
This commit is contained in:
parent
a9d5b3c7f2
commit
0ebc7f0ebf
4 changed files with 10 additions and 19 deletions
|
@ -7,6 +7,8 @@
|
|||
justify-content: stretch;
|
||||
text-decoration: none;
|
||||
color: darken(white, 50%);
|
||||
padding: $gap;
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
@ -21,9 +23,10 @@
|
|||
|
||||
.title {
|
||||
font: $font_16_semibold;
|
||||
line-height: 1.25em;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font: $font_12_medium;
|
||||
opacity: 0.7;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
|
|
@ -6,8 +6,6 @@ interface Props {}
|
|||
|
||||
const BorisContacts: FC<Props> = () => (
|
||||
<div className={styles.contacts}>
|
||||
<div className={styles.contacts__title}>Где мы ещё:</div>
|
||||
|
||||
<BorisContactItem
|
||||
icon="vk"
|
||||
title="Суицидальные роботы"
|
||||
|
|
|
@ -1,19 +1,10 @@
|
|||
@import "~/styles/variables";
|
||||
|
||||
.contacts {
|
||||
display: grid;
|
||||
grid-auto-flow: row;
|
||||
grid-row-gap: $gap;
|
||||
padding: 2px 2px $gap * 3 2px;
|
||||
@include inner_shadow;
|
||||
border-radius: $radius;
|
||||
|
||||
& > *:not(:last-child) {
|
||||
border-bottom: 1px solid #333333;
|
||||
padding-bottom: $gap * 2;
|
||||
& > * {
|
||||
@include row_shadow;
|
||||
}
|
||||
}
|
||||
|
||||
.contacts__title {
|
||||
font: $font_12_semibold;
|
||||
text-transform: uppercase;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
|
|
@ -95,9 +95,8 @@ $sidebar_border: transparentize(white, 0.95);
|
|||
}
|
||||
|
||||
@mixin row_shadow() {
|
||||
&:not(last-child) {
|
||||
box-shadow:
|
||||
transparentize(white, 0.95) 0 1px,
|
||||
&:not(:last-child) {
|
||||
box-shadow: transparentize(white, 0.95) 0 1px,
|
||||
inset transparentize(black, 0.8) 0 -1px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue