diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-28 16:41:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-28 17:53:57 +0200 |
commit | 931d3430184143ebd88e5243def6eb1d7acfdbf4 (patch) | |
tree | 909919bafd6fa8563d26d616c6257ebd0211c83c /client/src/sass/player/context-menu.scss | |
parent | 7d026caf683e42fd57a243a3b52a5e4f476fbb4e (diff) | |
download | PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.tar.gz PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.tar.zst PeerTube-931d3430184143ebd88e5243def6eb1d7acfdbf4.zip |
Move to stylelint
Diffstat (limited to 'client/src/sass/player/context-menu.scss')
-rw-r--r-- | client/src/sass/player/context-menu.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/src/sass/player/context-menu.scss b/client/src/sass/player/context-menu.scss index 6bc66af0c..45cee3e77 100644 --- a/client/src/sass/player/context-menu.scss +++ b/client/src/sass/player/context-menu.scss | |||
@@ -31,26 +31,26 @@ $context-menu-width: 350px; | |||
31 | background-color: rgba(255, 255, 255, 0.2); | 31 | background-color: rgba(255, 255, 255, 0.2); |
32 | } | 32 | } |
33 | 33 | ||
34 | [class^="vjs-icon-"] { | 34 | [class^='vjs-icon-'] { |
35 | $icons: 'link-2', 'repeat', 'code', 'tick-white', 'info'; | ||
36 | |||
35 | display: inline-flex; | 37 | display: inline-flex; |
36 | position: relative; | 38 | position: relative; |
37 | top: 2px; | 39 | top: 2px; |
38 | cursor: pointer; | 40 | cursor: pointer; |
39 | width: 14px; | 41 | width: 14px; |
40 | height: 14px; | 42 | height: 14px; |
41 | background-color: white; | 43 | background-color: #fff; |
42 | mask-size: cover; | 44 | mask-size: cover; |
43 | margin-right: 0.8rem !important; | 45 | margin-right: 0.8rem !important; |
44 | 46 | ||
45 | $icons: 'link-2', 'repeat', 'code', 'tick-white', 'info'; | ||
46 | |||
47 | @each $icon in $icons { | 47 | @each $icon in $icons { |
48 | &[class$="-#{$icon}"] { | 48 | &[class$="-#{$icon}"] { |
49 | mask-image: url('#{$assets-path}/player/images/#{$icon}.svg'); | 49 | mask-image: url('#{$assets-path}/player/images/#{$icon}.svg'); |
50 | } | 50 | } |
51 | } | 51 | } |
52 | 52 | ||
53 | &[class$="-tick-white"] { | 53 | &[class$='-tick-white'] { |
54 | float: right; | 54 | float: right; |
55 | margin: 0 !important; | 55 | margin: 0 !important; |
56 | } | 56 | } |