Left: | ||
Right: |
LEFT | RIGHT |
---|---|
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 21 matching lines...) Expand all Loading... | |
32 font-family: inherit; | 32 font-family: inherit; |
33 font-size: inherit; | 33 font-size: inherit; |
34 cursor: pointer; | 34 cursor: pointer; |
35 } | 35 } |
36 | 36 |
37 .js .custom-select-selected | 37 .js .custom-select-selected |
38 { | 38 { |
39 display: inline-block; | 39 display: inline-block; |
40 } | 40 } |
41 | 41 |
42 .custom-select-options | 42 .custom-select-options |
juliandoucette
2017/09/08 17:02:54
This covers content when JavaScript is disabled. P
ire
2017/09/12 08:57:55
Done.
| |
43 { | 43 { |
44 position: absolute; | 44 position: absolute; |
45 bottom: 100%; | 45 bottom: 100%; |
46 left: 0px; | 46 left: 0px; |
47 margin-bottom: 0.5em; | 47 margin-bottom: 0.5em; |
48 padding: 0.7em; | 48 padding: 0.7em; |
49 border: 1px solid $gray-medium; | 49 border: 1px solid $gray-medium; |
50 border-radius: 4px; | 50 border-radius: 4px; |
51 box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3); | 51 box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3); |
52 color: $black; | 52 color: $black; |
(...skipping 13 matching lines...) Expand all Loading... | |
66 | 66 |
67 [dir="rtl"] .custom-select-options | 67 [dir="rtl"] .custom-select-options |
68 { | 68 { |
69 right: 0px; | 69 right: 0px; |
70 left: auto; | 70 left: auto; |
71 padding: 0.7em; | 71 padding: 0.7em; |
72 } | 72 } |
73 | 73 |
74 .no-js .custom-select-options | 74 .no-js .custom-select-options |
75 { | 75 { |
76 position: relative; | |
76 display: inline-block; | 77 display: inline-block; |
77 top: 0px; | 78 top: 0px; |
78 padding: 0px; | 79 padding: 0px; |
79 border: 0px; | 80 border: 0px; |
80 color: inherit; | 81 color: inherit; |
81 opacity: 1; | 82 opacity: 1; |
82 background: none; | 83 background: none; |
83 | 84 |
84 li | 85 li |
85 { | 86 { |
86 display: inline; | 87 display: inline; |
87 } | 88 } |
88 | 89 |
89 li:after | 90 li:after |
90 { | 91 { |
91 content: ","; | 92 content: ","; |
92 } | 93 } |
93 | 94 |
94 li:last-child:after | 95 li:last-child:after |
95 { | 96 { |
96 content: none; | 97 content: none; |
97 } | 98 } |
98 | 99 |
99 a | 100 a |
100 { | 101 { |
101 color: inherit; | 102 color: inherit; |
102 } | 103 } |
103 } | 104 } |
LEFT | RIGHT |