Fix player icons on chrome
This commit is contained in:
parent
24893b524c
commit
fa1e07ca54
|
@ -28,7 +28,7 @@
|
||||||
"property-no-vendor-prefix": [
|
"property-no-vendor-prefix": [
|
||||||
true,
|
true,
|
||||||
{
|
{
|
||||||
"ignoreProperties": [ "mask-image" ]
|
"ignoreProperties": [ "mask-image", "mask-size" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,8 @@ $context-menu-width: 350px;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
|
-webkit-mask-size: cover;
|
||||||
mask-size: cover;
|
mask-size: cover;
|
||||||
|
|
||||||
@each $icon in $icons {
|
@each $icon in $icons {
|
||||||
|
|
|
@ -354,9 +354,10 @@ body {
|
||||||
&.icon-previous {
|
&.icon-previous {
|
||||||
mask-image: url('#{$assets-path}/player/images/next.svg');
|
mask-image: url('#{$assets-path}/player/images/next.svg');
|
||||||
-webkit-mask-image: url('#{$assets-path}/player/images/next.svg');
|
-webkit-mask-image: url('#{$assets-path}/player/images/next.svg');
|
||||||
|
mask-size: cover;
|
||||||
|
-webkit-mask-size: cover;
|
||||||
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
mask-size: cover;
|
|
||||||
width: 11px;
|
width: 11px;
|
||||||
height: 11px;
|
height: 11px;
|
||||||
margin-top: -2px;
|
margin-top: -2px;
|
||||||
|
|
|
@ -46,12 +46,13 @@ $playlist-menu-width: 350px;
|
||||||
.cross {
|
.cross {
|
||||||
mask-image: url('#{$assets-path}/images/feather/x.svg');
|
mask-image: url('#{$assets-path}/images/feather/x.svg');
|
||||||
-webkit-mask-image: url('#{$assets-path}/images/feather/x.svg');
|
-webkit-mask-image: url('#{$assets-path}/images/feather/x.svg');
|
||||||
|
mask-size: cover;
|
||||||
|
-webkit-mask-size: cover;
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
mask-size: cover;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -93,11 +94,12 @@ $playlist-menu-width: 350px;
|
||||||
.vjs-playlist-icon {
|
.vjs-playlist-icon {
|
||||||
mask-image: url('#{$assets-path}/images/feather/list.svg');
|
mask-image: url('#{$assets-path}/images/feather/list.svg');
|
||||||
-webkit-mask-image: url('#{$assets-path}/images/feather/list.svg');
|
-webkit-mask-image: url('#{$assets-path}/images/feather/list.svg');
|
||||||
|
mask-size: cover;
|
||||||
|
-webkit-mask-size: cover;
|
||||||
|
|
||||||
width: 22px;
|
width: 22px;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
mask-size: cover;
|
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue