[gtk+] Adwaita: Update text handle styling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Update text handle styling
- Date: Tue, 10 Nov 2015 04:50:11 +0000 (UTC)
commit 3daff48acaa5e5125f1983fb153fa3f2718332c2
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 9 23:47:08 2015 -0500
Adwaita: Update text handle styling
Adapt to the changes in the previous commit.
gtk/theme/Adwaita/_common.scss | 3 +-
gtk/theme/Adwaita/gtk-contained-dark.css | 39 +++++++----------------------
gtk/theme/Adwaita/gtk-contained.css | 39 +++++++----------------------
3 files changed, 21 insertions(+), 60 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 8802066..7f1fb39 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3332,8 +3332,7 @@ headerbar.selection-mode button.titlebutton,
*********************/
//touch selection handlebars for the Popover.osd above
-entry.cursor-handle,
-.cursor-handle {
+cursor-handle {
background-color: transparent;
background-image: none;
box-shadow: none;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 79a200b..6dbd0cc 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -4473,53 +4473,34 @@ calendar:selected, label:selected, label:selected:focus, label:selected:hover, .
/**********************
* Touch Copy & Paste *
*********************/
-entry.cursor-handle, spinbutton.cursor-handle,
-.cursor-handle {
+cursor-handle {
background-color: transparent;
background-image: none;
box-shadow: none;
border-style: none; }
- entry.cursor-handle.top:dir(ltr), spinbutton.cursor-handle.top:dir(ltr),
entry.cursor-handle.bottom:dir(rtl), spinbutton.cursor-handle.bottom:dir(rtl),
- .cursor-handle.top:dir(ltr),
- .cursor-handle.bottom:dir(rtl) {
+ cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-start-dark.png"),
url("assets/text-select-start-dark 2 png"));
padding-left: 10px; }
- entry.cursor-handle.bottom:dir(ltr), spinbutton.cursor-handle.bottom:dir(ltr),
entry.cursor-handle.top:dir(rtl), spinbutton.cursor-handle.top:dir(rtl),
- .cursor-handle.bottom:dir(ltr),
- .cursor-handle.top:dir(rtl) {
+ cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-end-dark.png"), url("assets/text-select-end-dark 2
png"));
padding-right: 10px; }
- entry.cursor-handle.insertion-cursor:dir(ltr), spinbutton.cursor-handle.insertion-cursor:dir(ltr),
entry.cursor-handle.insertion-cursor:dir(rtl), spinbutton.cursor-handle.insertion-cursor:dir(rtl),
- .cursor-handle.insertion-cursor:dir(ltr),
- .cursor-handle.insertion-cursor:dir(rtl) {
+ cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-dark.png"),
url("assets/slider-horz-scale-has-marks-above-dark 2 png")); }
- entry.cursor-handle.top:hover:dir(ltr), spinbutton.cursor-handle.top:hover:dir(ltr),
entry.cursor-handle.bottom:hover:dir(rtl), spinbutton.cursor-handle.bottom:hover:dir(rtl),
- .cursor-handle.top:hover:dir(ltr),
- .cursor-handle.bottom:hover:dir(rtl) {
+ cursor-handle.top:hover:dir(ltr), cursor-handle.bottom:hover:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-start-hover-dark.png"),
url("assets/text-select-start-hover-dark 2 png"));
padding-left: 10px; }
- entry.cursor-handle.bottom:hover:dir(ltr), spinbutton.cursor-handle.bottom:hover:dir(ltr),
entry.cursor-handle.top:hover:dir(rtl), spinbutton.cursor-handle.top:hover:dir(rtl),
- .cursor-handle.bottom:hover:dir(ltr),
- .cursor-handle.top:hover:dir(rtl) {
+ cursor-handle.bottom:hover:dir(ltr), cursor-handle.top:hover:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-end-hover-dark.png"),
url("assets/text-select-end-hover-dark 2 png"));
padding-right: 10px; }
- entry.cursor-handle.insertion-cursor:hover:dir(ltr),
spinbutton.cursor-handle.insertion-cursor:hover:dir(ltr),
entry.cursor-handle.insertion-cursor:hover:dir(rtl), spinbutton.cursor-handle.insertion-cursor:hover:dir(rtl),
- .cursor-handle.insertion-cursor:hover:dir(ltr),
- .cursor-handle.insertion-cursor:hover:dir(rtl) {
+ cursor-handle.insertion-cursor:hover:dir(ltr), cursor-handle.insertion-cursor:hover:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-hover-dark.png"),
url("assets/slider-horz-scale-has-marks-above-hover-dark 2 png")); }
- entry.cursor-handle.top:active:dir(ltr), spinbutton.cursor-handle.top:active:dir(ltr),
entry.cursor-handle.bottom:active:dir(rtl), spinbutton.cursor-handle.bottom:active:dir(rtl),
- .cursor-handle.top:active:dir(ltr),
- .cursor-handle.bottom:active:dir(rtl) {
+ cursor-handle.top:active:dir(ltr), cursor-handle.bottom:active:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-start-active-dark.png"),
url("assets/text-select-start-active-dark 2 png"));
padding-left: 10px; }
- entry.cursor-handle.bottom:active:dir(ltr), spinbutton.cursor-handle.bottom:active:dir(ltr),
entry.cursor-handle.top:active:dir(rtl), spinbutton.cursor-handle.top:active:dir(rtl),
- .cursor-handle.bottom:active:dir(ltr),
- .cursor-handle.top:active:dir(rtl) {
+ cursor-handle.bottom:active:dir(ltr), cursor-handle.top:active:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-end-active-dark.png"),
url("assets/text-select-end-active-dark 2 png"));
padding-right: 10px; }
- entry.cursor-handle.insertion-cursor:active:dir(ltr),
spinbutton.cursor-handle.insertion-cursor:active:dir(ltr),
entry.cursor-handle.insertion-cursor:active:dir(rtl),
spinbutton.cursor-handle.insertion-cursor:active:dir(rtl),
- .cursor-handle.insertion-cursor:active:dir(ltr),
- .cursor-handle.insertion-cursor:active:dir(rtl) {
+ cursor-handle.insertion-cursor:active:dir(ltr), cursor-handle.insertion-cursor:active:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active-dark.png"),
url("assets/slider-horz-scale-has-marks-above-active-dark 2 png")); }
/* Decouple the font of context menus from their entry/textview */
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index d971b59..42e459a 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -4646,53 +4646,34 @@ calendar:selected, label:selected, label:selected:focus, label:selected:hover, .
/**********************
* Touch Copy & Paste *
*********************/
-entry.cursor-handle, spinbutton.cursor-handle,
-.cursor-handle {
+cursor-handle {
background-color: transparent;
background-image: none;
box-shadow: none;
border-style: none; }
- entry.cursor-handle.top:dir(ltr), spinbutton.cursor-handle.top:dir(ltr),
entry.cursor-handle.bottom:dir(rtl), spinbutton.cursor-handle.bottom:dir(rtl),
- .cursor-handle.top:dir(ltr),
- .cursor-handle.bottom:dir(rtl) {
+ cursor-handle.top:dir(ltr), cursor-handle.bottom:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-start.png"), url("assets/text-select-start 2
png"));
padding-left: 10px; }
- entry.cursor-handle.bottom:dir(ltr), spinbutton.cursor-handle.bottom:dir(ltr),
entry.cursor-handle.top:dir(rtl), spinbutton.cursor-handle.top:dir(rtl),
- .cursor-handle.bottom:dir(ltr),
- .cursor-handle.top:dir(rtl) {
+ cursor-handle.bottom:dir(ltr), cursor-handle.top:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-end.png"), url("assets/text-select-end 2 png"));
padding-right: 10px; }
- entry.cursor-handle.insertion-cursor:dir(ltr), spinbutton.cursor-handle.insertion-cursor:dir(ltr),
entry.cursor-handle.insertion-cursor:dir(rtl), spinbutton.cursor-handle.insertion-cursor:dir(rtl),
- .cursor-handle.insertion-cursor:dir(ltr),
- .cursor-handle.insertion-cursor:dir(rtl) {
+ cursor-handle.insertion-cursor:dir(ltr), cursor-handle.insertion-cursor:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above.png"),
url("assets/slider-horz-scale-has-marks-above 2 png")); }
- entry.cursor-handle.top:hover:dir(ltr), spinbutton.cursor-handle.top:hover:dir(ltr),
entry.cursor-handle.bottom:hover:dir(rtl), spinbutton.cursor-handle.bottom:hover:dir(rtl),
- .cursor-handle.top:hover:dir(ltr),
- .cursor-handle.bottom:hover:dir(rtl) {
+ cursor-handle.top:hover:dir(ltr), cursor-handle.bottom:hover:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-start-hover.png"),
url("assets/text-select-start-hover 2 png"));
padding-left: 10px; }
- entry.cursor-handle.bottom:hover:dir(ltr), spinbutton.cursor-handle.bottom:hover:dir(ltr),
entry.cursor-handle.top:hover:dir(rtl), spinbutton.cursor-handle.top:hover:dir(rtl),
- .cursor-handle.bottom:hover:dir(ltr),
- .cursor-handle.top:hover:dir(rtl) {
+ cursor-handle.bottom:hover:dir(ltr), cursor-handle.top:hover:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-end-hover.png"), url("assets/text-select-end-hover
2 png"));
padding-right: 10px; }
- entry.cursor-handle.insertion-cursor:hover:dir(ltr),
spinbutton.cursor-handle.insertion-cursor:hover:dir(ltr),
entry.cursor-handle.insertion-cursor:hover:dir(rtl), spinbutton.cursor-handle.insertion-cursor:hover:dir(rtl),
- .cursor-handle.insertion-cursor:hover:dir(ltr),
- .cursor-handle.insertion-cursor:hover:dir(rtl) {
+ cursor-handle.insertion-cursor:hover:dir(ltr), cursor-handle.insertion-cursor:hover:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-hover.png"),
url("assets/slider-horz-scale-has-marks-above-hover 2 png")); }
- entry.cursor-handle.top:active:dir(ltr), spinbutton.cursor-handle.top:active:dir(ltr),
entry.cursor-handle.bottom:active:dir(rtl), spinbutton.cursor-handle.bottom:active:dir(rtl),
- .cursor-handle.top:active:dir(ltr),
- .cursor-handle.bottom:active:dir(rtl) {
+ cursor-handle.top:active:dir(ltr), cursor-handle.bottom:active:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-start-active.png"),
url("assets/text-select-start-active 2 png"));
padding-left: 10px; }
- entry.cursor-handle.bottom:active:dir(ltr), spinbutton.cursor-handle.bottom:active:dir(ltr),
entry.cursor-handle.top:active:dir(rtl), spinbutton.cursor-handle.top:active:dir(rtl),
- .cursor-handle.bottom:active:dir(ltr),
- .cursor-handle.top:active:dir(rtl) {
+ cursor-handle.bottom:active:dir(ltr), cursor-handle.top:active:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/text-select-end-active.png"),
url("assets/text-select-end-active 2 png"));
padding-right: 10px; }
- entry.cursor-handle.insertion-cursor:active:dir(ltr),
spinbutton.cursor-handle.insertion-cursor:active:dir(ltr),
entry.cursor-handle.insertion-cursor:active:dir(rtl),
spinbutton.cursor-handle.insertion-cursor:active:dir(rtl),
- .cursor-handle.insertion-cursor:active:dir(ltr),
- .cursor-handle.insertion-cursor:active:dir(rtl) {
+ cursor-handle.insertion-cursor:active:dir(ltr), cursor-handle.insertion-cursor:active:dir(rtl) {
-gtk-icon-source: -gtk-scaled(url("assets/slider-horz-scale-has-marks-above-active.png"),
url("assets/slider-horz-scale-has-marks-above-active 2 png")); }
/* Decouple the font of context menus from their entry/textview */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]