diff options
author | Notkea | 2020-01-31 18:09:33 +0100 |
---|---|---|
committer | GitHub | 2020-01-31 18:09:33 +0100 |
commit | 245fee3fe5abdc6ad14513ef6522446aba4c905a (patch) | |
tree | 749ec466c404499f19d571834262b87c14f0d0af /viewer/src/assets | |
parent | d94b987463169b254ab69a79ddb58e5beccb0941 (diff) | |
parent | be8ec3edaed843f08dac3d2bf2f10f7247ef3d3a (diff) | |
download | ldgallery-245fee3fe5abdc6ad14513ef6522446aba4c905a.tar.gz |
Merge pull request #68 from pacien/oz-viewer
Diffstat (limited to 'viewer/src/assets')
-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; | ||