summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDmitry Potapov <[email protected]>2016-08-26 12:36:01 +0300
committerDmitry Potapov <[email protected]>2016-08-26 12:36:47 +0300
commit14fa9ce6b3a169330c7a11cb3ca43631b051b790 (patch)
tree6d565c5d0c75e4659369f6c6af7a467e35fbbacb /themes
parente8a94ec7e21b797398ed3eba826bc294b314b00f (diff)
Fix themes/night.css for iOS browsers
Somehow the image filters order matters for iOS browsers (Chrome, Safari), so grayscale filter is not applied if -webkit-filter is not the last filter in list.
Diffstat (limited to 'themes')
-rw-r--r--themes/night.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/night.css b/themes/night.css
index 78b73f09a..23c2a6de1 100644
--- a/themes/night.css
+++ b/themes/night.css
@@ -135,9 +135,9 @@ body#ttrssMain .cdm img.tinyFeedIcon,
body#ttrssMain .cdm .cdmFooter img,
body#ttrssMain #feedTree img,
body#ttrssMain .postContent img {
+ filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); // firefox lol
filter: grayscale(1);
-webkit-filter: grayscale(1);
- filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); // firefox lol
}
body#ttrssMain .hl img.hlScorePic {