UNPKG

869 BSCSSView Raw
1@import 'lg-variables';
2@import 'lg-mixins';
3.lg-progress-bar {
4 background-color: $lg-progress-bar-bg;
5 height: $lg-progress-bar-height;
6 left: 0;
7 position: absolute;
8 top: 0;
9 width: 100%;
10 z-index: $zindex-progressbar;
11 opacity: 0;
12 will-change: opacity;
13 @include transitionCustom(opacity 0.08s ease 0s);
14
15 .lg-progress {
16 background-color: $lg-progress-bar-active-bg;
17 height: $lg-progress-bar-height;
18 width: 0;
19 }
20
21 &.lg-start {
22 .lg-progress {
23 width: 100%;
24 }
25 }
26
27 .lg-show-autoplay & {
28 opacity: 1;
29 }
30}
31
32.lg-autoplay-button {
33 &:after {
34 .lg-show-autoplay & {
35 content: '\e01a';
36 }
37 content: '\e01d';
38 }
39 .lg-single-item & {
40 opacity: $lg-toolbar-icon-disabled-opacity;
41 pointer-events: none;
42 }
43}