Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/scss/components/_article.scss

Issue 29596595: Issue 5912 - Hide/Show Content based on selected browser on help.eyeo.com article pages (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Nov. 3, 2017, 10:23 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« static/js/main.js ('K') | « static/scss/base/_variables.scss ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: static/scss/components/_article.scss
===================================================================
--- a/static/scss/components/_article.scss
+++ b/static/scss/components/_article.scss
@@ -39,8 +39,23 @@
@extend .clearfix;
display: none;
}
.js .article-browser-selector
{
display: block;
}
+
+/* Hide/Show content for browser
+ ******************************************************************************/
+
+.js [class^="platform-"]
+{
+ display: none;
+}
+
+@each $browser in $supported-browsers {
+ .js .ua-#{$browser} .platform-#{$browser}
+ {
+ display: block;
+ }
+}
« static/js/main.js ('K') | « static/scss/base/_variables.scss ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld