aboutsummaryrefslogtreecommitdiff
path: root/fastiv.c
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-20 12:19:09 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-20 12:35:28 +0100
commit3e9a388537642592736b004a8acc9d826885d922 (patch)
tree4f9c92543b9628db586e113cf2582c13c2e4fed6 /fastiv.c
parent6eb78f1a5ccb14ad203e88bd097dc9b1d0640870 (diff)
downloadfiv-3e9a388537642592736b004a8acc9d826885d922.tar.gz
fiv-3e9a388537642592736b004a8acc9d826885d922.tar.xz
fiv-3e9a388537642592736b004a8acc9d826885d922.zip
Load symbolic icons as a fallback
Now there are no missing items in the browsers.
Diffstat (limited to 'fastiv.c')
-rw-r--r--fastiv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/fastiv.c b/fastiv.c
index 1ea8b58..a8206ff 100644
--- a/fastiv.c
+++ b/fastiv.c
@@ -489,7 +489,7 @@ main(int argc, char *argv[])
fastiv-view, fastiv-browser { background: #222; } \
fastiv-browser { padding: 5px; } \
fastiv-browser.item { \
- border: 1px solid rgba(255, 255, 255, 0.5); \
+ border: 1px solid rgba(255, 255, 255, 0.375); \
margin: 10px; color: #000; \
background: #333; \
background-image: \
@@ -499,6 +499,10 @@ main(int argc, char *argv[])
linear-gradient(-45deg, transparent 74%, @fastiv-tile 74%); \
background-size: 40px 40px; \
background-position: 0 0, 0 20px, 20px -20px, -20px 0px; \
+ } \
+ fastiv-browser.item.symbolic { \
+ border-color: transparent; color: #222; \
+ background: #2c2c2c; background-image: none; \
}";
GtkCssProvider *provider = gtk_css_provider_new();