aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/sass/include')
-rw-r--r--client/src/sass/include/_mixins.scss8
-rw-r--r--client/src/sass/include/_variables.scss4
2 files changed, 8 insertions, 4 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 291bff6db..8de23e64d 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -124,8 +124,8 @@
124@mixin peertube-textarea ($width, $height) { 124@mixin peertube-textarea ($width, $height) {
125 @include peertube-input-text($width); 125 @include peertube-input-text($width);
126 126
127 color: pvar(--textareaForegroundColor); 127 color: pvar(--textareaForegroundColor) !important;
128 background-color: pvar(--textareaBackgroundColor); 128 background-color: pvar(--textareaBackgroundColor) !important;
129 height: $height; 129 height: $height;
130 padding: 5px 15px; 130 padding: 5px 15px;
131 font-size: 15px; 131 font-size: 15px;
@@ -207,7 +207,7 @@
207@mixin grey-button { 207@mixin grey-button {
208 @include button-focus($grey-button-outline-color); 208 @include button-focus($grey-button-outline-color);
209 209
210 background-color: $grey-background-color; 210 background-color: pvar(--greyBackgroundColor);
211 color: pvar(--greyForegroundColor); 211 color: pvar(--greyForegroundColor);
212 212
213 &:hover, 213 &:hover,
@@ -216,7 +216,7 @@
216 &[disabled], 216 &[disabled],
217 &.disabled { 217 &.disabled {
218 color: pvar(--greyForegroundColor); 218 color: pvar(--greyForegroundColor);
219 background-color: $grey-background-hover-color; 219 background-color: pvar(--greySecondaryBackgroundColor);
220 } 220 }
221 221
222 &[disabled], 222 &[disabled],
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss
index f68f4e18d..fd1b137dc 100644
--- a/client/src/sass/include/_variables.scss
+++ b/client/src/sass/include/_variables.scss
@@ -18,7 +18,9 @@ $grey-button-outline-color: scale-color($grey-foreground-color, $alpha: -95%);
18$main-color: hsl(24, 90%, 50%); 18$main-color: hsl(24, 90%, 50%);
19$main-color-lighter: lighten($main-color, 10%); 19$main-color-lighter: lighten($main-color, 10%);
20$main-color-lightest: lighten($main-color, 40%); 20$main-color-lightest: lighten($main-color, 40%);
21
21$main-hover-color: lighten($main-color, 5%); 22$main-hover-color: lighten($main-color, 5%);
23$main-background-hover-color: #e9ecef;
22 24
23$secondary-color: hsl(187, 77%, 34%); 25$secondary-color: hsl(187, 77%, 34%);
24 26
@@ -109,6 +111,7 @@ $variables: (
109 --mainColorLightest: var(--mainColorLightest), 111 --mainColorLightest: var(--mainColorLightest),
110 112
111 --mainHoverColor: var(--mainHoverColor), 113 --mainHoverColor: var(--mainHoverColor),
114 --mainBackgroundHoverColor: var(--mainBackgroundHoverColor),
112 115
113 --mainBackgroundColor: var(--mainBackgroundColor), 116 --mainBackgroundColor: var(--mainBackgroundColor),
114 --mainForegroundColor: var(--mainForegroundColor), 117 --mainForegroundColor: var(--mainForegroundColor),
@@ -117,6 +120,7 @@ $variables: (
117 120
118 --greyForegroundColor: var(--greyForegroundColor), 121 --greyForegroundColor: var(--greyForegroundColor),
119 --greyBackgroundColor: var(--greyBackgroundColor), 122 --greyBackgroundColor: var(--greyBackgroundColor),
123 --greySecondaryBackgroundColor: var(--greySecondaryBackgroundColor),
120 124
121 --menuBackgroundColor: var(--menuBackgroundColor), 125 --menuBackgroundColor: var(--menuBackgroundColor),
122 --menuForegroundColor: var(--menuForegroundColor), 126 --menuForegroundColor: var(--menuForegroundColor),