File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{% assign e = site.data[page.lang]['heatmap-ui'] %}
22
33< div id ="interface ">
4- < div class =" select active " role ="select " style =" width: 13em ">
4+ < div id =" hand- select" class ="select active " role =" select ">
55 < input class ="select-checkbox " id ="hand-select-checkbox " type ="checkbox ">
66 < label for ="hand-select-checkbox " style ="display: flex; justify-content: space-between ">
77 < span id ="hand-selected "> {{ e.total }}</ span >
1414 < span class ="select-option "> {{ e.hf_format | replace: '%h%', e.right | replace: '%f%', e.hand }}</ span >
1515 </ div >
1616 </ div >
17- < div class ="select " id ="finger-select " role ="select " style =" width: 7em " >
17+ < div class ="select " id ="finger-select " role ="select ">
1818 < input class ="select-checkbox " id ="finger-select-checkbox " type ="checkbox ">
1919 < label for ="finger-select-checkbox " style ="display: flex; justify-content: space-between ">
2020 < span id ="finger-selected "> {{ e.all_button }}</ span >
208208 updateSelection ( "total" ) ;
209209 } else {
210210 let selectValue = handleCustomSelect ( e . textContent ) ;
211- debugger ;
212211 if ( selectValue === "total" ) {
213212 if ( fingerSelect . classList . contains ( 'active' ) ) {
214213 fingerSelect . classList . remove ( 'active' ) ;
Original file line number Diff line number Diff line change 5454 user-select : none;
5555}
5656
57+ # hand-select {
58+ width : 13em
59+ }
60+
61+ # finger-select {
62+ width : 7em
63+ }
64+
5765.select-checkbox {
5866 display : none;
5967}
99107 padding-top : 0.2em ;
100108}
101109
102- .select-checkbox : checked ~ label [for = "hand-select-checkbox" ] img {
103- transform : rotate (0deg );
104- }
105-
106- .select-checkbox ~ label [for = "hand-select-checkbox" ] img {
107- transform : rotate (-90deg );
108- }
109-
110- .select-checkbox : checked ~ label [for = "finger-select-checkbox" ] img {
110+ .select-checkbox : checked ~ label img {
111111 transform : rotate (0deg );
112112}
113113
114- .select-checkbox ~ label [ for = "finger-select-checkbox" ] img {
114+ .select-checkbox ~ label img {
115115 transform : rotate (-90deg );
116116}
117117
173173 pointer-events : auto;
174174}
175175
176- .reset-view-btn : hover {
176+ .reset-view-btn : active {
177177 background : rgba (74 , 158 , 255 , 0.9 );
178178 color : white;
179179 transform : translateY (-2px );
195195 .heatmap-legend { font-size : 10px ; }
196196 .heatmap-gradient { width : 60px ; height : 8px ; }
197197 # interface { gap : 1em ; }
198+ # hand-select { width : 11em }
199+ # finger-select { width : 5em }
198200}
You can’t perform that action at this time.
0 commit comments