44 lines
1.0 KiB
SCSS
44 lines
1.0 KiB
SCSS
@import "../../css/_appwork/functions";
|
|
|
|
@mixin plyr-theme($background, $color: null) {
|
|
$color: if($color, $color, yiq($background));
|
|
|
|
.plyr input[type='range']::-ms-fill-lower {
|
|
background: $background !important;
|
|
}
|
|
|
|
.plyr input[type='range']:active {
|
|
&::-webkit-slider-thumb {
|
|
background: $background !important;
|
|
}
|
|
&::-moz-range-thumb {
|
|
background: $background !important;
|
|
}
|
|
&::-ms-thumb {
|
|
background: $background !important;
|
|
}
|
|
}
|
|
|
|
.plyr--video .plyr__controls button.tab-focus:focus,
|
|
.plyr--video .plyr__controls button:hover {
|
|
background: $background !important;
|
|
color: $color !important;
|
|
}
|
|
|
|
.plyr--audio .plyr__controls button.tab-focus:focus,
|
|
.plyr--audio .plyr__controls button:hover {
|
|
background: $background !important;
|
|
color: $color !important;
|
|
}
|
|
|
|
.plyr__play-large {
|
|
background: $background !important;
|
|
color: $color !important;
|
|
}
|
|
|
|
.plyr__progress--played,
|
|
.plyr__volume--display {
|
|
color: $background !important;
|
|
}
|
|
}
|