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

Delta Between Two Patch Sets: static/scss/components/_select.scss

Issue 29488555: Issue 5406 - Create Site Footer Component for Help Center (Closed)
Left Patch Set: Rebased and updated Created Sept. 4, 2017, 8:27 p.m.
Right Patch Set: Remove langnames commit, use website-default breakpoint variables Created Sept. 18, 2017, 3:09 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
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
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 // Custom Select Field
18 18
19 .custom-select 19 .custom-select
20 { 20 {
21 position: relative; 21 position: relative;
22 } 22 }
23 23
24 .custom-select-selected 24 .custom-select-selected
juliandoucette 2017/09/06 17:48:21 NIT: Do help-center buttons share some of these st
ire 2017/09/08 09:53:35 That is probably the case. If I find they do I wil
juliandoucette 2017/09/08 17:02:52 Acknowledged.
25 { 25 {
26 display: inline-block; 26 display: none;
27 padding: 0.2em 0.7em; 27 padding: 0.2em 0.7em;
28 border: 2px solid $gray-medium; 28 border: 2px solid $gray-medium;
29 border-radius: 4px; 29 border-radius: 4px;
30 color: $white; 30 color: $white;
31 background: transparent; 31 background: transparent;
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 .no-js .custom-select-selected 37 .js .custom-select-selected
38 { 38 {
39 display: none; 39 display: inline-block;
40 } 40 }
41 41
42 .custom-select-options 42 .custom-select-options
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;
(...skipping 14 matching lines...) Expand all
64 display: none; 64 display: none;
65 } 65 }
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 74 .no-js .custom-select-options
75 { 75 {
76 .custom-select-options 76 position: relative;
77 { 77 display: inline-block;
78 display: inline-block; 78 top: 0px;
79 top: 0px; 79 padding: 0px;
80 padding: 0px; 80 border: 0px;
81 border: 0px; 81 color: inherit;
82 color: inherit; 82 opacity: 1;
83 opacity: 1; 83 background: none;
84 background: none;
85 }
86 84
87 .custom-select-options li 85 li
88 { 86 {
89 display: inline; 87 display: inline;
90 } 88 }
91 89
92 .custom-select-options li:after 90 li:after
93 { 91 {
94 content: ","; 92 content: ",";
95 } 93 }
96 94
97 .custom-select-options li:last-child:after 95 li:last-child:after
98 { 96 {
99 content: none; 97 content: none;
100 } 98 }
101 99
102 .custom-select-options a 100 a
103 { 101 {
104 color: inherit; 102 color: inherit;
105 } 103 }
106 } 104 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld