* Fixed button disabled. (#517)
							parent
							
								
									d56f32f8e6
								
							
						
					
					
						commit
						0612667f91
					
				gtk-3.0/scss/widgets
gtk-3.20/scss/widgets
| 
						 | 
				
			
			@ -172,6 +172,19 @@
 | 
			
		|||
            box-shadow: none;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        &:insensitive:insensitive {
 | 
			
		||||
            @if (lightness($button_bg) > 50) {
 | 
			
		||||
                @include linear-gradient(shade($button_bg, .95));
 | 
			
		||||
            } @else {
 | 
			
		||||
                @include linear-gradient(alpha($button_bg, .3));
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            color: mix($bg, $fg, .5);
 | 
			
		||||
            box-shadow: none;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &.flat {
 | 
			
		||||
        &:insensitive:insensitive {
 | 
			
		||||
            background-color: transparent;
 | 
			
		||||
            background-image: none;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -320,6 +320,19 @@
 | 
			
		|||
            box-shadow: none;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        &:disabled:disabled {
 | 
			
		||||
            @if (lightness($button_bg) > 50) {
 | 
			
		||||
                @include linear-gradient(shade($button_bg, .95));
 | 
			
		||||
            } @else {
 | 
			
		||||
                @include linear-gradient(alpha($button_bg, .3));
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            color: mix($bg, $fg, .5);
 | 
			
		||||
            box-shadow: none;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &.flat {
 | 
			
		||||
        &:disabled:disabled {
 | 
			
		||||
            background-color: transparent;
 | 
			
		||||
            background-image: none;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue