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 | |
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')
-rw-r--r-- | client/src/sass/application.scss | 3 | ||||
-rw-r--r-- | client/src/sass/bootstrap.scss | 2 | ||||
-rw-r--r-- | client/src/sass/include/_mixins.scss | 6 | ||||
-rw-r--r-- | client/src/sass/include/_variables.scss | 8 | ||||
-rw-r--r-- | client/src/sass/primeng-custom.scss | 10 |
5 files changed, 22 insertions, 7 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index d637c94d9..17ed5c8f8 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -35,10 +35,13 @@ body { | |||
35 | --menuForegroundColor: #{$menu-color}; | 35 | --menuForegroundColor: #{$menu-color}; |
36 | --submenuColor: #{$sub-menu-color}; | 36 | --submenuColor: #{$sub-menu-color}; |
37 | 37 | ||
38 | --inputForegroundColor: #{$input-foreground-color}; | ||
38 | --inputBackgroundColor: #{$input-background-color}; | 39 | --inputBackgroundColor: #{$input-background-color}; |
39 | --inputPlaceholderColor: #{$input-placeholder-color}; | 40 | --inputPlaceholderColor: #{$input-placeholder-color}; |
40 | 41 | ||
42 | --textareaForegroundColor: #{$textarea-foreground-color}; | ||
41 | --textareaBackgroundColor: #{$textarea-background-color}; | 43 | --textareaBackgroundColor: #{$textarea-background-color}; |
44 | --markdownTextareaBackgroundColor: #{$markdown-textarea-background-color}; | ||
42 | 45 | ||
43 | --actionButtonColor: #{$grey-foreground-color}; | 46 | --actionButtonColor: #{$grey-foreground-color}; |
44 | --supportButtonBackgroundColor: #{transparent}; | 47 | --supportButtonBackgroundColor: #{transparent}; |
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index cb266cc68..7985472ed 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -37,6 +37,8 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
37 | } | 37 | } |
38 | 38 | ||
39 | .dropdown-menu { | 39 | .dropdown-menu { |
40 | z-index: z(dropdown) + 1 !important; | ||
41 | |||
40 | border-radius: 3px; | 42 | border-radius: 3px; |
41 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); | 43 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); |
42 | font-size: 15px; | 44 | font-size: 15px; |
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), |
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index d48f2dfc4..33483533e 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss | |||
@@ -140,13 +140,13 @@ p-table { | |||
140 | font-size: 11px !important; | 140 | font-size: 11px !important; |
141 | top: 0 !important; | 141 | top: 0 !important; |
142 | 142 | ||
143 | &.pi-sort-up { | 143 | &.pi-sort-amount-up-alt { |
144 | @extend .glyphicon-triangle-top; | 144 | @extend .glyphicon-triangle-top; |
145 | 145 | ||
146 | color: var(--mainForegroundColor) !important; | 146 | color: var(--mainForegroundColor) !important; |
147 | } | 147 | } |
148 | 148 | ||
149 | &.pi-sort-down { | 149 | &.pi-sort-amount-down { |
150 | @extend .glyphicon-triangle-bottom; | 150 | @extend .glyphicon-triangle-bottom; |
151 | 151 | ||
152 | color: var(--mainForegroundColor) !important; | 152 | color: var(--mainForegroundColor) !important; |
@@ -302,12 +302,12 @@ p-table { | |||
302 | @if $mobile-paginator { | 302 | @if $mobile-paginator { |
303 | p-paginator .ui-paginator-bottom { | 303 | p-paginator .ui-paginator-bottom { |
304 | display: block; | 304 | display: block; |
305 | 305 | ||
306 | .ui-paginator-current { | 306 | .ui-paginator-current { |
307 | position: relative; | 307 | position: relative; |
308 | display: block; | 308 | display: block; |
309 | } | 309 | } |
310 | 310 | ||
311 | a, .ui-paginator-pages { | 311 | a, .ui-paginator-pages { |
312 | vertical-align: middle; | 312 | vertical-align: middle; |
313 | } | 313 | } |
@@ -345,7 +345,7 @@ p-multiselect { | |||
345 | } | 345 | } |
346 | } | 346 | } |
347 | 347 | ||
348 | .pi.pi-chevron-down{ | 348 | .pi.pi-chevron-down { |
349 | margin-left: 0 !important; | 349 | margin-left: 0 !important; |
350 | 350 | ||
351 | &::after { | 351 | &::after { |