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

Side by Side Diff: static/scss/components/_select.scss

Issue 29596555: Noissue - Format CSS comments and implement new wd classes (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Nov. 3, 2017, 8:46 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
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
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details. 12 // GNU General Public License for more details.
13 // 13 //
14 // You should have received a copy of the GNU General Public License 14 // You should have received a copy of the GNU General Public License
15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. 15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
16 16
17 // Custom Select Field 17 /*******************************************************************************
18 * Select
19 ******************************************************************************/
20
21 /* Custom Select
22 ******************************************************************************/
18 23
19 .custom-select 24 .custom-select
20 { 25 {
21 position: relative; 26 position: relative;
22 } 27 }
23 28
24 .custom-select-selected 29 .custom-select-selected
25 { 30 {
26 display: none; 31 display: none;
27 padding: 0.2em 0.7em; 32 padding: 0.2em 0.7em;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 a 105 a
101 { 106 {
102 color: inherit; 107 color: inherit;
103 } 108 }
104 } 109 }
105 110
106 .custom-select-option 111 .custom-select-option
107 { 112 {
108 padding: 0.7em; 113 padding: 0.7em;
109 } 114 }
110 115
111 // Custom Dropdown (extends the custom select element) 116 /* Custom Dropdown (extends the custom select element)
117 ******************************************************************************/
112 118
113 .custom-select-dropdown .custom-select-selected, 119 .custom-select-dropdown .custom-select-selected,
114 .custom-select-dropdown .custom-select-options 120 .custom-select-dropdown .custom-select-options
115 { 121 {
116 width: 100%; 122 width: 100%;
117 } 123 }
118 124
119 .custom-select-dropdown .custom-select-selected 125 .custom-select-dropdown .custom-select-selected
120 { 126 {
121 position: relative; 127 position: relative;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 left: 0; 162 left: 0;
157 border-right: 2px solid $gray-medium; 163 border-right: 2px solid $gray-medium;
158 border-left: 0; 164 border-left: 0;
159 } 165 }
160 166
161 .custom-select-dropdown .custom-select-options 167 .custom-select-dropdown .custom-select-options
162 { 168 {
163 top: 100%; 169 top: 100%;
164 bottom: auto; 170 bottom: auto;
165 } 171 }
OLDNEW

Powered by Google App Engine
This is Rietveld