File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 172172 box-shadow : none ;
173173 }
174174
175+ & :insensitive:insensitive {
176+ @if (lightness ($button_bg ) > 50 ) {
177+ @include linear-gradient (shade ($button_bg , .95 ));
178+ } @else {
179+ @include linear-gradient (alpha ($button_bg , .3 ));
180+ }
181+
182+ color: mix($bg , $fg , .5 );
183+ box-shadow: none;
184+ }
185+ }
186+
187+ & .flat {
175188 & :insensitive:insensitive {
176189 background-color : transparent ;
177190 background-image : none ;
Original file line number Diff line number Diff line change 320320 box-shadow : none ;
321321 }
322322
323+ & :disabled:disabled {
324+ @if (lightness ($button_bg ) > 50 ) {
325+ @include linear-gradient (shade ($button_bg , .95 ));
326+ } @else {
327+ @include linear-gradient (alpha ($button_bg , .3 ));
328+ }
329+
330+ color : mix ($bg , $fg , .5 );
331+ box-shadow : none ;
332+ }
333+ }
334+
335+ & .flat {
323336 & :disabled:disabled {
324337 background-color : transparent ;
325338 background-image : none ;
You can’t perform that action at this time.
0 commit comments