URL:
<http://gna.org/bugs/?24620>
Summary: missing :hover in lists
Project: Freeciv
Submitted by: aldot
Submitted on: Thu 28 Apr 2016 16:17:50 UTC
Category: client-gtk-3+
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
In huge lists like the "Game"->"Options"->"Local Client" it is hard to see if
you're on the same line when moving the pointer to the checkboxes on the
right.
It would be nice to have a :hover css on the container of both the label and
the checkbox that makes it easier to spot if one lost the correct line.
I couldn't get :hover to work but the following illustrates the element i
wanted to have emphasis on:
---8<---
index 7c6970c..9aca1be 100644
--- a/data/themes/gui-gtk-3.0/Freeciv/gtk-3.0/gtk.css
+++ b/data/themes/gui-gtk-3.0/Freeciv/gtk-3.0/gtk.css
@@ -69,6 +69,10 @@
background-image: -gtk-gradient (linear, left top, right top, from
(#e8ddaa), to (#d1c4a7));
}
+.notebook .frame .vertical > :nth-child(odd) {
+ background-image: -gtk-gradient (linear, left top, right top, from (shade
(#e8ddaa, 0.95)), to ( shade (#d1c4a7, 0.95)));
+}
+
.toolbar {
background-image: url("Toolbar/toolbar.png");
background-size: cover;
---8<---
ideally i'd like to have
+.notebook .frame .vertical > :hover {
and make the background-image or background-color a bit different than the
rest of the list, e.g. apply some shade to the gradient used for the
not-hovered items in the dialog.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?24620>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev