OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |