From 619443a3f68d9415754dcf89a025bde407bf16fd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 May 2020 10:22:18 +0200 Subject: Fix sort icons in table --- client/src/sass/primeng-custom.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/sass') 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 { font-size: 11px !important; top: 0 !important; - &.pi-sort-up { + &.pi-sort-amount-up-alt { @extend .glyphicon-triangle-top; color: var(--mainForegroundColor) !important; } - &.pi-sort-down { + &.pi-sort-amount-down { @extend .glyphicon-triangle-bottom; color: var(--mainForegroundColor) !important; @@ -302,12 +302,12 @@ p-table { @if $mobile-paginator { p-paginator .ui-paginator-bottom { display: block; - + .ui-paginator-current { position: relative; display: block; } - + a, .ui-paginator-pages { vertical-align: middle; } @@ -345,7 +345,7 @@ p-multiselect { } } - .pi.pi-chevron-down{ + .pi.pi-chevron-down { margin-left: 0 !important; &::after { -- cgit v1.2.3 From 3bf07dd8c27aa6ef40111c6f055e8975b3f514f4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 May 2020 11:39:31 +0200 Subject: Explicit theme colors for inputs and textarea --- client/src/sass/application.scss | 2 ++ client/src/sass/include/_mixins.scss | 4 ++++ client/src/sass/include/_variables.scss | 4 ++++ 3 files changed, 10 insertions(+) (limited to 'client/src/sass') diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index d637c94d9..039353077 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -35,9 +35,11 @@ body { --menuForegroundColor: #{$menu-color}; --submenuColor: #{$sub-menu-color}; + --inputForegroundColor: #{$input-foreground-color}; --inputBackgroundColor: #{$input-background-color}; --inputPlaceholderColor: #{$input-placeholder-color}; + --textareaForegroundColor: #{$textarea-foreground-color}; --textareaBackgroundColor: #{$textarea-background-color}; --actionButtonColor: #{$grey-foreground-color}; diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index f157ded5e..87b7edaad 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -90,6 +90,7 @@ display: inline-block; height: $button-height; width: $width; + color: var(--inputForegroundColor); background: var(--inputBackgroundColor); border: 1px solid #C6C6C6; border-radius: 3px; @@ -121,6 +122,8 @@ @mixin peertube-textarea ($width, $height) { @include peertube-input-text($width); + color: var(--textareaForegroundColor); + background-color: var(--textareaBackgroundColor); height: $height; padding: 5px 15px; font-size: 15px; @@ -280,6 +283,7 @@ margin: 0; width: $width; border-radius: 3px; + color: var(--inputForegroundColor); background: var(--inputBackgroundColor); position: relative; font-size: 15px; diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 46f1e99f7..9b441dcfe 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss @@ -63,9 +63,11 @@ $video-thumbnail-ratio: $video-thumbnail-width / $video-thumbnail-height; $theater-bottom-space: 115px; +$input-foreground-color: $fg-color; $input-background-color: $bg-color; $input-placeholder-color: #898989; +$textarea-foreground-color: $fg-color; $textarea-background-color: $grey-background-hover-color; $sub-menu-margin-bottom: 30px; @@ -92,9 +94,11 @@ $variables: ( --menuForegroundColor: var(--menuForegroundColor), --submenuColor: var(--submenuColor), + --inputForegroundColor: var(--inputForegroundColor), --inputBackgroundColor: var(--inputBackgroundColor), --inputPlaceholderColor: var(--inputPlaceholderColor), + --textareaForegroundColor: var(--textareaForegroundColor), --textareaBackgroundColor: var(--textareaBackgroundColor), --actionButtonColor: var(--actionButtonColor), -- cgit v1.2.3 From e0433a5f8f9346080b24d73d17c9f8fcb660a5d1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 May 2020 11:58:03 +0200 Subject: Fix dropdown menu overflow --- client/src/sass/bootstrap.scss | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/src/sass') 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/'; } .dropdown-menu { + z-index: z(dropdown) + 1 !important; + border-radius: 3px; 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); font-size: 15px; -- cgit v1.2.3 From f33dc6ab2db1c733f09dcb039b8bf46c69854753 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 May 2020 13:52:12 +0200 Subject: Fix input/textarea themes --- client/src/sass/application.scss | 1 + client/src/sass/include/_mixins.scss | 2 +- client/src/sass/include/_variables.scss | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'client/src/sass') diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 039353077..17ed5c8f8 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -41,6 +41,7 @@ body { --textareaForegroundColor: #{$textarea-foreground-color}; --textareaBackgroundColor: #{$textarea-background-color}; + --markdownTextareaBackgroundColor: #{$markdown-textarea-background-color}; --actionButtonColor: #{$grey-foreground-color}; --supportButtonBackgroundColor: #{transparent}; diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 87b7edaad..99ca25f9c 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -91,7 +91,7 @@ height: $button-height; width: $width; color: var(--inputForegroundColor); - background: var(--inputBackgroundColor); + background-color: var(--inputBackgroundColor); border: 1px solid #C6C6C6; border-radius: 3px; padding-left: 15px; diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 9b441dcfe..cdac8ae6f 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss @@ -68,7 +68,8 @@ $input-background-color: $bg-color; $input-placeholder-color: #898989; $textarea-foreground-color: $fg-color; -$textarea-background-color: $grey-background-hover-color; +$textarea-background-color: $bg-color; +$markdown-textarea-background-color: $grey-background-hover-color; $sub-menu-margin-bottom: 30px; $sub-menu-margin-bottom-small-view: 10px; @@ -100,6 +101,7 @@ $variables: ( --textareaForegroundColor: var(--textareaForegroundColor), --textareaBackgroundColor: var(--textareaBackgroundColor), + --markdownTextareaBackgroundColor: var(--markdownTextareaBackgroundColor), --actionButtonColor: var(--actionButtonColor), --supportButtonColor: var(--supportButtonColor), -- cgit v1.2.3