Simplify transitional files a bit.
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / components / _player.scss
index ce90ee8..9e40950 100644 (file)
     color: #007880;
     font-size: 26px;
     position: relative;
-    left: 3px;
-    transition: all $ease-dynamic 350ms;
+    transition: background $ease-dynamic 350ms;
+    &.icon-play {
+      left: 3px;
+    }
+    &.icon-pause {
+      left: 1px;
+    }
   }
 }
 
@@ -64,7 +69,7 @@
     height: 10px;
     width: 100%;
     display: block;
-    background: #f2f2f2;
+    background: #F2F2F2;
     border-radius: 5px;
     position: relative;
     overflow: hidden;
@@ -73,7 +78,7 @@
       height: 100%;
       position: absolute;
       border-radius: 5px;
-      background-color: #fff;
+      background-color: #FFFFFF;
       top: 0; left: 0;
     }
     
@@ -87,6 +92,7 @@
   }
 }
 
+
 .c-player__title {
   top: -27px;
   left: 0;