diff options
author | Horst3180 | 2016-08-31 13:25:34 +0200 |
---|---|---|
committer | Horst3180 | 2016-08-31 13:25:34 +0200 |
commit | 99d645f8087701b18b21ca9e0cb882bfe622ea6a (patch) | |
tree | 1b295490d0237b8956181267a367b4d3d41859d8 /common/gtk-3.0/3.20/sass | |
parent | 3f11de0a63b613e57c41a72686feff19d843f27f (diff) | |
download | solarc-theme-99d645f8087701b18b21ca9e0cb882bfe622ea6a.tar.gz solarc-theme-99d645f8087701b18b21ca9e0cb882bfe622ea6a.tar.xz solarc-theme-99d645f8087701b18b21ca9e0cb882bfe622ea6a.zip |
simpler outline-color styling
Diffstat (limited to 'common/gtk-3.0/3.20/sass')
-rw-r--r-- | common/gtk-3.0/3.20/sass/_common.scss | 10 | ||||
-rw-r--r-- | common/gtk-3.0/3.20/sass/_drawing.scss | 11 |
2 files changed, 1 insertions, 20 deletions
diff --git a/common/gtk-3.0/3.20/sass/_common.scss b/common/gtk-3.0/3.20/sass/_common.scss index bfa57ae..649605c 100644 --- a/common/gtk-3.0/3.20/sass/_common.scss +++ b/common/gtk-3.0/3.20/sass/_common.scss @@ -26,7 +26,7 @@ $darker_asset_suffix: if($darker=='true', '-dark', $asset_suffix); -GtkDialog-action-area-border: 0; // We use the outline properties to signal the focus properties - outline-color: transparentize($fg_color, 0.7); + outline-color: gtkalpha(currentColor, 0.3); outline-style: dashed; outline-offset: -3px; outline-width: 1px; @@ -163,7 +163,6 @@ textview { // This will get overridden by .view, needed by gedit line numbers border: none; background-color: $osd_bg_color; background-clip: padding-box; - outline-color: transparentize($osd_fg_color, 0.7); box-shadow: none; } @@ -425,7 +424,6 @@ button { // big standalone buttons like in Documents pager &.osd { color: $osd_fg_color; - outline-color: transparentize($osd_fg_color, 0.7); background-color: $osd_bg_color; border-color: darken($osd_bg_color, 8%); @@ -474,7 +472,6 @@ button { &.flat { @include button(undecorated); color: $b_color; - outline-color: transparentize($b_color, 0.7); } &:hover { @include button(suggested_destructive, lighten($b_color, 10%), $b_fg); @@ -1253,7 +1250,6 @@ headerbar { &.flat { @include button(undecorated); color: $b_color; - outline-color: transparentize($b_color, 0.7); } &:hover { @include button(suggested_destructive, lighten($b_color, 10%), $b_fg); @@ -2817,7 +2813,6 @@ infobar { border-style: none; } @at-root %normal_selected_button, & { color: $selected_fg_color; - outline-color: transparentize($selected_fg_color, 0.7); background-color: transparentize($selected_fg_color, 1); border-color: transparentize($selected_fg_color, 0.5); } @@ -2833,13 +2828,11 @@ infobar { border-style: none; } } &:hover { color: $selected_fg_color; - outline-color: transparentize($selected_fg_color, 0.7); background-color: transparentize($selected_fg_color, 0.8); border-color: transparentize($selected_fg_color, 0.2); } &:active, &:active:hover, &:checked { color: $selected_bg_color; - outline-color: transparentize($selected_bg_color, 0.7); background-color: $selected_fg_color; border-color: $selected_fg_color; } @@ -3155,7 +3148,6 @@ headerbar, @at-root %nobg_selected_items, & { color: $selected_fg_color; - outline-color: transparentize($selected_fg_color, 0.7); &:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); } } diff --git a/common/gtk-3.0/3.20/sass/_drawing.scss b/common/gtk-3.0/3.20/sass/_drawing.scss index 7bbd93a..1f41ddf 100644 --- a/common/gtk-3.0/3.20/sass/_drawing.scss +++ b/common/gtk-3.0/3.20/sass/_drawing.scss @@ -120,7 +120,6 @@ // normal button // color: $fg_color; - outline-color: transparentize($fg_color, 0.7); border-color: $button_border; background-color: $button_bg; } @@ -130,7 +129,6 @@ // hovered button // color: $fg_color; - outline-color: transparentize($fg_color, 0.7); border-color: $button_border; background-color: lighten($button_bg, 5%); } @@ -140,8 +138,6 @@ // pushed button // color: $selected_fg_color; - outline-color: transparentize($selected_fg_color, 0.7); - border-color: if($variant=='light', $selected_bg_color, $button_border); background-color: $selected_bg_color; } @@ -173,7 +169,6 @@ // normal header-bar button // color: $header_fg; - outline-color: transparentize($header_fg, 0.7); outline-offset: -3px; background-color: transparentize($header_bg, 1); border-color: transparentize($header_bg, 1); @@ -184,7 +179,6 @@ // hovered header-bar button // color: $header_fg; - outline-color: transparentize($header_fg, 0.7); border-color: $header_button_border; background-color: $header_button_bg; } @@ -194,7 +188,6 @@ // pushed header-bar button // color: $selected_fg_color; - outline-color: transparentize($selected_fg_color, 0.7); border-color: if($darker=='false' and $variant=='light', $selected_bg_color, transparent); background-color: $selected_bg_color; } @@ -223,7 +216,6 @@ // normal osd button // color: $osd_fg_color; - outline-color: transparentize($osd_fg_color, 0.7); border-color: $osd_button_border; background-color: $osd_button_bg; } @@ -233,7 +225,6 @@ // active osd button // color: $osd_fg_color; - outline-color: transparentize($osd_fg_color, 0.7); border-color: $osd_button_border; background-color: opacify(lighten($osd_button_bg, 7%), 0.1); } @@ -243,7 +234,6 @@ // active osd button // color: $selected_fg_color; - outline-color: transparentize($selected_fg_color, 0.7); border-color: $osd_button_border; background-color: $selected_bg_color; } @@ -264,7 +254,6 @@ background-clip: border-box; color: $actionb_fg; - outline-color: transparentize($actionb_fg, 0.7); background-color: $actionb_bg; border-color: $actionb_bg; } |