#{$module} {
+ margin-top: 0;
+ padding: 0;
+ background: $color-black-light;
+ list-style-type: none;
+
&__item {
+ @include padding(0.25 1);
+ @include font-size(xs);
+ @include typeface(sans-serif);
+ @include transition(all 0.25s ease-in-out);
+ color: white;
+
&.playing {
- color: red;
+
+ background: $color-main;
+ color: $color-black-light;
+
+ >a {
+ color: $color-black-light;
+ }
+
}
>a {
-
+ @include transition(all 0.25s ease-in-out);
+ color: white;
}
-.audiojs .play-pause {
- width: 37px;
+.audiojs {
+ background: $color-black;
+ box-shadow: none;
+ width: 100%;
+
+ .play-pause {
+ width: 37px;
+ }
+
+ .scrubber {
+ width: calc(80% - 37px);
+ }
+
+ .time {
+ width: calc(20% - 37px);
+ @include font-size(xs);
+ @include typeface(sans-serif);
+ }
+
+ .progress {
+ background: $color-main;
+ }
+
+ .loaded {
+ background: $color-gray;
+ }
+
+ @include mq($until: xs) {
+ width: 100%;
+ .scrubber {
+ width: calc(60% - 37px);
+ }
+ .time {
+ width: calc(40% - 37px);
+ }
+ }
}
<li class="audio-playlist__item">
<a href="#" data-src="{{ audio.open_source_url }}">{{ audio.title }}</a>
</li>
-
+ <li class="audio-playlist__item">
+ <a href="#" data-src="{{ audio.open_source_url }}">{{ audio.title }}</a>
+ </li>
+
{% comment %}
{# audio.title #}<br>