Fix mask-image property
Needed by chrome
This commit is contained in:
parent
52fe952642
commit
bc4c9cc1d7
|
@ -24,6 +24,12 @@
|
||||||
"rule-empty-line-before": null,
|
"rule-empty-line-before": null,
|
||||||
"selector-max-id": null,
|
"selector-max-id": null,
|
||||||
"scss/at-function-pattern": null,
|
"scss/at-function-pattern": null,
|
||||||
"function-parentheses-space-inside": "never-single-line"
|
"function-parentheses-space-inside": "never-single-line",
|
||||||
|
"property-no-vendor-prefix": [
|
||||||
|
true,
|
||||||
|
{
|
||||||
|
"ignoreProperties": [ "mask-image" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,8 +40,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-menu {
|
.icon-menu {
|
||||||
background-color: pvar(--mainForegroundColor);
|
|
||||||
mask-image: url('../assets/images/misc/menu.svg');
|
mask-image: url('../assets/images/misc/menu.svg');
|
||||||
|
-webkit-mask-image: url('../assets/images/misc/menu.svg');
|
||||||
|
|
||||||
|
background-color: pvar(--mainForegroundColor);
|
||||||
margin: 0 18px 0 20px;
|
margin: 0 18px 0 20px;
|
||||||
|
|
||||||
@media screen and (max-width: $mobile-view) {
|
@media screen and (max-width: $mobile-view) {
|
||||||
|
|
|
@ -402,7 +402,26 @@ ngx-loading-bar {
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-sub-header {
|
.admin-sub-header {
|
||||||
@include admin-sub-header-responsive;
|
flex-direction: column;
|
||||||
|
|
||||||
|
.form-sub-title {
|
||||||
|
margin-right: 0 !important;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.admin-sub-nav {
|
||||||
|
display: block;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: nowrap;
|
||||||
|
height: 50px;
|
||||||
|
padding: 10px 0;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
a {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my-markdown-textarea {
|
my-markdown-textarea {
|
||||||
|
|
|
@ -336,20 +336,6 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin select-arrow-down {
|
|
||||||
top: 50%;
|
|
||||||
right: calc(0% + 15px);
|
|
||||||
content: ' ';
|
|
||||||
height: 0;
|
|
||||||
width: 0;
|
|
||||||
position: absolute;
|
|
||||||
pointer-events: none;
|
|
||||||
border: 5px solid rgba(0, 0, 0, 0);
|
|
||||||
border-top-color: #000;
|
|
||||||
margin-top: -2px;
|
|
||||||
z-index: 100;
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin responsive-width ($width) {
|
@mixin responsive-width ($width) {
|
||||||
width: $width;
|
width: $width;
|
||||||
|
|
||||||
|
@ -381,7 +367,17 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
@include select-arrow-down;
|
top: 50%;
|
||||||
|
right: calc(0% + 15px);
|
||||||
|
content: ' ';
|
||||||
|
height: 0;
|
||||||
|
width: 0;
|
||||||
|
position: absolute;
|
||||||
|
pointer-events: none;
|
||||||
|
border: 5px solid rgba(0, 0, 0, 0);
|
||||||
|
border-top-color: #000;
|
||||||
|
margin-top: -2px;
|
||||||
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
@ -849,29 +845,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin admin-sub-header-responsive {
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
.form-sub-title {
|
|
||||||
margin-right: 0 !important;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-sub-nav {
|
|
||||||
display: block;
|
|
||||||
overflow-x: auto;
|
|
||||||
white-space: nowrap;
|
|
||||||
height: 50px;
|
|
||||||
padding: 10px 0;
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
a {
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// applies ratio (default to 16:9) to a child element (using $selector) only using
|
// applies ratio (default to 16:9) to a child element (using $selector) only using
|
||||||
// an immediate's parent size. This allows to set a ratio without explicit
|
// an immediate's parent size. This allows to set a ratio without explicit
|
||||||
// dimensions, as width/height cannot be computed from each other.
|
// dimensions, as width/height cannot be computed from each other.
|
||||||
|
|
|
@ -47,6 +47,7 @@ $context-menu-width: 350px;
|
||||||
@each $icon in $icons {
|
@each $icon in $icons {
|
||||||
&[class$="-#{$icon}"] {
|
&[class$="-#{$icon}"] {
|
||||||
mask-image: url('#{$assets-path}/player/images/#{$icon}.svg');
|
mask-image: url('#{$assets-path}/player/images/#{$icon}.svg');
|
||||||
|
-webkit-mask-image: url('#{$assets-path}/player/images/#{$icon}.svg');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -346,6 +346,8 @@ body {
|
||||||
&.icon-next,
|
&.icon-next,
|
||||||
&.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');
|
||||||
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
mask-size: cover;
|
mask-size: cover;
|
||||||
width: 11px;
|
width: 11px;
|
||||||
|
|
|
@ -40,10 +40,12 @@ $playlist-menu-width: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cross {
|
.cross {
|
||||||
|
mask-image: url('#{$assets-path}/images/feather/x.svg');
|
||||||
|
-webkit-mask-image: url('#{$assets-path}/images/feather/x.svg');
|
||||||
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
mask-image: url('#{$assets-path}/images/feather/x.svg');
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
mask-size: cover;
|
mask-size: cover;
|
||||||
}
|
}
|
||||||
|
@ -85,9 +87,11 @@ $playlist-menu-width: 350px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vjs-playlist-icon {
|
.vjs-playlist-icon {
|
||||||
|
mask-image: url('#{$assets-path}/images/feather/list.svg');
|
||||||
|
-webkit-mask-image: url('#{$assets-path}/images/feather/list.svg');
|
||||||
|
|
||||||
width: 22px;
|
width: 22px;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
mask-image: url('#{$assets-path}/images/feather/list.svg');
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
mask-size: cover;
|
mask-size: cover;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user