diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-15 14:12:37 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-15 14:12:37 +0100 |
commit | b788e69131dccc1be147244e5b4d9e64deb2dc76 (patch) | |
tree | 3f09cb25b38f159b2ef24a574261c81140845acd /client/src/sass/bootstrap.scss | |
parent | 74220dba9db6a1dc5c0b504b0230de26ef9c9dd5 (diff) | |
download | PeerTube-b788e69131dccc1be147244e5b4d9e64deb2dc76.tar.gz PeerTube-b788e69131dccc1be147244e5b4d9e64deb2dc76.tar.zst PeerTube-b788e69131dccc1be147244e5b4d9e64deb2dc76.zip |
Some fixes for themes
Diffstat (limited to 'client/src/sass/bootstrap.scss')
-rw-r--r-- | client/src/sass/bootstrap.scss | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 432e23e92..d6af7f485 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -89,6 +89,9 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
89 | 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); | 89 | 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); |
90 | font-size: 15px; | 90 | font-size: 15px; |
91 | 91 | ||
92 | color: pvar(--mainForegroundColor); | ||
93 | background-color: pvar(--mainBackgroundColor); | ||
94 | |||
92 | .dropdown-header { | 95 | .dropdown-header { |
93 | @include padding-left(1rem); | 96 | @include padding-left(1rem); |
94 | } | 97 | } |
@@ -96,14 +99,19 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
96 | .dropdown-item { | 99 | .dropdown-item { |
97 | padding: 3px 15px; | 100 | padding: 3px 15px; |
98 | 101 | ||
102 | color: pvar(--mainForegroundColor); | ||
103 | background-color: pvar(--mainBackgroundColor); | ||
104 | |||
99 | &.active { | 105 | &.active { |
100 | color: pvar(--mainBackgroundColor) !important; | 106 | color: pvar(--mainBackgroundColor) !important; |
101 | background-color: pvar(--mainHoverColor); | 107 | background-color: pvar(--mainHoverColor); |
102 | opacity: 0.9; | 108 | opacity: 0.9; |
103 | } | 109 | } |
104 | 110 | ||
105 | &:active { | 111 | a:active, |
112 | &:hover { | ||
106 | color: pvar(--mainForegroundColor) !important; | 113 | color: pvar(--mainForegroundColor) !important; |
114 | background-color: pvar(--mainBackgroundHoverColor); | ||
107 | } | 115 | } |
108 | 116 | ||
109 | &::after { | 117 | &::after { |
@@ -117,7 +125,6 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
117 | 125 | ||
118 | a { | 126 | a { |
119 | @include disable-default-a-behaviour; | 127 | @include disable-default-a-behaviour; |
120 | color: #000 !important; | ||
121 | } | 128 | } |
122 | } | 129 | } |
123 | 130 | ||