aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include/_mixins.scss
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/sass/include/_mixins.scss')
-rw-r--r--client/src/sass/include/_mixins.scss33
1 files changed, 2 insertions, 31 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index 2c8ad1d57..dc6ab8076 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -539,21 +539,12 @@
539 } 539 }
540} 540}
541 541
542@mixin avatar ($size) { 542@mixin actor-avatar-size ($size) {
543 object-fit: cover; 543 display: inline-block;
544 border-radius: 50%;
545 width: $size;
546 height: $size;
547 min-width: $size;
548 min-height: $size;
549}
550
551@mixin channel-avatar ($size) {
552 width: $size; 544 width: $size;
553 height: $size; 545 height: $size;
554 min-width: $size; 546 min-width: $size;
555 min-height: $size; 547 min-height: $size;
556 border-radius: 5px;
557} 548}
558 549
559@mixin chevron ($size, $border-width) { 550@mixin chevron ($size, $border-width) {
@@ -595,26 +586,6 @@
595 margin-bottom: 10px; 586 margin-bottom: 10px;
596} 587}
597 588
598@mixin actor-owner {
599 @include disable-default-a-behaviour;
600
601 font-size: 13px;
602 margin-top: 4px;
603 color: pvar(--mainForegroundColor);
604
605 span:hover {
606 opacity: 0.8;
607 }
608
609 img {
610 @include avatar(18px);
611
612 margin-left: 7px;
613 position: relative;
614 top: -2px;
615 }
616}
617
618@mixin create-button { 589@mixin create-button {
619 @include peertube-button-link; 590 @include peertube-button-link;
620 @include orange-button; 591 @include orange-button;