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

Side by Side Diff: static/scss/layout/_navbar.scss

Issue 29485575: Issue 5385 - Create Site Header Component for Help Center (Closed)
Patch Set: Change mobile to tablet-breakpoint, add polyfill for classList, re-order rtl styles Created Sept. 1, 2017, 10:53 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
« no previous file with comments | « static/scss/layout/_header.scss ('k') | static/scss/main.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // This file is part of help.eyeo.com.
2 // Copyright (C) 2017 Eyeo GmbH
3 //
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
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
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
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
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/>.
16
17 .navbar
18 {
19 padding-top: $md;
20 padding-bottom: $md;
21 color: $white;
22 background-color: $black;
23 }
24
25 .navbar a
26 {
27 color: $white;
28 }
29
30 .navbar-wrapper
31 {
32 width: $navbar-width;
33 max-width: 100%;
34 margin-right: auto;
35 margin-left: auto;
36 padding-right: $md;
37 padding-left: $md;
38 }
39
40 // Navbar Collapse
41
42 .navbar-collapse
43 {
44 display: none;
45 clear: both;
46
47 &.open
48 {
49 display: block;
50 }
51
52 @media (min-width: $tablet-breakpoint)
53 {
54 display: block;
55 clear: none;
56 width: auto;
57 }
58 }
59
60 .no-js .navbar-collapse
61 {
62 display: block;
63 }
OLDNEW
« no previous file with comments | « static/scss/layout/_header.scss ('k') | static/scss/main.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld