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

Side by Side 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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« static/js/main.js ('K') | « static/scss/base/_variables.scss ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file is part of help.eyeo.com. 1 // This file is part of help.eyeo.com.
2 // Copyright (C) 2017 Eyeo GmbH 2 // Copyright (C) 2017 Eyeo GmbH
3 // 3 //
4 // help.eyeo.com is free software: you can redistribute it and/or modify 4 // help.eyeo.com is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by 5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or 6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version. 7 // (at your option) any later version.
8 // 8 //
9 // help.eyeo.com is distributed in the hope that it will be useful, 9 // help.eyeo.com is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 26 matching lines...) Expand all
37 .article-browser-selector 37 .article-browser-selector
38 { 38 {
39 @extend .clearfix; 39 @extend .clearfix;
40 display: none; 40 display: none;
41 } 41 }
42 42
43 .js .article-browser-selector 43 .js .article-browser-selector
44 { 44 {
45 display: block; 45 display: block;
46 } 46 }
47
48 /* Hide/Show content for browser
49 ******************************************************************************/
50
51 .js [class^="platform-"]
52 {
53 display: none;
54 }
55
56 @each $browser in $supported-browsers {
57 .js .ua-#{$browser} .platform-#{$browser}
58 {
59 display: block;
60 }
61 }
OLDNEW
« 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