diff options
Diffstat (limited to 'client/src/sass/bootstrap.scss')
-rw-r--r-- | client/src/sass/bootstrap.scss | 40 |
1 files changed, 25 insertions, 15 deletions
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 0ab6230c8..548e55e1e 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -6,7 +6,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
6 | 6 | ||
7 | // Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d | 7 | // Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d |
8 | .glyphicon-refresh-animate { | 8 | .glyphicon-refresh-animate { |
9 | animation: spin .7s infinite linear; | 9 | animation: spin 0.7s infinite linear; |
10 | } | 10 | } |
11 | 11 | ||
12 | .glyphicon-duplicate { | 12 | .glyphicon-duplicate { |
@@ -25,6 +25,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
25 | from { | 25 | from { |
26 | transform: scale(1) rotate(0deg); | 26 | transform: scale(1) rotate(0deg); |
27 | } | 27 | } |
28 | |||
28 | to { | 29 | to { |
29 | transform: scale(1) rotate(360deg); | 30 | transform: scale(1) rotate(360deg); |
30 | } | 31 | } |
@@ -70,7 +71,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
70 | &.active { | 71 | &.active { |
71 | color: pvar(--mainBackgroundColor) !important; | 72 | color: pvar(--mainBackgroundColor) !important; |
72 | background-color: pvar(--mainHoverColor); | 73 | background-color: pvar(--mainHoverColor); |
73 | opacity: .9; | 74 | opacity: 0.9; |
74 | } | 75 | } |
75 | 76 | ||
76 | &:active { | 77 | &:active { |
@@ -97,9 +98,9 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
97 | } | 98 | } |
98 | 99 | ||
99 | @media screen and (min-width: #{breakpoint(md)}) { | 100 | @media screen and (min-width: #{breakpoint(md)}) { |
100 | .modal:before { | 101 | .modal::before { |
101 | vertical-align: middle; | 102 | vertical-align: middle; |
102 | content: " "; | 103 | content: ' '; |
103 | height: 100%; | 104 | height: 100%; |
104 | } | 105 | } |
105 | 106 | ||
@@ -123,7 +124,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
123 | } | 124 | } |
124 | 125 | ||
125 | .modal-header { | 126 | .modal-header { |
126 | border-bottom: none; | 127 | border-bottom: 0; |
127 | margin-bottom: 5px; | 128 | margin-bottom: 5px; |
128 | 129 | ||
129 | .modal-title { | 130 | .modal-title { |
@@ -140,10 +141,11 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
140 | 141 | ||
141 | margin: 0; | 142 | margin: 0; |
142 | padding: 0; | 143 | padding: 0; |
143 | opacity: .5; | 144 | opacity: 0.5; |
144 | 145 | ||
145 | &[iconName="cross"] { | 146 | &[iconName=cross] { /* stylelint-disable-line selector-max-compound-selectors */ |
146 | @include icon(16px); | 147 | @include icon(16px); |
148 | |||
147 | top: -3px; | 149 | top: -3px; |
148 | } | 150 | } |
149 | } | 151 | } |
@@ -154,7 +156,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
154 | text-align: right; | 156 | text-align: right; |
155 | 157 | ||
156 | > .peertube-button:not(:first-child) { | 158 | > .peertube-button:not(:first-child) { |
157 | margin-left: 10px | 159 | margin-left: 10px; |
158 | } | 160 | } |
159 | } | 161 | } |
160 | } | 162 | } |
@@ -168,7 +170,8 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
168 | 170 | ||
169 | // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll | 171 | // On touchscreen devices, simply overflow: hidden to avoid detached overlay on scroll |
170 | @media (hover: none) and (pointer: coarse) { | 172 | @media (hover: none) and (pointer: coarse) { |
171 | .modal-open, .menu-open { | 173 | .modal-open, |
174 | .menu-open { | ||
172 | overflow: hidden !important; | 175 | overflow: hidden !important; |
173 | } | 176 | } |
174 | 177 | ||
@@ -176,7 +179,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
176 | .menu-open { | 179 | .menu-open { |
177 | .main-col { | 180 | .main-col { |
178 | &::before { | 181 | &::before { |
179 | background-color: black; | 182 | background-color: #000; |
180 | width: 100vw; | 183 | width: 100vw; |
181 | height: 100vh; | 184 | height: 100vh; |
182 | opacity: 0.75; | 185 | opacity: 0.75; |
@@ -204,7 +207,10 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
204 | .nav-link { | 207 | .nav-link { |
205 | opacity: 0.6 !important; | 208 | opacity: 0.6 !important; |
206 | 209 | ||
207 | &.active, &:hover, &:active, &:focus { | 210 | &.active, |
211 | &:hover, | ||
212 | &:active, | ||
213 | &:focus { | ||
208 | opacity: 1 !important; | 214 | opacity: 1 !important; |
209 | } | 215 | } |
210 | } | 216 | } |
@@ -221,7 +227,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
221 | 227 | ||
222 | color: pvar(--mainForegroundColor); | 228 | color: pvar(--mainForegroundColor); |
223 | font-weight: $font-semibold; | 229 | font-weight: $font-semibold; |
224 | border: none; | 230 | border: 0; |
225 | border-bottom: 2px solid transparent; | 231 | border-bottom: 2px solid transparent; |
226 | opacity: 0.6; | 232 | opacity: 0.6; |
227 | 233 | ||
@@ -231,7 +237,10 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
231 | border-bottom-color: pvar(--mainColor); | 237 | border-bottom-color: pvar(--mainColor); |
232 | } | 238 | } |
233 | 239 | ||
234 | &.active, &:hover, &:active, &:focus { | 240 | &.active, |
241 | &:hover, | ||
242 | &:active, | ||
243 | &:focus { | ||
235 | opacity: 1; | 244 | opacity: 1; |
236 | } | 245 | } |
237 | } | 246 | } |
@@ -314,9 +323,10 @@ ngb-tooltip-window { | |||
314 | } | 323 | } |
315 | 324 | ||
316 | .input-group { | 325 | .input-group { |
317 | & > .form-control { | 326 | > .form-control { |
318 | flex: initial; | 327 | flex: initial; |
319 | } | 328 | } |
329 | |||
320 | input.form-control { | 330 | input.form-control { |
321 | width: unset !important; | 331 | width: unset !important; |
322 | flex-grow: 1; | 332 | flex-grow: 1; |
@@ -366,7 +376,7 @@ ngb-tooltip-window { | |||
366 | border: 1px solid #eee; | 376 | border: 1px solid #eee; |
367 | border-radius: .25rem; | 377 | border-radius: .25rem; |
368 | 378 | ||
369 | & > label { | 379 | > label { |
370 | position: relative; | 380 | position: relative; |
371 | top: -5px; | 381 | top: -5px; |
372 | left: -10px; | 382 | left: -10px; |