diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-20 13:53:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-20 13:53:51 +0200 |
commit | 745437e3ab402d5b8f85de6e9c09c3b6092e5904 (patch) | |
tree | f93e8cc7bdffe19b6c19251512b2fd31bfe4f41d /client/src/sass/include | |
parent | 148ab2f0f043a4c7cc28f9497cb6ae3819e8b838 (diff) | |
parent | f33dc6ab2db1c733f09dcb039b8bf46c69854753 (diff) | |
download | PeerTube-745437e3ab402d5b8f85de6e9c09c3b6092e5904.tar.gz PeerTube-745437e3ab402d5b8f85de6e9c09c3b6092e5904.tar.zst PeerTube-745437e3ab402d5b8f85de6e9c09c3b6092e5904.zip |
Merge branch 'release/2.2.0' into develop
Diffstat (limited to 'client/src/sass/include')
-rw-r--r-- | client/src/sass/include/_mixins.scss | 6 | ||||
-rw-r--r-- | client/src/sass/include/_variables.scss | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index f157ded5e..99ca25f9c 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -90,7 +90,8 @@ | |||
90 | display: inline-block; | 90 | display: inline-block; |
91 | height: $button-height; | 91 | height: $button-height; |
92 | width: $width; | 92 | width: $width; |
93 | background: var(--inputBackgroundColor); | 93 | color: var(--inputForegroundColor); |
94 | background-color: var(--inputBackgroundColor); | ||
94 | border: 1px solid #C6C6C6; | 95 | border: 1px solid #C6C6C6; |
95 | border-radius: 3px; | 96 | border-radius: 3px; |
96 | padding-left: 15px; | 97 | padding-left: 15px; |
@@ -121,6 +122,8 @@ | |||
121 | @mixin peertube-textarea ($width, $height) { | 122 | @mixin peertube-textarea ($width, $height) { |
122 | @include peertube-input-text($width); | 123 | @include peertube-input-text($width); |
123 | 124 | ||
125 | color: var(--textareaForegroundColor); | ||
126 | background-color: var(--textareaBackgroundColor); | ||
124 | height: $height; | 127 | height: $height; |
125 | padding: 5px 15px; | 128 | padding: 5px 15px; |
126 | font-size: 15px; | 129 | font-size: 15px; |
@@ -280,6 +283,7 @@ | |||
280 | margin: 0; | 283 | margin: 0; |
281 | width: $width; | 284 | width: $width; |
282 | border-radius: 3px; | 285 | border-radius: 3px; |
286 | color: var(--inputForegroundColor); | ||
283 | background: var(--inputBackgroundColor); | 287 | background: var(--inputBackgroundColor); |
284 | position: relative; | 288 | position: relative; |
285 | font-size: 15px; | 289 | font-size: 15px; |
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 46f1e99f7..cdac8ae6f 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -63,10 +63,13 @@ $video-thumbnail-ratio: $video-thumbnail-width / $video-thumbnail-height; | |||
63 | 63 | ||
64 | $theater-bottom-space: 115px; | 64 | $theater-bottom-space: 115px; |
65 | 65 | ||
66 | $input-foreground-color: $fg-color; | ||
66 | $input-background-color: $bg-color; | 67 | $input-background-color: $bg-color; |
67 | $input-placeholder-color: #898989; | 68 | $input-placeholder-color: #898989; |
68 | 69 | ||
69 | $textarea-background-color: $grey-background-hover-color; | 70 | $textarea-foreground-color: $fg-color; |
71 | $textarea-background-color: $bg-color; | ||
72 | $markdown-textarea-background-color: $grey-background-hover-color; | ||
70 | 73 | ||
71 | $sub-menu-margin-bottom: 30px; | 74 | $sub-menu-margin-bottom: 30px; |
72 | $sub-menu-margin-bottom-small-view: 10px; | 75 | $sub-menu-margin-bottom-small-view: 10px; |
@@ -92,10 +95,13 @@ $variables: ( | |||
92 | --menuForegroundColor: var(--menuForegroundColor), | 95 | --menuForegroundColor: var(--menuForegroundColor), |
93 | --submenuColor: var(--submenuColor), | 96 | --submenuColor: var(--submenuColor), |
94 | 97 | ||
98 | --inputForegroundColor: var(--inputForegroundColor), | ||
95 | --inputBackgroundColor: var(--inputBackgroundColor), | 99 | --inputBackgroundColor: var(--inputBackgroundColor), |
96 | --inputPlaceholderColor: var(--inputPlaceholderColor), | 100 | --inputPlaceholderColor: var(--inputPlaceholderColor), |
97 | 101 | ||
102 | --textareaForegroundColor: var(--textareaForegroundColor), | ||
98 | --textareaBackgroundColor: var(--textareaBackgroundColor), | 103 | --textareaBackgroundColor: var(--textareaBackgroundColor), |
104 | --markdownTextareaBackgroundColor: var(--markdownTextareaBackgroundColor), | ||
99 | 105 | ||
100 | --actionButtonColor: var(--actionButtonColor), | 106 | --actionButtonColor: var(--actionButtonColor), |
101 | --supportButtonColor: var(--supportButtonColor), | 107 | --supportButtonColor: var(--supportButtonColor), |