aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-10 17:05:55 +0200
committerChocobozzz <me@florianbigard.com>2022-06-10 17:05:55 +0200
commitc2faa073d113f410275021ed4de4b60fef118c13 (patch)
treeb21a4a26be6b73d7583da4b4cc3dccc7b5437532 /client/src/sass/include
parent3e3b360c53f43f354fe9b191b69cda444fabf712 (diff)
downloadPeerTube-c2faa073d113f410275021ed4de4b60fef118c13.tar.gz
PeerTube-c2faa073d113f410275021ed4de4b60fef118c13.tar.zst
PeerTube-c2faa073d113f410275021ed4de4b60fef118c13.zip
Replace glyphicon chevron
Diffstat (limited to 'client/src/sass/include')
-rw-r--r--client/src/sass/include/_mixins.scss15
1 files changed, 15 insertions, 0 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index e18173130..da216b00f 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -570,6 +570,7 @@
570 transform: rotate(-45deg); 570 transform: rotate(-45deg);
571 height: $size; 571 height: $size;
572 width: $size; 572 width: $size;
573 position: relative;
573} 574}
574 575
575@mixin chevron-right ($size, $border-width) { 576@mixin chevron-right ($size, $border-width) {
@@ -579,6 +580,20 @@
579 transform: rotate(45deg); 580 transform: rotate(45deg);
580} 581}
581 582
583@mixin chevron-down ($size, $border-width) {
584 @include chevron($size, $border-width);
585
586 bottom: 0.15em;
587 transform: rotate(135deg);
588}
589
590@mixin chevron-up ($size, $border-width) {
591 @include chevron($size, $border-width);
592
593 top: 0.15em;
594 transform: rotate(-45deg);
595}
596
582@mixin chevron-left ($size, $border-width) { 597@mixin chevron-left ($size, $border-width) {
583 @include chevron($size, $border-width); 598 @include chevron($size, $border-width);
584 599