equal
deleted
inserted
replaced
1 .transcript-component { |
1 .transcript-component { |
2 background-color: $light-blue; |
2 background-color: $light-blue; |
3 padding: 20px; |
3 padding: 0px; |
|
4 width: 554px; |
|
5 box-sizing: border-box; |
4 } |
6 } |
5 |
7 |
6 .transcript-component .sentence { |
8 .transcript-component h2 { |
7 padding: 20px; |
9 position: absolute; |
8 color: $medium-grey; |
10 z-index: 1; |
|
11 width: inherit; |
|
12 background: linear-gradient($light-blue, $light-blue 50%, transparent); |
|
13 padding-bottom: 54px; |
9 } |
14 } |
10 |
15 |
11 .transcript-component .sentence.active { |
16 .transcript-component .transcript { |
|
17 list-style: none; |
|
18 margin: 0px; |
|
19 padding: 154px 20px 0px 20px; |
|
20 } |
|
21 |
|
22 .transcript-component .transcript .sentence { |
|
23 padding: 24px 48px; |
|
24 color: $medium-grey; |
|
25 position: relative; |
|
26 background-color: transparent; |
|
27 transition: background-color .15s, color .15s; |
|
28 } |
|
29 |
|
30 .transcript-component .transcript .sentence.active { |
12 background-color: $grey-blue; |
31 background-color: $grey-blue; |
13 color: $light-white; |
32 color: $light-white; |
14 } |
33 } |
15 |
34 |
16 .transcript-component .sentence.active .translation { |
35 .transcript-component .transcript .sentence.active .translation { |
17 color: $light-blue; |
36 color: $light-blue; |
18 } |
37 } |
|
38 |
|
39 .transcript-component .transcript .sentence .fa-play { |
|
40 position: absolute; |
|
41 border: solid 2px $medium-grey; |
|
42 border-radius: 100%; |
|
43 width: 24px; |
|
44 height: 24px; |
|
45 line-height: 20px; |
|
46 left: 12px; |
|
47 } |
|
48 |
|
49 .transcript-component .transcript .sentence .fa-play::before { |
|
50 margin-left: 2px; |
|
51 } |
|
52 |
|
53 .transcript-component .transcript .sentence.active .fa-play { |
|
54 border-color: $light-blue; |
|
55 color: $light-blue; |
|
56 } |
|
57 |
|
58 .transcript-component .transcript .sentence p { |
|
59 margin: 0; |
|
60 line-height: 24px; |
|
61 } |