diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-09 10:31:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-09 10:31:27 +0200 |
commit | 61cbafc1f80a33a895b54b15751a42e0d78af231 (patch) | |
tree | 4ecbd18133550053afe0d12441030f8a1c257511 /client/src/sass/include | |
parent | 9105634f16e5dfc66df198f23dbfae77dff2d821 (diff) | |
download | PeerTube-61cbafc1f80a33a895b54b15751a42e0d78af231.tar.gz PeerTube-61cbafc1f80a33a895b54b15751a42e0d78af231.tar.zst PeerTube-61cbafc1f80a33a895b54b15751a42e0d78af231.zip |
Improve channel card custom markup
Diffstat (limited to 'client/src/sass/include')
-rw-r--r-- | client/src/sass/include/_mixins.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 19454cdb2..0822e0ca6 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -569,6 +569,19 @@ | |||
569 | min-height: $size; | 569 | min-height: $size; |
570 | } | 570 | } |
571 | 571 | ||
572 | @mixin actor-counters ($separator-margin: 10px) { | ||
573 | color: pvar(--greyForegroundColor); | ||
574 | font-size: 16px; | ||
575 | display: flex; | ||
576 | align-items: center; | ||
577 | |||
578 | > *:not(:last-child)::after { | ||
579 | content: '•'; | ||
580 | margin: 0 $separator-margin; | ||
581 | color: pvar(--mainColor); | ||
582 | } | ||
583 | } | ||
584 | |||
572 | @mixin chevron ($size, $border-width) { | 585 | @mixin chevron ($size, $border-width) { |
573 | border-style: solid; | 586 | border-style: solid; |
574 | border-width: $border-width $border-width 0 0; | 587 | border-width: $border-width $border-width 0 0; |