aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-02-20 11:00:17 +0100
committerChocobozzz <me@florianbigard.com>2023-02-20 11:23:45 +0100
commit420a6043cc579d6fc342adcfe8107daf51664761 (patch)
tree2ef9bb00d02c3a71df79ef51137c3fbb2f31d448 /client/src/sass
parent15825ef18d3b2bb74f4e613496cf3e2921a87389 (diff)
downloadPeerTube-420a6043cc579d6fc342adcfe8107daf51664761.tar.gz
PeerTube-420a6043cc579d6fc342adcfe8107daf51664761.tar.zst
PeerTube-420a6043cc579d6fc342adcfe8107daf51664761.zip
Fix buttons CSS
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/include/_mixins.scss8
1 files changed, 3 insertions, 5 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 2d9f9011d..0df849167 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -250,12 +250,10 @@
250} 250}
251 251
252@mixin peertube-button { 252@mixin peertube-button {
253 padding: 0 13px; 253 padding: 4px 13px;
254 254
255 border: 0; 255 border: 0;
256 font-weight: $font-semibold; 256 font-weight: $font-semibold;
257 min-height: $button-height;
258 line-height: $button-height;
259 257
260 // Because of primeng that redefines border-radius of all input[type="..."] 258 // Because of primeng that redefines border-radius of all input[type="..."]
261 border-radius: 3px !important; 259 border-radius: 3px !important;
@@ -267,6 +265,7 @@
267 265
268 my-global-icon + * { 266 my-global-icon + * {
269 @include margin-right(4px); 267 @include margin-right(4px);
268 @include margin-left(4px);
270 } 269 }
271} 270}
272 271
@@ -318,7 +317,6 @@
318 position: relative; 317 position: relative;
319 overflow: hidden; 318 overflow: hidden;
320 display: inline-block; 319 display: inline-block;
321 min-height: 30px;
322 320
323 input[type=file] { 321 input[type=file] {
324 position: absolute; 322 position: absolute;
@@ -331,7 +329,7 @@
331 filter: alpha(opacity=0); 329 filter: alpha(opacity=0);
332 opacity: 0; 330 opacity: 0;
333 outline: none; 331 outline: none;
334 background: #fff; 332 background: pvar(--mainBackgroundColor);
335 cursor: inherit; 333 cursor: inherit;
336 display: block; 334 display: block;
337 } 335 }