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 |
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 #site-header | 17 #site-header |
18 { | 18 { |
19 min-height: $site-header-height; | 19 min-height: $site-header-height; |
20 font-size: $small-font; | 20 font-size: $small-font; |
21 line-height: $site-header-content-line-height; | 21 line-height: $site-header-content-line-height; |
22 } | 22 } |
23 | 23 |
24 .site-title | 24 #site-title |
juliandoucette
2017/08/23 14:39:08
I think these properties seem navbar specific and
ire
2017/08/25 08:27:12
Done.
| |
25 { | 25 { |
26 float: left; | 26 float: left; |
27 margin-right: $xl; | 27 margin-right: $xl; |
28 } | 28 } |
29 | 29 |
30 .site-title img | 30 html[dir="rtl"] #site-title |
31 { | 31 { |
32 height: $lg - 5px; | 32 float: right; |
33 vertical-align: middle; | 33 margin-right: 0; |
34 | 34 margin-left: $xl; |
35 @media (min-width: $tablet-breakpoint) | |
36 { | |
37 height: $lg; | |
38 } | |
39 } | 35 } |
40 | 36 |
41 #toggle-search-form | 37 #site-title img |
38 { | |
39 height: $lg; | |
40 vertical-align: middle; | |
41 } | |
42 | |
43 .toggle-navbar-collapse | |
42 { | 44 { |
43 width: $site-header-content-line-height; | 45 width: $site-header-content-line-height; |
44 float: right; | 46 float: right; |
45 line-height: $site-header-content-line-height; | 47 line-height: $site-header-content-line-height; |
46 text-align: right; | 48 text-align: right; |
47 cursor: pointer; | 49 cursor: pointer; |
48 | 50 |
49 img | 51 img |
50 { | 52 { |
51 width: $md; | 53 width: $md; |
52 vertical-align: middle; | 54 vertical-align: middle; |
53 } | 55 } |
54 } | 56 } |
55 | 57 |
56 html[dir="rtl"] | 58 html[dir="rtl"] .toggle-navbar-collapse |
57 { | 59 { |
58 .site-title | 60 float: left; |
59 { | |
60 float: right; | |
61 margin-right: 0; | |
62 margin-left: $xl; | |
63 } | |
64 | |
65 #toggle-search-form | |
66 { | |
67 float: left; | |
68 } | |
69 } | 61 } |
70 | 62 |
71 .no-js #toggle-search-form | 63 .no-js .toggle-navbar-collapse |
72 { | 64 { |
73 display: none; | 65 display: none; |
74 } | 66 } |
LEFT | RIGHT |