summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/widgets/server.cpu-memory.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-09-28 11:18:56 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-09-28 11:18:56 +0900
commitfccfe19e13db9b7e22829193d3ebd2bb3cad3453 (patch)
treead29d9edb01fa6fdd045bf9576d92f2c21cd3bad /src/client/app/common/views/widgets/server.cpu-memory.vue
parentwip (diff)
downloadsharkey-fccfe19e13db9b7e22829193d3ebd2bb3cad3453.tar.gz
sharkey-fccfe19e13db9b7e22829193d3ebd2bb3cad3453.tar.bz2
sharkey-fccfe19e13db9b7e22829193d3ebd2bb3cad3453.zip
wip
Diffstat (limited to 'src/client/app/common/views/widgets/server.cpu-memory.vue')
-rw-r--r--src/client/app/common/views/widgets/server.cpu-memory.vue10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/client/app/common/views/widgets/server.cpu-memory.vue b/src/client/app/common/views/widgets/server.cpu-memory.vue
index b0421d6150..55aa1ea895 100644
--- a/src/client/app/common/views/widgets/server.cpu-memory.vue
+++ b/src/client/app/common/views/widgets/server.cpu-memory.vue
@@ -129,7 +129,7 @@ export default Vue.extend({
</script>
<style lang="stylus" scoped>
-root(isDark)
+.cpu-memory
> svg
display block
padding 10px
@@ -144,7 +144,7 @@ root(isDark)
> text
font-size 5px
- fill isDark ? rgba(#fff, 0.55) : rgba(#000, 0.55)
+ fill var(--chartCaption)
> tspan
opacity 0.5
@@ -154,10 +154,4 @@ root(isDark)
display block
clear both
-.cpu-memory[data-darkmode]
- root(true)
-
-.cpu-memory:not([data-darkmode])
- root(false)
-
</style>