[gnome-maps] Fix css to show which base map is selected
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] Fix css to show which base map is selected
- Date: Sun, 10 Jan 2016 10:03:43 +0000 (UTC)
commit 2b653dff2b0c5ca1ef059b0ac28ed485419cb663
Author: Hashem Nasarat <hashem riseup net>
Date: Thu Dec 31 18:03:28 2015 -0500
Fix css to show which base map is selected
A radio button is only :active when it's clicked and held. :checked is
for when it's selected.
Also, since there is a 2px border when :checked, we make the unchecked
border 1px.
https://bugzilla.gnome.org/show_bug.cgi?id=759544
data/gnome-maps.css | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/gnome-maps.css b/data/gnome-maps.css
index 658a205..307765b 100644
--- a/data/gnome-maps.css
+++ b/data/gnome-maps.css
@@ -9,14 +9,14 @@
.layer-radio-button {
background-image: none;
padding: 0;
- border: 2px solid @insensitive_borders;
+ border: 1px solid @insensitive_borders;
-GtkWidget-focus-line-width: 1;
-GtkWidget-focus-padding: 1;
-GtkButton-image-spacing: 0;
-GtkButton-interior-focus: true;
}
-.layer-radio-button:active {
+.layer-radio-button:checked {
border: 2px solid @suggested_action_button_a;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]