context-menu: light themed

This commit is contained in:
bordun 2020-04-23 16:22:37 +02:00
parent 0ba050010a
commit c384b07177
4 changed files with 10 additions and 6 deletions

View file

@ -63,6 +63,8 @@ body {
font-weight: 500;
// text-transform: uppercase;
letter-spacing: 1rem;
text-rendering: optimizeSpeed;
}

View file

@ -21,8 +21,8 @@ $text: white!default;
--color-grid: rgba(0,0,0, 0.1);
--color-notification: #{rgba(black, 0.8)};
--color-context-menu: #{mix($base, white, 95)};
--color-context-menu-text: #{transparentize($text, .2)};
--color-context-menu: #fafafa;
--color-context-menu-text: #333;
--alpha-scrollbar: 0.25;
--alpha-scrollbar-on: 0.5;

View file

@ -3,7 +3,7 @@ $line-height: 30rem;
.context-menu {
--widget-padding: 0rem;
--alpha-fill: 0.75;
--alpha-fill: 1;
position:fixed;
z-index: 9999999;
@ -11,15 +11,17 @@ $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;
line-height: $line-height;
// border-radius: 2rem;
.context-menu {
position: absolute;
left:100%;
top:0;
opacity:0;
pointer-events: none;
margin-left: -0.5rem;
margin-left: -1rem;
&:before {
content:"";
position: absolute;

View file

@ -503,7 +503,7 @@
&:focus::selection {
background: var(--color-fill);
color: var(--color-background);
color: var(--color-text);
}
}