1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

Removed unused colors

This commit is contained in:
Fedor Katurov 2022-08-13 18:42:22 +07:00
parent ba1823ee8a
commit f6b76055d3
106 changed files with 563 additions and 546 deletions

View file

@ -1,17 +1,27 @@
@import "src/styles/variables";
@import 'src/styles/variables';
@keyframes highlight {
0% { opacity: 0.75; }
25% { opacity: 0.5; }
50% { opacity: 0.75; }
75% { opacity: 0; }
100% { opacity: 0; }
0% {
opacity: 0.75;
}
25% {
opacity: 0.5;
}
50% {
opacity: 0.75;
}
75% {
opacity: 0;
}
100% {
opacity: 0;
}
}
.wrap {
@include outer_shadow;
background: $comment_bg;
background: $content_bg_light;
min-height: $comment_height;
display: flex;
position: relative;
@ -35,7 +45,7 @@
right: 0;
bottom: 0;
animation: highlight 1s 0.5s forwards;
background: transparentize($wisegreen, 0.7);
background: transparentize($color_primary, 0.7);
border-radius: $radius;
pointer-events: none;
touch-action: none;
@ -73,14 +83,15 @@
flex-direction: row;
flex: 0 0 40px;
padding: 8px;
box-shadow: inset rgba(255, 255, 255, 0.05) 1px 1px, inset rgba(0, 0, 0, 0.1) -1px -1px;
box-shadow: inset rgba(255, 255, 255, 0.05) 1px 1px,
inset rgba(0, 0, 0, 0.1) -1px -1px;
border-radius: $panel_radius $panel_radius 0 0;
}
}
div.thumb_image {
height: $comment_height;
background: transparentize(white, 0.97) no-repeat 50% 50%;
background: $gray_90 no-repeat 50% 50%;
border-radius: $panel_radius 0 0 $panel_radius;
background-size: cover;
flex: 0 0 $comment_height;

View file

@ -1,7 +1,6 @@
@import "src/styles/variables";
@import 'src/styles/variables';
$pad_danger: mix($red, $content_bg, 70%);
$pad_usual: mix(white, $content_bg, 10%);
$pad_usual: $content_bg_lightest;
.title {
position: relative;
@ -19,7 +18,7 @@ $pad_usual: mix(white, $content_bg, 10%);
text-transform: uppercase;
.danger & {
background: $pad_danger;
background: $color_danger_slate;
}
}
}
@ -31,7 +30,7 @@ $pad_usual: mix(white, $content_bg, 10%);
position: relative;
&.danger {
box-shadow: inset $pad_danger 0 0 0 2px;
box-shadow: inset $color_danger_slate 0 0 0 2px;
}
&.with_title {