Remove border from selections

pull/224/head
Satyajit Sahoo 2014-11-14 22:08:08 +05:30
parent 608c5be890
commit e87a3b6f41
3 changed files with 14 additions and 16 deletions

View File

@ -35,10 +35,9 @@ GtkTreeMenu, GtkMenuToolButton, GtkComboBox {
} }
&, .menu & { &, .menu & {
margin: $spacing;
padding: $spacing; padding: $spacing;
border-width: 1px; border: none;
border-style: solid;
border-color: transparent;
border-radius: 0; border-radius: 0;
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
@ -46,7 +45,7 @@ GtkTreeMenu, GtkMenuToolButton, GtkComboBox {
-GtkMenuItem-arrow-scaling: 0.5; -GtkMenuItem-arrow-scaling: 0.5;
&:active, &:hover { &:active, &:hover {
border-color: shade($selected_bg_color, .9); border: none;
background-color: $selected_bg_color; background-color: $selected_bg_color;
background-image: none; background-image: none;
color: $selected_fg_color; color: $selected_fg_color;

View File

@ -82,25 +82,28 @@
.titlebutton { .titlebutton {
padding: $spacing; padding: $spacing;
border: none; border: none;
background: none; background-image: none;
color: mix($titlebar_fg_color, $titlebar_bg_color, 0.90); background-color: transparent;
color: mix($titlebar_fg_color, $titlebar_bg_color, .1);
box-shadow: none; box-shadow: none;
&:hover, &:hover:focus { &:hover, &:hover:focus {
background: none; background-image: none;
background-color: transparent;
color: $selected_bg_color; color: $selected_bg_color;
box-shadow: none; box-shadow: none;
} }
&:active, &:active:hover { &:active, &:active:hover {
background: none; background-image: none;
background-color: transparent;
color: darken($selected_bg_color, 10%); color: darken($selected_bg_color, 10%);
box-shadow: none; box-shadow: none;
} }
&:backdrop { &:backdrop {
background: none; background: none;
color: mix($titlebar_fg_color, $titlebar_bg_color, 0.60); color: mix($titlebar_fg_color, $titlebar_bg_color, .6);
icon-shadow: none; icon-shadow: none;
} }
} }

View File

@ -16,9 +16,7 @@ row {
-GtkWidget-focus-padding: 1; -GtkWidget-focus-padding: 1;
-GtkWidget-focus-line-width: 0; -GtkWidget-focus-line-width: 0;
border-width: 1px 0; border: none;
border-style: solid;
border-color: border_normal($selected_bg_color);
background-color: $selected_bg_color; background-color: $selected_bg_color;
background-image: none; background-image: none;
color: $selected_fg_color; color: $selected_fg_color;
@ -79,9 +77,7 @@ GtkIconView {
&.view.cell { &.view.cell {
&:selected, &:selected:focus { &:selected, &:selected:focus {
border-width: 1px; border: none;
border-style: solid;
border-color: border_normal($selected_bg_color);
border-radius: 2px; border-radius: 2px;
background-color: $selected_bg_color; background-color: $selected_bg_color;
background-image: none; background-image: none;