From e87a3b6f4177920ce019efda06d6624d7ff0f7fb Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Fri, 14 Nov 2014 22:08:08 +0530 Subject: [PATCH] Remove border from selections --- gtk-3.0/scss/_menu.scss | 9 ++++----- gtk-3.0/scss/_toolbar.scss | 13 ++++++++----- gtk-3.0/scss/_view.scss | 8 ++------ 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/gtk-3.0/scss/_menu.scss b/gtk-3.0/scss/_menu.scss index 905dc8a..3859a6f 100755 --- a/gtk-3.0/scss/_menu.scss +++ b/gtk-3.0/scss/_menu.scss @@ -35,10 +35,9 @@ GtkTreeMenu, GtkMenuToolButton, GtkComboBox { } &, .menu & { + margin: $spacing; padding: $spacing; - border-width: 1px; - border-style: solid; - border-color: transparent; + border: none; border-radius: 0; background-color: transparent; background-image: none; @@ -46,7 +45,7 @@ GtkTreeMenu, GtkMenuToolButton, GtkComboBox { -GtkMenuItem-arrow-scaling: 0.5; &:active, &:hover { - border-color: shade($selected_bg_color, .9); + border: none; background-color: $selected_bg_color; background-image: none; color: $selected_fg_color; @@ -149,4 +148,4 @@ GtkPopover { font-size: 80%; font-weight: bold; } -} \ No newline at end of file +} diff --git a/gtk-3.0/scss/_toolbar.scss b/gtk-3.0/scss/_toolbar.scss index 600bd30..0590dbd 100755 --- a/gtk-3.0/scss/_toolbar.scss +++ b/gtk-3.0/scss/_toolbar.scss @@ -82,25 +82,28 @@ .titlebutton { padding: $spacing; border: none; - background: none; - color: mix($titlebar_fg_color, $titlebar_bg_color, 0.90); + background-image: none; + background-color: transparent; + color: mix($titlebar_fg_color, $titlebar_bg_color, .1); box-shadow: none; &:hover, &:hover:focus { - background: none; + background-image: none; + background-color: transparent; color: $selected_bg_color; box-shadow: none; } &:active, &:active:hover { - background: none; + background-image: none; + background-color: transparent; color: darken($selected_bg_color, 10%); box-shadow: none; } &:backdrop { background: none; - color: mix($titlebar_fg_color, $titlebar_bg_color, 0.60); + color: mix($titlebar_fg_color, $titlebar_bg_color, .6); icon-shadow: none; } } diff --git a/gtk-3.0/scss/_view.scss b/gtk-3.0/scss/_view.scss index 6c7b01c..169e180 100644 --- a/gtk-3.0/scss/_view.scss +++ b/gtk-3.0/scss/_view.scss @@ -16,9 +16,7 @@ row { -GtkWidget-focus-padding: 1; -GtkWidget-focus-line-width: 0; - border-width: 1px 0; - border-style: solid; - border-color: border_normal($selected_bg_color); + border: none; background-color: $selected_bg_color; background-image: none; color: $selected_fg_color; @@ -79,9 +77,7 @@ GtkIconView { &.view.cell { &:selected, &:selected:focus { - border-width: 1px; - border-style: solid; - border-color: border_normal($selected_bg_color); + border: none; border-radius: 2px; background-color: $selected_bg_color; background-image: none;