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

Delta Between Two Patch Sets: 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
Left Patch Set: Created Nov. 5, 2017, 6:21 p.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « static/img/svg/yandexbrowser.svg ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 22 matching lines...) Expand all
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 40
41 #browser-select .pre-icon 41 #browser-select .pre-icon
42 { 42 {
43 opacity: 0.5;
44
43 /* Firefox 10+, Firefox on Android */ 45 /* 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"); 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");
45 47
46 /* IE 6-9 */ 48 /* IE 6-9 */
47 filter: gray; 49 filter: gray;
48 50
49 /* Modern browsers */ 51 /* Modern browsers */
50 filter: grayscale(100%); 52 filter: grayscale(100%);
51 } 53 }
52 54
53 #browser-select .custom-select-selected .pre-icon, 55 #browser-select .custom-select-selected .pre-icon,
54 #browser-select .custom-select-option:hover .pre-icon, 56 #browser-select .custom-select-option:hover .pre-icon,
55 #browser-select .custom-select-option:focus .pre-icon 57 #browser-select .custom-select-option:focus .pre-icon
56 { 58 {
59 opacity: 1;
57 filter: none; 60 filter: none;
58 } 61 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld