diff options
Diffstat (limited to 'viewer/src/assets/scss')
-rw-r--r-- | viewer/src/assets/scss/global.scss | 14 | ||||
-rw-r--r-- | viewer/src/assets/scss/theme.scss | 3 |
2 files changed, 11 insertions, 6 deletions
diff --git a/viewer/src/assets/scss/global.scss b/viewer/src/assets/scss/global.scss index b418911..5de5946 100644 --- a/viewer/src/assets/scss/global.scss +++ b/viewer/src/assets/scss/global.scss | |||
@@ -96,10 +96,12 @@ img { | |||
96 | 96 | ||
97 | // === Effect to apply on lazy-image loading | 97 | // === Effect to apply on lazy-image loading |
98 | 98 | ||
99 | .v-lazy-image { | 99 | img { |
100 | opacity: 0; | 100 | &.v-lazy-image { |
101 | transition: opacity 0.4s; | 101 | opacity: 0; |
102 | } | 102 | transition: opacity 0.4s; |
103 | .v-lazy-image-loaded { | 103 | } |
104 | opacity: 1; | 104 | &.v-lazy-image-loaded { |
105 | opacity: 1; | ||
106 | } | ||
105 | } | 107 | } |
diff --git a/viewer/src/assets/scss/theme.scss b/viewer/src/assets/scss/theme.scss index d3aac99..1b474e8 100644 --- a/viewer/src/assets/scss/theme.scss +++ b/viewer/src/assets/scss/theme.scss | |||
@@ -29,8 +29,11 @@ $panel-left-txtcolor: $panel-top-txtcolor; | |||
29 | $content-bgcolor: #1e1e1e; | 29 | $content-bgcolor: #1e1e1e; |
30 | $toolbar-color: #d62929; | 30 | $toolbar-color: #d62929; |
31 | $loader-color: #272727; | 31 | $loader-color: #272727; |
32 | |||
33 | // Overrides - Buefy | ||
32 | $link: $panel-top-txtcolor; | 34 | $link: $panel-top-txtcolor; |
33 | $link-hover: lightblue; | 35 | $link-hover: lightblue; |
34 | $disabled-color: rgba($link, 0.3); | 36 | $disabled-color: rgba($link, 0.3); |
35 | $control-radius: 0; | 37 | $control-radius: 0; |
36 | $input-radius: 0; | 38 | $input-radius: 0; |
39 | $loading-background: $panel-top-bgcolor; | ||