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: Created Nov. 5, 2017, 6:21 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
« globals/browsers.py ('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 /* Firefox 10+, Firefox on Android */
44 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");
45
46 /* IE 6-9 */
47 filter: gray;
48
49 /* Modern browsers */
50 filter: grayscale(100%);
51 }
52
53 #browser-select .custom-select-selected .pre-icon,
54 #browser-select .custom-select-option:hover .pre-icon,
55 #browser-select .custom-select-option:focus .pre-icon
56 {
57 filter: none;
58 }
OLDNEW
« globals/browsers.py ('K') | « static/img/svg/yandexbrowser.svg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld