Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/themes/CleanFS/oldwebkitsiblingfix.css
diff options
context:
space:
mode:
Diffstat (limited to 'themes/CleanFS/oldwebkitsiblingfix.css')
-rw-r--r--themes/CleanFS/oldwebkitsiblingfix.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/CleanFS/oldwebkitsiblingfix.css b/themes/CleanFS/oldwebkitsiblingfix.css
new file mode 100644
index 0000000..ae7f541
--- /dev/null
+++ b/themes/CleanFS/oldwebkitsiblingfix.css
@@ -0,0 +1,9 @@
+/*
+used for pure html/css3 switches (with ~ sibling) for older webkit based browsers
+(android ~4.3, safari ~5.1, chrome ?, TODO: exact (webkit)versions for the useragent filter)
+see https://css-tricks.com/webkit-sibling-bug/
+Hack may increase cpuusage due the infinite animation loop, see also https://codepen.io/simeydotme/post/hot-pockets
+So load this file only if really necessary (check useragent) (or find a better pure css workaround)
+*/
+body { -webkit-animation: webkitfix infinite 1s; }
+@-webkit-keyframes webkitfix { from { display: block } to { display: block } }