File tree Expand file tree Collapse file tree
src/gtk-3.20/scss/widgets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 179179 min-width : 16px ;
180180 padding : 0 ;
181181 margin-left : $spacing * 2 ;
182- border : 1px solid transparent ;
182+ // border: 1px solid transparent;
183183 transition : all .1s linear ;
184184 }
185185
186186 & :hover {
187187 background-color : shade ($base_color , .93 );
188188 border-color : transparent ;
189189 outline : none ;
190-
191- button ,
192- button .flat {
193- border : 1px solid alpha ($bg_color , .1 );
194- }
195190 }
196191
197192 & :checked {
198- background-color : mix ($bg_color , $base_color , .4 );
193+ @if (lightness ($bg_color ) > 50 ) {
194+ background-color : mix ($bg_color , $base_color , .7 );
195+ } @else {
196+ background-color : mix ($bg_color , $base_color , .4 );
197+ }
198+
199199 border-bottom-color : transparent ;
200200 outline : none ;
201201
204204 }
205205
206206 & :hover {
207- background-color : mix ($bg_color , $base_color , .6 );
207+ @if (lightness ($bg_color ) > 50 ) {
208+ background-color : mix ($bg_color , $base_color , .9 );
209+ } @else {
210+ background-color : mix ($bg_color , $base_color , .6 );
211+ }
208212 }
209213 }
210214
You can’t perform that action at this time.
0 commit comments