Commit 5641fba7 authored by Matthias Clasen's avatar Matthias Clasen

Adwaita: Try to fix up selection touch handles

The text handles reuse the style context from their parent widget,
and just add .cursor-handle. That means that the more specific
entry selectors override the .cursor-handle theming unless we
select for .entry.cursor-handle. We also need to work harder to
keep the .entry styling from drawing decorations around the outlines.
parent a2ac9e1b
......@@ -1054,9 +1054,12 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
}
//touch selection handlebars for the Popover.osd above
.entry.cursor-handle,
.cursor-handle {
background-color: transparent;
background-image: none;
box-shadow: none;
border-style: none;
&.top { -gtk-icon-source: -gtk-icontheme('selection-start-symbolic'); }
&.bottom { -gtk-icon-source: -gtk-icontheme('selection-end-symbolic'); }
}
......
......@@ -1196,11 +1196,16 @@ GtkTreeView.view.progressbar {
border-color: rgba(102, 102, 102, 0.8);
color: #939695; }
.entry.cursor-handle,
.cursor-handle {
background-color: transparent;
background-image: none; }
background-image: none;
box-shadow: none;
border-style: none; }
.entry.cursor-handle.top,
.cursor-handle.top {
-gtk-icon-source: -gtk-icontheme("selection-start-symbolic"); }
.entry.cursor-handle.bottom,
.cursor-handle.bottom {
-gtk-icon-source: -gtk-icontheme("selection-end-symbolic"); }
......
......@@ -1189,11 +1189,16 @@ GtkTreeView.view.progressbar {
border-color: rgba(102, 102, 102, 0.8);
color: #8d9091; }
.entry.cursor-handle,
.cursor-handle {
background-color: transparent;
background-image: none; }
background-image: none;
box-shadow: none;
border-style: none; }
.entry.cursor-handle.top,
.cursor-handle.top {
-gtk-icon-source: -gtk-icontheme("selection-start-symbolic"); }
.entry.cursor-handle.bottom,
.cursor-handle.bottom {
-gtk-icon-source: -gtk-icontheme("selection-end-symbolic"); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment