diff options
Diffstat (limited to 'viewer/src/assets/scss/theme.scss')
-rw-r--r-- | viewer/src/assets/scss/theme.scss | 61 |
1 files changed, 43 insertions, 18 deletions
diff --git a/viewer/src/assets/scss/theme.scss b/viewer/src/assets/scss/theme.scss index f46b9f5..d62a823 100644 --- a/viewer/src/assets/scss/theme.scss +++ b/viewer/src/assets/scss/theme.scss | |||
@@ -2,6 +2,7 @@ | |||
2 | -- pictures into a searchable web gallery. | 2 | -- pictures into a searchable web gallery. |
3 | -- | 3 | -- |
4 | -- Copyright (C) 2019-2020 Guillaume FOUET | 4 | -- Copyright (C) 2019-2020 Guillaume FOUET |
5 | -- 2020 Pacien TRAN-GIRARD | ||
5 | -- | 6 | -- |
6 | -- This program is free software: you can redistribute it and/or modify | 7 | -- This program is free software: you can redistribute it and/or modify |
7 | -- it under the terms of the GNU Affero General Public License as | 8 | -- it under the terms of the GNU Affero General Public License as |
@@ -17,23 +18,47 @@ | |||
17 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. | 18 | -- along with this program. If not, see <https://www.gnu.org/licenses/>. |
18 | */ | 19 | */ |
19 | 20 | ||
20 | // === Theme | 21 | @import '_buefy_variables.scss'; |
22 | @import 'palette.scss'; | ||
21 | 23 | ||
22 | $layout-top: 35px; | ||
23 | $layout-left: 250px; | ||
24 | 24 | ||
25 | $panel-top-bgcolor: #225; | 25 | // Buefy components |
26 | $panel-top-txtcolor: white; | 26 | |
27 | $panel-left-bgcolor: $panel-top-bgcolor; | 27 | $primary: $palette-000; |
28 | $panel-left-txtcolor: $panel-top-txtcolor; | 28 | $text: $primary; |
29 | $content-bgcolor: #1e1e1e; | 29 | $text-light: $palette-100; |
30 | $toolbar-color: #d62929; | 30 | $text-strong: $primary; |
31 | $loader-color: #272727; | 31 | $input-color: $text; |
32 | 32 | $input-placeholder-color: $text-light; | |
33 | // Overrides - Buefy | 33 | $input-shadow: none; |
34 | $link: $panel-top-txtcolor; | 34 | $input-border-color: transparent; |
35 | $link-hover: lightblue; | 35 | $input-background-color: $palette-500; |
36 | $disabled-color: #656589; | 36 | $input-focus-box-border-color: $palette-200; |
37 | $control-radius: 0; | 37 | $input-focus-box-shadow-color: transparent; |
38 | $input-radius: 0; | 38 | $link: $primary; |
39 | $loading-background: $panel-top-bgcolor; | 39 | $link-visited: $link; |
40 | $link-hover: $palette-100; | ||
41 | $disabled-color: $palette-400; | ||
42 | $radius: 0; | ||
43 | $loading-background: $palette-800; | ||
44 | $title-color: $palette-200; | ||
45 | $title-size: $size-5; | ||
46 | $tag-background-color: $palette-800; | ||
47 | |||
48 | |||
49 | // Custom components | ||
50 | |||
51 | $panel-top-bgcolor: $palette-800; | ||
52 | $panel-top-txtcolor: $primary; | ||
53 | $panel-left-bgcolor: $palette-800; | ||
54 | $panel-left-txtcolor: $primary; | ||
55 | $content-bgcolor: $palette-900; | ||
56 | $toolbar-color: $palette-300; // FIXME: should be named "scrollbar" | ||
57 | $loader-color: $palette-800; | ||
58 | $input-tag-delete-background-color: $palette-700; | ||
59 | |||
60 | |||
61 | // Layout | ||
62 | |||
63 | $layout-top: 45px; | ||
64 | $layout-left: 250px; | ||