OLD | NEW |
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 /******************************************************************************* |
| 18 * Navbar |
| 19 ******************************************************************************/ |
| 20 |
17 .navbar | 21 .navbar |
18 { | 22 { |
19 padding-top: $md; | 23 padding-top: $md; |
20 padding-bottom: $md; | 24 padding-bottom: $md; |
21 color: $white; | 25 color: $white; |
22 background-color: $black; | 26 background-color: $black; |
23 } | 27 } |
24 | 28 |
25 .navbar a | 29 .navbar a |
26 { | 30 { |
27 color: $white; | 31 color: $white; |
28 } | 32 } |
29 | 33 |
30 // Navbar Collapse | 34 /* Navbar Collapse |
| 35 ******************************************************************************/ |
31 | 36 |
32 .navbar-collapse | 37 .navbar-collapse |
33 { | 38 { |
34 display: none; | 39 display: none; |
35 clear: both; | 40 clear: both; |
36 | 41 |
37 &.open | 42 &.open |
38 { | 43 { |
39 display: block; | 44 display: block; |
40 } | 45 } |
41 | 46 |
42 @media (min-width: $tablet-breakpoint) | 47 @media (min-width: $tablet-breakpoint) |
43 { | 48 { |
44 display: block; | 49 display: block; |
45 clear: none; | 50 clear: none; |
46 width: auto; | 51 width: auto; |
47 } | 52 } |
48 } | 53 } |
49 | 54 |
50 .no-js .navbar-collapse | 55 .no-js .navbar-collapse |
51 { | 56 { |
52 display: block; | 57 display: block; |
53 } | 58 } |
OLD | NEW |