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 19 matching lines...) Expand all Loading... |
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 } |
OLD | NEW |