_progress.scss
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.#{$namespace}-wrapper {
.ld-progress {
display:flex;
flex-direction:column;
margin:1em 0;
.ld-progress-heading {
display:flex;
justify-content:space-between;
font-size:0.75em;
line-height: 1em;
.ld-progress-label {
text-transform:uppercase;
font-weight:800;
}
.ld-progress-stats {
display:flex;
flex-wrap: wrap;
justify-content: flex-start;
.ld-progress-percentage {
text-transform:uppercase;
font-weight:800;
color:$green;
margin-right: 5px;
}
}
}
.ld-progress-bar {
height:7px;
background-color:$white;
border-radius:7px;
margin:5px 0;
overflow:hidden;
.ld-progress-bar-percentage {
height:7px;
background:$green;
}
}
&.ld-progress-inline {
flex-direction:row-reverse;
align-items:center;
.ld-progress-heading {
}
.ld-progress-bar {
flex:1 auto;
margin-right:1em;
}
.ld-status {
margin-left:1em;
}
}
@include for-phone {
.ld-progress-heading {
flex-direction:column;
&.ld-progress-inline {
flex-direction:column;
}
}
}
}
.ld-breadcrumbs + .ld-topic-status {
padding: 0;
}
&.learndash-widget {
.ld-progress {
flex-wrap: wrap;
.ld-progress-heading {
order:1;
flex-direction:column;
margin:0.25em 0;
}
.ld-progress-bar {
background-color:$border-grey;
width: 100%;
margin-right: 0;
}
}
}
}