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

Side by Side Diff: static/scss/components/_browser-select.scss

Issue 29598558: Issue 5980 - Use correct browser logos for browser select on help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Odd opacity styles Created Nov. 5, 2017, 6:25 p.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/img/svg/ios.svg ('K') | « static/img/svg/yandexbrowser.svg ('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 19 matching lines...) Expand all
30 { 30 {
31 display: inline-block; 31 display: inline-block;
32 width: 100%; 32 width: 100%;
33 max-width: 300px; 33 max-width: 300px;
34 } 34 }
35 35
36 #browser-select li 36 #browser-select li
37 { 37 {
38 cursor: pointer; 38 cursor: pointer;
39 } 39 }
40
41 #browser-select .pre-icon
42 {
43 opacity: 0.5;
44
45 /* Firefox 10+, Firefox on Android */
46 filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' ><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
47
48 /* IE 6-9 */
49 filter: gray;
50
51 /* Modern browsers */
52 filter: grayscale(100%);
53 }
54
55 #browser-select .custom-select-selected .pre-icon,
56 #browser-select .custom-select-option:hover .pre-icon,
57 #browser-select .custom-select-option:focus .pre-icon
58 {
59 opacity: 1;
60 filter: none;
61 }
OLDNEW
« static/img/svg/ios.svg ('K') | « static/img/svg/yandexbrowser.svg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld