|
20 | 20 | * at runtime from the About dialog for additional information.
|
21 | 21 | *****************************************************************************/
|
22 | 22 |
|
23 |
| -.l-toi-holder, |
| 23 | +mct-include.l-toi-holder, |
24 | 24 | .l-toi-holder:after,
|
25 | 25 | .l-toi-holder:before {
|
26 | 26 | display: block;
|
27 | 27 | position: absolute;
|
28 | 28 | }
|
29 | 29 |
|
30 |
| -.l-toi-holder { |
| 30 | +mct-include.l-toi-holder { |
31 | 31 | $blockerFadeW: $toiBlockerFadeW;
|
32 | 32 | @include transform(translateX(-50%));
|
33 | 33 | color: $toiColorBg;
|
|
36 | 36 | bottom: 0;
|
37 | 37 | width: $toiH;
|
38 | 38 | &:not(.pinned) {
|
39 |
| - opacity: 0; |
40 |
| - pointer-events: none; |
| 39 | + display: none; |
41 | 40 | }
|
42 | 41 |
|
43 | 42 | &.pinned {
|
44 |
| - opacity: 1; |
| 43 | + display: block; |
45 | 44 | }
|
46 | 45 |
|
47 | 46 | &:before,
|
|
138 | 137 | .l-toi-val {
|
139 | 138 | display: none; // Hide by default; see .show-val below
|
140 | 139 | }
|
141 |
| -} |
142 |
| - |
143 |
| -// TOI is showing value as well |
144 |
| -.show-val .l-toi-holder { |
145 |
| - .l-toi { |
146 |
| - .l-toi-buttons { |
147 |
| - order: 1; |
148 |
| - &:hover { |
149 |
| - margin-right: $interiorMarginSm; |
150 |
| - } |
151 |
| - } |
152 |
| - .l-toi-val { |
153 |
| - @include trans-prop-nice($props: opacity, $dur: 150ms); |
154 |
| - background-color: $toiColorBg; |
155 |
| - border-radius: $controlCr; |
156 |
| - box-sizing: content-box; |
157 |
| - color: $toiColorFg; |
158 |
| - display: inline-block; |
159 |
| - font-size: 0.7rem; |
160 |
| - font-weight: 400; |
161 |
| - height: $toiH; |
162 |
| - line-height: $toiH; |
163 |
| - order: 2; |
164 |
| - padding: 1px 3px; |
165 |
| - white-space: nowrap; |
166 |
| - } |
167 |
| - } |
168 | 140 |
|
169 |
| - &.val-to-left { |
| 141 | + // TOI is showing value as well |
| 142 | + &.show-val { |
170 | 143 | .l-toi {
|
171 |
| - left: auto; |
172 |
| - right: $toiPad * -2; |
173 |
| - |
174 | 144 | .l-toi-buttons {
|
175 |
| - order: 2; |
| 145 | + order: 1; |
176 | 146 | &:hover {
|
177 |
| - .t-button-resync { order: 2; } |
178 |
| - .t-button-unpin { order: 1; } |
179 |
| - margin-left: $interiorMarginSm; |
| 147 | + margin-right: $interiorMarginSm; |
180 | 148 | }
|
181 | 149 | }
|
182 |
| - |
183 | 150 | .l-toi-val {
|
184 |
| - order: 1; |
| 151 | + @include trans-prop-nice($props: opacity, $dur: 150ms); |
| 152 | + background-color: $toiColorBg; |
| 153 | + border-radius: $controlCr; |
| 154 | + box-sizing: content-box; |
| 155 | + color: $toiColorFg; |
| 156 | + display: inline-block; |
| 157 | + font-size: 0.7rem; |
| 158 | + font-weight: 400; |
| 159 | + height: $toiH; |
| 160 | + line-height: $toiH; |
| 161 | + order: 2; |
| 162 | + padding: 1px 3px; |
| 163 | + white-space: nowrap; |
| 164 | + } |
| 165 | + } |
| 166 | + |
| 167 | + &.val-to-left { |
| 168 | + .l-toi { |
| 169 | + left: auto; |
| 170 | + right: $toiPad * -2; |
| 171 | + |
| 172 | + .l-toi-buttons { |
| 173 | + order: 2; |
| 174 | + &:hover { |
| 175 | + .t-button-resync { order: 2; } |
| 176 | + .t-button-unpin { order: 1; } |
| 177 | + margin-left: $interiorMarginSm; |
| 178 | + } |
| 179 | + } |
| 180 | + |
| 181 | + .l-toi-val { |
| 182 | + order: 1; |
| 183 | + } |
185 | 184 | }
|
186 | 185 | }
|
187 | 186 | }
|
188 | 187 | }
|
189 | 188 |
|
| 189 | + |
190 | 190 | // TOI in tables
|
191 | 191 | .tabular,
|
192 | 192 | table {
|
193 | 193 | tbody, .tbody {
|
194 | 194 | tr, .tr {
|
195 |
| - &.l-toi-tablerow.pinned { |
| 195 | + &.l-toi-tablerow { |
196 | 196 | border-top: 1px dashed $toiColorBg;
|
197 | 197 | z-index: 1;
|
198 | 198 | td, .td {
|
|
0 commit comments