File tree 1 file changed +27
-26
lines changed
1 file changed +27
-26
lines changed Original file line number Diff line number Diff line change 26
26
.body {
27
27
width : 24 rem ;
28
28
29
- & > div .fret {
30
- background-color : transparent;
31
- }
32
-
33
- & div .string-container {
34
- @apply cursor-auto;
35
- }
36
-
37
- & div .string:first-of-type {
38
- @apply border-gray-600;
29
+ .string {
30
+ @apply m-0 w-full border-gray-600;
39
31
}
40
32
}
41
33
}
46
38
height : 87.5 % ;
47
39
@apply flex w-full;
48
40
49
- & .disabled {
50
- opacity : 0.7 ;
41
+ & > .fret {
42
+ min-width : 50 px ;
43
+ @apply flex flex-col justify-around py-2 w-full relative;
51
44
}
52
45
46
+ .string-container {
47
+ @apply flex items-center h-6;
48
+ }
49
+
50
+ .string {
51
+ @apply border-gray-600 border-b-2;
52
+ }
53
+ }
54
+
55
+ .fretboard {
53
56
& > .fret {
54
- min-width : 50 px ;
55
- @apply flex flex-col justify-around py-2 border-gray-300 border-r-2 w-full relative bg-gray-800;
57
+ @apply bg-gray-800 border-gray-300 border-r-2;
56
58
57
59
&:first-of-type {
58
60
@apply bg-gray-600;
72
74
}
73
75
}
74
76
75
- & .string-container {
76
- @apply flex items-center h-6 cursor-pointer;
77
+ .string-container {
78
+ @apply cursor-pointer;
77
79
}
78
80
79
- & .string {
81
+ .string {
80
82
margin : 0 -2 px ;
81
83
width : calc (100 % + 2 px );
82
- @apply border-gray-600 border-b-2;
83
84
}
84
85
85
- & .string-container:nth-child (n + 4 ) .string {
86
+ .string-container:nth-child (n + 4 ) .string {
86
87
border-bottom-width : 3 px ;
87
88
}
88
89
89
- & .dots {
90
+ .dots {
90
91
top : 15 % ;
91
92
bottom : 15 % ;
92
93
@apply flex flex-col justify-around items-center absolute inset-x-0 py-2 pointer-events-none;
93
94
}
94
95
95
- & .dot {
96
+ .dot {
96
97
transition : background-color 1 s ;
97
98
@apply rounded-full h-4 w-4 bg-gray-200;
98
99
}
99
100
100
- & .dots.dots-feedback {
101
+ .dots.dots-feedback {
101
102
@apply inset-0;
102
103
}
103
104
104
- & .dots-feedback .dot {
105
+ .dots-feedback .dot {
105
106
background-color : transparent;
106
107
}
107
108
108
- & .dot.wrong {
109
+ .dot.wrong {
109
110
background-color : theme ('colors.brand-red' );
110
111
}
111
112
112
- & .dot.correct {
113
+ .dot.correct {
113
114
@apply bg-green-500;
114
115
}
115
116
116
- & .dot.no-transition {
117
+ .dot.no-transition {
117
118
transition : none;
118
119
}
119
120
}
You can’t perform that action at this time.
0 commit comments