[Gtk-3.22] Normalize Switches. Fixes #396

pull/609/merge
Khurshid Alam 2017-01-30 22:09:37 +05:30
parent 1a8c9bfa67
commit 3be320f526
1 changed files with 3 additions and 3 deletions

View File

@ -105,12 +105,12 @@ $suffix: if($variant == "dark", "-dark", "");
@include exports("switch") { @include exports("switch") {
switch { switch {
border-radius: $roundness; border-radius: $roundness;
padding: $spacing - 1px; padding: $spacing - 2px;
border: none; border: none;
outline: none; outline: none;
transition: background-color .3s linear; transition: background-color .3s linear;
min-width: 88px; min-width: 48px;
min-height: 24px; min-height: 16px;
background-color: $switch_bg_color; background-color: $switch_bg_color;
color: $switch_fg_color; color: $switch_fg_color;
box-shadow: inset 1px -1px 0 alpha($dark_shadow, .06), inset -1px 1px 0 alpha($dark_shadow, .06); box-shadow: inset 1px -1px 0 alpha($dark_shadow, .06), inset -1px 1px 0 alpha($dark_shadow, .06);