aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2019-12-24 14:04:37 +0100
committerRigel Kent <sendmemail@rigelk.eu>2019-12-27 12:12:42 +0100
commit0240da5c3249ee567c679b069c143858194ff142 (patch)
tree7c01b5f642be031793ec0bd7ecf1dcce005a4165 /client/src/sass
parent51e028a94e79957a4ef6a620b9ef3c956064f05e (diff)
downloadPeerTube-0240da5c3249ee567c679b069c143858194ff142.tar.gz
PeerTube-0240da5c3249ee567c679b069c143858194ff142.tar.zst
PeerTube-0240da5c3249ee567c679b069c143858194ff142.zip
(css) transparent buttons in watch page
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/application.scss6
-rw-r--r--client/src/sass/include/_variables.scss7
2 files changed, 10 insertions, 3 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 751f101ed..9877a07d5 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -34,8 +34,10 @@ body {
34 --inputColor: #{$input-background-color}; 34 --inputColor: #{$input-background-color};
35 --inputPlaceholderColor: #{$input-placeholder-color}; 35 --inputPlaceholderColor: #{$input-placeholder-color};
36 36
37 --supportButtonBackgroundColor: #{$support-button}; 37 --actionButtonColor: #{$grey-foreground-color};
38 --supportButtonColor: #{$white}; 38 --supportButtonBackgroundColor: #{transparent};
39 --supportButtonColor: #{var(--actionButtonColor)};
40 --supportButtonHeartColor: #{$support-button-heart};
39 41
40 font-family: $main-fonts; 42 font-family: $main-fonts;
41 font-weight: $font-regular; 43 font-weight: $font-regular;
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss
index 0cec9c412..6dededb0e 100644
--- a/client/src/sass/include/_variables.scss
+++ b/client/src/sass/include/_variables.scss
@@ -14,7 +14,8 @@ $grey-foreground-hover-color: #303030;
14$orange-color: #F1680D; 14$orange-color: #F1680D;
15$orange-hover-color: #F97D46; 15$orange-hover-color: #F97D46;
16 16
17$support-button: #38981a; 17$support-button: inherit;
18$support-button-heart: #e83e8c;
18 19
19$bg-color: #fff; 20$bg-color: #fff;
20$fg-color: #000; 21$fg-color: #000;
@@ -61,6 +62,8 @@ $input-placeholder-color: #898989;
61 62
62$sub-menu-margin-bottom: 30px; 63$sub-menu-margin-bottom: 30px;
63 64
65$activated-action-button-color: black;
66
64/*** map theme ***/ 67/*** map theme ***/
65 68
66// pass variables into a sass map, 69// pass variables into a sass map,
@@ -78,8 +81,10 @@ $variables: (
78 --inputColor: var(--inputColor), 81 --inputColor: var(--inputColor),
79 --inputPlaceholderColor: var(--inputPlaceholderColor), 82 --inputPlaceholderColor: var(--inputPlaceholderColor),
80 83
84 --actionButtonColor: var(--actionButtonColor),
81 --supportButtonColor: var(--supportButtonColor), 85 --supportButtonColor: var(--supportButtonColor),
82 --supportButtonBackgroundColor: var(--supportButtonBackgroundColor), 86 --supportButtonBackgroundColor: var(--supportButtonBackgroundColor),
87 --supportButtonHeartColor: var(--supportButtonHeartColor),
83 88
84 --embedForegroundColor: var(--embedForegroundColor), 89 --embedForegroundColor: var(--embedForegroundColor),
85 --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor) 90 --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor)