53 padding: 0px; |
55 padding: 0px; |
54 } |
56 } |
55 |
57 |
56 .transcript-component .transcript .annotations .sentence { |
58 .transcript-component .transcript .annotations .sentence { |
57 padding: 20px 20px 20px 64px; |
59 padding: 20px 20px 20px 64px; |
58 color: $dark-grey; |
60 color: $corpus-black; |
59 position: relative; |
61 position: relative; |
60 background-color: transparent; |
62 background-color: transparent; |
61 transition: background-color .15s, color .15s; |
63 transition: background-color .15s, color .15s; |
62 min-height: 24px; |
64 min-height: 24px; |
63 } |
65 } |
64 |
66 |
65 .transcript-component .transcript .annotations .sentence:not(.active):hover { |
67 .transcript-component .transcript .annotations .sentence:not(.active):hover { |
66 cursor: pointer; |
68 cursor: pointer; |
67 background-color: $medium-grey-5; |
69 background-color: $corpus-grey; |
|
70 color: $corpus-white; |
68 } |
71 } |
69 |
72 |
70 .transcript-component .transcript .annotations .sentence.active { |
73 .transcript-component .transcript .annotations .sentence.active { |
71 background-color: $grey-blue; |
74 background-color: $corpus-blue; |
72 color: $light-white; |
75 color: $corpus-white; |
73 pointer-events: none; |
76 pointer-events: none; |
|
77 } |
|
78 |
|
79 |
|
80 .transcript-component .transcript .annotations .sentence.active .translation { |
|
81 color: $corpus-white; |
|
82 font-weight: normal; |
74 } |
83 } |
75 |
84 |
76 .transcript-component .transcript .annotations .sentence .words { |
85 .transcript-component .transcript .annotations .sentence .words { |
77 font-size: 0px; |
86 font-size: 0px; |
78 margin: 20px 0px; |
87 margin: 10px 0px; |
79 } |
88 } |
80 |
89 |
81 .transcript-component .transcript .annotations .sentence .words .word { |
90 .transcript-component .transcript .annotations .sentence .words .word { |
82 display: inline-block; |
91 display: inline-block; |
83 } |
92 } |
84 |
93 |
|
94 .transcript-component .transcript .annotations .sentence .original { |
|
95 font-weight: bold; |
|
96 } |
|
97 |
85 .transcript-component .transcript .annotations .sentence .words .word .original, |
98 .transcript-component .transcript .annotations .sentence .words .word .original, |
86 .transcript-component .transcript .annotations .sentence .words .word .translation { |
99 .transcript-component .transcript .annotations .sentence .words .word .translation { |
87 background-color: $medium-grey; |
100 background-color: $corpus-black; |
88 padding: 0px 4px; |
101 padding: 0px 4px; |
89 margin-right: 2px; |
102 margin-right: 2px; |
90 margin-bottom: 2px; |
103 margin-bottom: 1px; |
91 font-size: 12px; |
104 font-size: 12px; |
|
105 } |
|
106 |
|
107 .transcript-component .transcript .annotations .sentence:hover .words .word .original, |
|
108 .transcript-component .transcript .annotations .sentence:hover .words .word .translation { |
|
109 background-color: $corpus-white; |
|
110 color: $corpus-grey; |
92 } |
111 } |
93 |
112 |
94 .transcript-component .transcript .annotations .sentence.active .words .word .original, |
113 .transcript-component .transcript .annotations .sentence.active .words .word .original, |
95 .transcript-component .transcript .annotations .sentence.active .words .word .translation { |
114 .transcript-component .transcript .annotations .sentence.active .words .word .translation { |
96 background-color: $light-white; |
115 background-color: $corpus-white; |
97 } |
116 } |
98 |
117 |
99 .transcript-component .transcript .annotations .sentence .words .word { |
118 .transcript-component .transcript .annotations .sentence .words .word { |
100 color: $light-blue; |
119 color: $corpus-white; |
101 } |
120 } |
102 |
121 |
103 .transcript-component .transcript .annotations .sentence.active .words .word .original { |
122 .transcript-component .transcript .annotations .sentence .words .word p { |
104 color: $grey-blue; |
123 line-height: 20px; |
|
124 } |
|
125 |
|
126 .transcript-component .transcript .annotations .sentence.active .words .word .original, |
|
127 .transcript-component .transcript .annotations .sentence.active .words .word .translation { |
|
128 color: $corpus-blue; |
105 } |
129 } |
106 |
130 |
107 .transcript-component .transcript .annotations .sentence .words .word .translation { |
131 .transcript-component .transcript .annotations .sentence .words .word .translation { |
108 margin-bottom: 4px; |
132 margin-bottom: 2px; |
109 } |
|
110 |
|
111 |
|
112 .transcript-component .transcript .annotations .sentence.active .translation { |
|
113 color: $light-blue; |
|
114 } |
133 } |
115 |
134 |
116 .transcript-component .transcript .annotations .sentence .fa-play { |
135 .transcript-component .transcript .annotations .sentence .fa-play { |
117 position: absolute; |
136 position: absolute; |
118 border: solid 2px $medium-grey; |
137 border-style: solid; |
|
138 border-width: 2px; |
|
139 border-color: $corpus-black; |
119 border-radius: 100%; |
140 border-radius: 100%; |
120 width: 24px; |
141 width: 24px; |
121 height: 24px; |
142 height: 24px; |
122 line-height: 20px; |
143 line-height: 20px; |
123 left: 20px; |
144 left: 20px; |
124 cursor: pointer; |
145 cursor: pointer; |
125 opacity: 0; |
146 opacity: 1; |
126 border-color: $light-blue; |
147 color: $corpus-black; |
127 color: $light-blue; |
|
128 transition: opacity .15s; |
|
129 } |
148 } |
130 |
149 |
131 .transcript-component .transcript .annotations .sentence .fa-play::before { |
150 .transcript-component .transcript .annotations .sentence .fa-play::before { |
132 margin-left: 3px; |
151 margin-left: 3px; |
133 } |
152 } |
134 |
153 |
135 .transcript-component .transcript .annotations .sentence.active .fa-play { |
|
136 pointer-events: all; |
|
137 border-color: $light-blue; |
|
138 color: $light-blue; |
|
139 opacity: 1; |
|
140 } |
|
141 |
|
142 .transcript-component .transcript .annotations .sentence:not(.active):hover .fa-play { |
154 .transcript-component .transcript .annotations .sentence:not(.active):hover .fa-play { |
143 opacity: 1; |
155 border-color: $corpus-white; |
|
156 color: $corpus-white; |
144 } |
157 } |
145 |
158 |
146 .transcript-component .transcript .annotations .sentence p { |
159 .transcript-component .transcript .annotations .sentence p { |
147 margin: 0; |
160 margin: 0; |
148 line-height: 24px; |
161 line-height: 24px; |