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

Side by Side Diff: static/src/scss/components/_search-form.scss

Issue 29676691: Issue 6237 - Implement wd navbar component in help.eyeo.com (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Created Jan. 22, 2018, 10:39 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 /******************************************************************************* 17 /*******************************************************************************
18 * Search Form 18 * Search Form
19 ******************************************************************************/ 19 ******************************************************************************/
20 20
21 /* Product Website Link
22 ******************************************************************************/
23
24 #product-website-link
25 {
26 float: right;
27 }
28
29 html[dir="rtl"] #product-website-link
30 {
31 float: left;
32 }
33
34 #product-website-link img
35 {
36 height: $small-space;
37 margin-left: $x-small-space;
38 }
39
40 html[dir="rtl"] #product-website-link img
41 {
42 margin-right: $x-small-space;
43 margin-left: 0;
44 }
45
46 .navbar-collapse.open #product-website-link,
47 .no-js #product-website-link
48 {
49 float: none;
50
51 @media (min-width: $phablet-breakpoint)
52 {
53 float: right;
54 margin-top: 20px;
55 }
56
57 @media (min-width: $tablet-breakpoint)
58 {
59 margin-top: 0;
60 }
61 }
62
63 /* Search Form
64 ******************************************************************************/
65
66 #search-form 21 #search-form
67 { 22 {
68 display: inline-block; 23 display: inline-block;
69 position: relative; 24 position: relative;
70 overflow: hidden; 25 overflow: hidden;
71 width: 100%; 26 width: 100%;
72 height: $search-form-height; 27 height: $search-form-height;
73 border-radius: 4px; 28 border-radius: 4px;
74 color: $gray; 29 color: $gray;
75 background: #fff; 30 background: #fff;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 html[dir="rtl"] #search-form button 80 html[dir="rtl"] #search-form button
126 { 81 {
127 right: auto; 82 right: auto;
128 left: 0; 83 left: 0;
129 } 84 }
130 85
131 #search-form button img 86 #search-form button img
132 { 87 {
133 height: $small-space; 88 height: $small-space;
134 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld