summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components/context-menu.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/desktop/views/components/context-menu.vue')
-rw-r--r--src/client/app/desktop/views/components/context-menu.vue10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/client/app/desktop/views/components/context-menu.vue b/src/client/app/desktop/views/components/context-menu.vue
index 49aeac143f..b0a34866cd 100644
--- a/src/client/app/desktop/views/components/context-menu.vue
+++ b/src/client/app/desktop/views/components/context-menu.vue
@@ -71,7 +71,7 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
-root(isDark)
+.context-menu
$width = 240px
$item-height = 38px
$padding = 10px
@@ -82,15 +82,9 @@ root(isDark)
z-index 4096
width $width
font-size 0.8em
- background isDark ? #282c37 : #fff
+ background var(--popupBg)
border-radius 0 4px 4px 4px
box-shadow 2px 2px 8px rgba(#000, 0.2)
opacity 0
-.context-menu[data-darkmode]
- root(true)
-
-.context-menu:not([data-darkmode])
- root(false)
-
</style>