ui: context menu style tweaks

This commit is contained in:
bordun 2020-04-23 23:29:07 +02:00
parent 0401ba9571
commit e08f0d3354
3 changed files with 8 additions and 6 deletions

View file

@ -57,7 +57,7 @@ body {
white-space:nowrap;
opacity:1;
cursor: default;
font-family: $font, sans-serif;
font-family: $font;
font-size:11rem;
line-height:100%;
font-weight: 500;

View file

@ -1,5 +1,6 @@
$font: 'Roboto';
$font-mono: 'Roboto Mono';
$font-menu: sans-serif;
$base: rgb(25, 31, 42)!default;
$accent: rgb(82, 168, 255)!default;
@ -14,7 +15,6 @@ $text: white!default;
--color-text: #{transparentize($text, .4)};
--color-background: #{$base};
--color-ui-background: #{mix($base, black, 85)};
@ -22,7 +22,7 @@ $text: white!default;
--color-notification: #{rgba(black, 0.8)};
--color-context-menu: #fafafa;
--color-context-menu-text: #333;
--color-context-menu-text: #444;
--alpha-scrollbar: 0.25;
--alpha-scrollbar-on: 0.5;

View file

@ -11,10 +11,12 @@ $line-height: 30rem;
box-shadow: 0 0 0 0.5rem rgba(0, 0, 0, 0.15) inset;
text-transform: none;
color: var(--color-context-menu-text);
font-weight: 400;
font-size: 12rem;
font-weight: 500;
font-size: 14rem;
line-height: $line-height;
// border-radius: 2rem;
font-family: $font-menu;
letter-spacing: normal;
.context-menu {
position: absolute;
left:100%;