aboutsummaryrefslogtreecommitdiffstats
path: root/src/sass
diff options
context:
space:
mode:
Diffstat (limited to 'src/sass')
-rw-r--r--src/sass/base.scss4
-rw-r--r--src/sass/utils/hidden.scss6
2 files changed, 4 insertions, 6 deletions
diff --git a/src/sass/base.scss b/src/sass/base.scss
index 1b454151..307da36e 100644
--- a/src/sass/base.scss
+++ b/src/sass/base.scss
@@ -33,7 +33,7 @@
// border-box everything
// http://paulirish.com/2012/box-sizing-border-box-ftw/
-@if $plyr-border-box == true {
+@if $plyr-border-box {
.plyr--full-ui {
box-sizing: border-box;
@@ -46,7 +46,7 @@
}
// Fix 300ms delay
-@if $plyr-touch-action == true {
+@if $plyr-touch-action {
.plyr--full-ui {
a,
button,
diff --git a/src/sass/utils/hidden.scss b/src/sass/utils/hidden.scss
index 4deecf52..f3b46147 100644
--- a/src/sass/utils/hidden.scss
+++ b/src/sass/utils/hidden.scss
@@ -17,15 +17,13 @@
overflow: hidden;
// !important is not always needed
- @if $plyr-sr-only-important == true {
+ @if $plyr-sr-only-important {
border: 0 !important;
height: 1px !important;
padding: 0 !important;
position: absolute !important;
width: 1px !important;
- }
-
- @if $plyr-sr-only-important == false {
+ } @else {
border: 0;
height: 1px;
padding: 0;