[gtk+/touch-selection-improvements: 9/17] Adwaita: Make text handles a bit larger
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/touch-selection-improvements: 9/17] Adwaita: Make text handles a bit larger
- Date: Thu, 18 Dec 2014 13:55:01 +0000 (UTC)
commit 88c15def4683f2e515b8aaa5f3f528809247f85b
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Nov 20 14:19:39 2014 +0100
Adwaita: Make text handles a bit larger
This improves visibility, and interaction, as the invisible rect around is
dependent on the visible handle size
gtk/theme/Adwaita/_common.scss | 3 +++
gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++
gtk/theme/Adwaita/gtk-contained.css | 2 ++
3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index be8ba06..2587c87 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -35,6 +35,9 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
-GtkWidget-focus-padding: 2; // FIXME: do we still need these?
-GtkWidget-focus-line-width: 1; //
+ -GtkWidget-text-handle-width: 20;
+ -GtkWidget-text-handle-height: 20;
+
-GtkDialog-button-spacing: 4;
-GtkDialog-action-area-border: 0;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index bebcee6..dbed756 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -16,6 +16,8 @@
-GtkWidget-visited-link-color: #2a76c6;
-GtkWidget-focus-padding: 2;
-GtkWidget-focus-line-width: 1;
+ -GtkWidget-text-handle-width: 20;
+ -GtkWidget-text-handle-height: 20;
-GtkDialog-button-spacing: 4;
-GtkDialog-action-area-border: 0;
-GtkStatusbar-shadow-type: none;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 7078d62..f6e9e78 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -16,6 +16,8 @@
-GtkWidget-visited-link-color: #215d9c;
-GtkWidget-focus-padding: 2;
-GtkWidget-focus-line-width: 1;
+ -GtkWidget-text-handle-width: 20;
+ -GtkWidget-text-handle-height: 20;
-GtkDialog-button-spacing: 4;
-GtkDialog-action-area-border: 0;
-GtkStatusbar-shadow-type: none;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]