aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacco Geul <[email protected]>2016-04-08 17:25:15 +0200
committerJacco Geul <[email protected]>2016-04-08 17:25:15 +0200
commit7ab6cd5ba6a033f3c777aeae1228ddcd97608d13 (patch)
treed3b8437a690bfc5c894d9009af0189a5a2675ba7
parent7732fd785db6864107e4add639fd094f85e66a24 (diff)
Fix highlighting text
-rw-r--r--Breeze-dark-gtk/gtk-3.0/gtk.css8
-rwxr-xr-xBreeze-gtk/gtk-3.0/_common.scss20
-rw-r--r--Breeze-gtk/gtk-3.0/gtk-dark.css8
-rwxr-xr-xBreeze-gtk/gtk-3.0/gtk.css31
4 files changed, 28 insertions, 39 deletions
diff --git a/Breeze-dark-gtk/gtk-3.0/gtk.css b/Breeze-dark-gtk/gtk-3.0/gtk.css
index 6470d0e..955f3c8 100644
--- a/Breeze-dark-gtk/gtk-3.0/gtk.css
+++ b/Breeze-dark-gtk/gtk-3.0/gtk.css
@@ -99,11 +99,7 @@ assistant .sidebar .label.highlight {
textview {
background-color: #2a2e32; }
-
-textview text selection, textview text selection:focus {
- color: #EEEFF0;
- background-color: #3DADE8;
-}
+ textview text selection { }
.grid-child {
padding: 3px;
@@ -4109,7 +4105,7 @@ headerbar.selection-mode .titlebutton.button,
.titlebar.selection-mode .titlebutton.button:backdrop {
-gtk-icon-shadow: none; }
-.view:selected, calendar:selected, .label:selected, .label:selected:focus, .label:selected:hover, .grid-child:selected, entry:selected, entry:selected:focus, menuitem.button.flat:selected, headerbar menuitem.titlebutton.button:selected,
+textview text selection, .view selection, .view:selected, calendar:selected, .label:selected, .label:selected:focus, .label:selected:hover, .grid-child:selected, entry:selected, entry:selected:focus, menuitem.button.flat:selected, headerbar menuitem.titlebutton.button:selected,
.titlebar menuitem.titlebutton.button:selected, list-row:selected, .sidebar:selected, placessidebar.sidebar .view:selected, placessidebar.sidebar calendar:selected {
background-color: #3DADE8;
color: #EEEFF0; }
diff --git a/Breeze-gtk/gtk-3.0/_common.scss b/Breeze-gtk/gtk-3.0/_common.scss
index 48e2e2c..cda6bfe 100755
--- a/Breeze-gtk/gtk-3.0/_common.scss
+++ b/Breeze-gtk/gtk-3.0/_common.scss
@@ -112,9 +112,12 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
border-radius: 3px;
@extend %selected_items;
}
+ selection {
+ @extend %selected_items;
+ }
}
-.rubberband {
+view.rubberband, rubberband, .view.rubberband, .rubberband, .rubberband {
border: 1px solid $selected_bg_color;
background-color: transparentize($selected_bg_color,0.8);
}
@@ -164,12 +167,10 @@ assistant {
textview { // This will get overridden by .view, needed by gedit line numbers
background-color: mix($bg_color, $base_color, 50%);
// &:backdrop { background-color: mix($backdrop_bg_color,
-// $backdrop_base_color, 50%); }
-}
-
-textview text selection, textview text selection:focus {
- color: #fcfcfc;
- background-color: #3daee9;
+ // $backdrop_base_color, 50%); }
+ text selection, textview text selection:focus {
+ @extend %selected_items;
+ }
}
.grid-child {
@@ -248,6 +249,11 @@ entry {
@extend %selected_items;
}
+ selection, selection:focus {
+ color: #fcfcfc;
+ background-color: #3daee9;
+ }
+
progressbar {
margin: 1px;
border-radius: 0;
diff --git a/Breeze-gtk/gtk-3.0/gtk-dark.css b/Breeze-gtk/gtk-3.0/gtk-dark.css
index 852aa60..db13a6f 100644
--- a/Breeze-gtk/gtk-3.0/gtk-dark.css
+++ b/Breeze-gtk/gtk-3.0/gtk-dark.css
@@ -99,11 +99,7 @@ assistant .sidebar .label.highlight {
textview {
background-color: #2a2e32; }
-
-textview text selection, textview text selection:focus {
- color: #EEEFF0;
- background-color: #3DADE8;
-}
+ textview text selection { }
.grid-child {
padding: 3px;
@@ -4109,7 +4105,7 @@ headerbar.selection-mode .titlebutton.button,
.titlebar.selection-mode .titlebutton.button:backdrop {
-gtk-icon-shadow: none; }
-.view:selected, calendar:selected, .label:selected, .label:selected:focus, .label:selected:hover, .grid-child:selected, entry:selected, entry:selected:focus, menuitem.button.flat:selected, headerbar menuitem.titlebutton.button:selected,
+textview text selection, .view selection, .view:selected, calendar:selected, .label:selected, .label:selected:focus, .label:selected:hover, .grid-child:selected, entry:selected, entry:selected:focus, menuitem.button.flat:selected, headerbar menuitem.titlebutton.button:selected,
.titlebar menuitem.titlebutton.button:selected, list-row:selected, .sidebar:selected, placessidebar.sidebar .view:selected, placessidebar.sidebar calendar:selected {
background-color: #3DADE8;
color: #EEEFF0; }
diff --git a/Breeze-gtk/gtk-3.0/gtk.css b/Breeze-gtk/gtk-3.0/gtk.css
index af258f4..527a598 100755
--- a/Breeze-gtk/gtk-3.0/gtk.css
+++ b/Breeze-gtk/gtk-3.0/gtk.css
@@ -65,7 +65,11 @@
background-color: #fcfcfc; }
.view:selected, calendar:selected {
border-radius: 3px; }
+ .view selection { }
+view.rubberband,
+rubberband,
+.view.rubberband,
.rubberband {
border: 1px solid #3daee9;
background-color: rgba(61, 174, 233, 0.2); }
@@ -99,11 +103,7 @@ assistant .sidebar .label.highlight {
textview {
background-color: #f6f6f7; }
-
-textview text selection, textview text selection:focus {
- color: #fcfcfc;
- background-color: #3daee9;
-}
+ textview text selection { }
.grid-child {
padding: 3px;
@@ -173,20 +173,11 @@ entry {
border-color: #bdc3c7;
background-color: #e6e7e8;
box-shadow: none; }
- entry:backdrop {
- background-color: #fcfcfc;
- background-image: none;
- color: #31363b;
- border-color: #bdc3c7;
- background-color: #fcfcfc;
- box-shadow: none; }
- entry:backdrop:disabled {
- background-color: #fcfcfc;
- background-image: none;
- color: #909396;
- border-color: #bdc3c7;
- background-color: #e6e7e8;
- box-shadow: none; }
+ entry selection,
+ entry selection:focus {
+ color: #fcfcfc;
+ background-color: #3daee9;
+ }
entry progressbar {
margin: 1px;
border-radius: 0;
@@ -4280,7 +4271,7 @@ headerbar.selection-mode .titlebutton.button,
.titlebar.selection-mode .titlebutton.button:backdrop {
-gtk-icon-shadow: none; }
-.view:selected, calendar:selected, .label:selected, .label:selected:focus, .label:selected:hover, .grid-child:selected, entry:selected, entry:selected:focus, menuitem.button.flat:selected, headerbar menuitem.titlebutton.button:selected,
+textview text selection, .view selection, .view:selected, calendar:selected, .label:selected, .label:selected:focus, .label:selected:hover, .grid-child:selected, entry:selected, entry:selected:focus, menuitem.button.flat:selected, headerbar menuitem.titlebutton.button:selected,
.titlebar menuitem.titlebutton.button:selected, list-row:selected, .sidebar:selected, placessidebar.sidebar .view:selected, placessidebar.sidebar calendar:selected {
background-color: #3daee9;
color: #fcfcfc;