lbry-desktop/ui/scss/component/_badge.scss

40 lines
729 B
SCSS
Raw Normal View History

2019-02-13 17:27:20 +01:00
@import '~@lbry/components/sass/badge/_index.scss';
2019-06-11 20:10:58 +02:00
2019-07-10 18:08:01 +02:00
.badge {
vertical-align: middle;
2019-07-21 23:31:22 +02:00
white-space: nowrap;
2019-07-10 18:08:01 +02:00
}
2019-06-11 20:10:58 +02:00
.badge--tag {
@extend .badge;
background-color: lighten($lbry-teal-5, 55%);
color: darken($lbry-teal-5, 20%);
2019-06-17 22:32:38 +02:00
svg {
stroke: $lbry-teal-5;
}
2019-06-11 20:10:58 +02:00
[data-mode='dark'] & {
2019-07-01 20:42:32 +02:00
color: var(--dm-color-01);
2019-07-11 22:43:42 +02:00
background-color: lighten(mix($lbry-black, $lbry-teal-5, 80%), 10%);
2019-06-11 20:10:58 +02:00
}
}
.badge--alert {
@extend .badge;
background-color: $lbry-red-2;
color: $lbry-white;
}
2019-07-02 23:00:05 +02:00
.badge--mature {
background-color: lighten($lbry-grape-1, 10%);
color: $lbry-black;
svg {
stroke: $lbry-black;
}
2019-07-09 08:11:30 +02:00
[data-mode='dark'] & {
2019-07-11 22:43:42 +02:00
background-color: darken(mix($lbry-grape-1, $lbry-gray-5, 50%), 20%);
2019-07-09 08:11:30 +02:00
}
2019-07-02 23:00:05 +02:00
}