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

Delta Between Two Patch Sets: static/scss/components/_browser-select.scss

Issue 29559620: Issue 5692 - Create Browser Selector with Browser Detection Component for help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Left Patch Set: Rebased Created Oct. 11, 2017, 5:20 p.m.
Right Patch Set: Re-add browser-select include, add scripts block Created Nov. 2, 2017, 2:29 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 #browser-select-label 17 #browser-select-label
18 { 18 {
19 margin-right: 1em;
19 text-transform: uppercase; 20 text-transform: uppercase;
20 margin-right: $md;
juliandoucette 2017/10/13 13:39:56 NIT/Suggest: 1em?
ire 2017/10/17 15:03:34 Done.
21 } 21 }
22 22
23 [dir="rtl"] #browser-select-label 23 [dir="rtl"] #browser-select-label
24 { 24 {
25 margin-right: auto; 25 margin-right: auto;
juliandoucette 2017/10/13 13:39:56 SuperNIT: Shorthand margin would be shorter.
ire 2017/10/17 15:03:34 (Same answer I gave in the other review about bein
juliandoucette 2017/10/18 15:04:11 Acknowledged.
26 margin-left: $md; 26 margin-left: 1em;
27 } 27 }
28 28
29 #browser-select 29 #browser-select
juliandoucette 2017/10/13 13:39:56 NIT: If you use the floating box model then you wo
ire 2017/10/17 15:03:34 Sorry, extra space where? When this moves onto its
juliandoucette 2017/10/18 15:04:11 No idea :/ . Doesn't seem to be an issue to me. So
ire 2017/10/20 13:40:48 No problem :)
30 { 30 {
31 display: inline-block;
31 width: 100%; 32 width: 100%;
32 max-width: 300px; 33 max-width: 300px;
33 display: inline-block;
34 } 34 }
35 35
36 #browser-select li 36 #browser-select li
37 { 37 {
38 cursor: pointer; 38 cursor: pointer;
39 } 39 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld