|
3 | 3 | @import "../../../../styles/mixins";
|
4 | 4 | @import "../../../../styles/typography";
|
5 | 5 |
|
| 6 | +$note-height: 36; |
| 7 | + |
6 | 8 | .fretboard__container {
|
7 | 9 | margin-top: pxToRem($grid-unit * 1);
|
8 | 10 | max-width: $fretonator_max_width;
|
9 | 11 | margin-left: auto;
|
10 | 12 | margin-right: auto;
|
11 | 13 | padding-right: 0;
|
12 |
| - padding-left: pxToRem($grid-unit * 4); |
| 14 | + padding-left: pxToRem($grid-unit * 5); |
13 | 15 | padding-bottom: pxToRem($grid-unit * 4);
|
14 | 16 | padding-top: pxToRem($grid-unit * 9);
|
15 | 17 | overflow-x: auto;
|
|
21 | 23 |
|
22 | 24 | &.fretboard__flip {
|
23 | 25 | padding-left: 0;
|
24 |
| - padding-right: pxToRem($grid-unit * 4); |
| 26 | + padding-right: pxToRem($grid-unit * 5); |
25 | 27 | direction: rtl;
|
26 | 28 | }
|
27 | 29 | }
|
|
251 | 253 |
|
252 | 254 | &:after {
|
253 | 255 | content: attr(data-display-note);
|
254 |
| - height: var(--note-height); |
255 |
| - width: var(--note-height); |
256 |
| - line-height: var(--note-height); |
| 256 | + height: pxToRem($note-height); |
| 257 | + width: pxToRem($note-height); |
| 258 | + line-height: pxToRem($note-height); |
257 | 259 | left: 50%;
|
258 | 260 | right: unset;
|
259 | 261 | box-sizing: border-box;
|
|
268 | 270 | transition-duration: 0.1s;
|
269 | 271 | transition-property: line-height, height, width, opacity;
|
270 | 272 | transition-timing-function: ease-in-out;
|
271 |
| - } |
272 |
| - |
273 |
| - &:hover:after, |
274 |
| - &:active:after { |
275 |
| - height: var(--note-height-hover); |
276 |
| - width: var(--note-height-hover); |
277 |
| - line-height: var(--note-height-hover); |
| 273 | + direction: ltr; |
278 | 274 | }
|
279 | 275 |
|
280 | 276 | &:nth-child(-n + 13):after {
|
|
333 | 329 |
|
334 | 330 | &:after {
|
335 | 331 | content: attr(data-string-name);
|
336 |
| - height: var(--note-height); |
337 |
| - width: var(--note-height); |
| 332 | + height: pxToRem($note-height); |
| 333 | + width: pxToRem($note-height); |
338 | 334 | left: 0;
|
339 | 335 | right: unset;
|
340 | 336 | box-sizing: border-box;
|
341 | 337 | border-radius: 50%;
|
342 | 338 | transform: translate(-50%, 50%);
|
343 | 339 | color: var(--string-color);
|
344 |
| - line-height: var(--note-height); |
| 340 | + line-height: pxToRem($note-height); |
345 | 341 | text-align: center;
|
346 | 342 | font-weight: var(--font-weight-bold);
|
347 | 343 | font-family: var(--font-family-main);
|
|
0 commit comments