summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-02-04 13:21:23 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-02-04 13:22:39 +0100
commitae60dbd45b1322fddaaa29e3438fa1ff496f9a9b (patch)
tree2383fc1383c90d6e82371d889db3d7961d8a6d89
parent77630000d7cf2818a3edd3acb4766c4b1a331779 (diff)
downloadnautilus-ae60dbd45b1322fddaaa29e3438fa1ff496f9a9b.tar.gz
search: fix tagged entries style
To use libgd tagged entries you must use this css which doesn't come with the submolude.
-rw-r--r--src/resources/css/Adwaita.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index 815ca5c8b..5ddae5c56 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -115,3 +115,41 @@
.nautilus-list-view .view {
border-bottom: 1px solid @theme_bg_color;
}
+
+/* Libgd tag entries in the search. Sadly it requires this copy pasted css style.
+ * https://git.gnome.org/browse/libgd/tree/libgd/gd-tagged-entry-default.css
+ */
+@define-color entry_tag_bg #3465a4;
+@define-color entry_tag_fg #ffffff;
+
+.documents-entry-tag {
+ background-image: none;
+ background-color: @entry_tag_bg;
+ color: @entry_tag_fg;
+
+ border-radius: 4px;
+ border-width: 0;
+
+ margin: 2px;
+ padding: 4px;
+}
+
+.documents-entry-tag:hover {
+ background-color: shade(@entry_tag_bg, 1.10);
+ color: @entry_tag_fg;
+}
+
+.documents-entry-tag.button,
+.documents-entry-tag.button:hover,
+.documents-entry-tag.button:active,
+.documents-entry-tag.button:active:hover {
+ background-color: transparent;
+ background-image: none;
+ box-shadow: none;
+ border-image: none;
+ border-width: 0;
+}
+
+.documents-entry-tag.button:hover {
+ color: shade(@entry_tag_bg, 2.10);
+}