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

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

Issue 29794555: Noissue - Fix broken layout from changeset 1940351cdb4c (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Created May 30, 2018, 10:17 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/_breadcrumbs.scss ('k') | static/scss/layout/_sidebar.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file is part of acceptableads.org. 1 // This file is part of acceptableads.org.
2 // Copyright (C) 2016-present eyeo GmbH 2 // Copyright (C) 2016-present eyeo GmbH
3 // 3 //
4 // acceptableads.org is free software: you can redistribute it and/or modify 4 // acceptableads.org 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 // acceptableads.org is distributed in the hope that it will be useful, 9 // acceptableads.org 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
(...skipping 13 matching lines...) Expand all
24 24
25 img 25 img
26 { 26 {
27 height: $sm; 27 height: $sm;
28 margin: 0; 28 margin: 0;
29 } 29 }
30 } 30 }
31 31
32 .js #navbar 32 .js #navbar
33 { 33 {
34 position: fixed; 34 position: absolute;
35 z-index: 1;
35 top: 0; 36 top: 0;
36 left: 0;
37 z-index: 1;
38 } 37 }
39 38
40 .site-title 39 .site-title
41 { 40 {
42 margin: 0; 41 margin: 0;
43 font-size: 17px; 42 font-size: 17px;
44 line-height: 64px; 43 line-height: 64px;
45 word-spacing: -2px; 44 word-spacing: -2px;
46 } 45 }
47 46
(...skipping 18 matching lines...) Expand all
66 html[dir="ltr"] .site-title 65 html[dir="ltr"] .site-title
67 { 66 {
68 margin-left: $sidebar-width; 67 margin-left: $sidebar-width;
69 } 68 }
70 } 69 }
71 70
72 @media(max-width: $sidebar-breakpoint-x - 1) 71 @media(max-width: $sidebar-breakpoint-x - 1)
73 { 72 {
74 #navbar 73 #navbar
75 { 74 {
76 margin-left: 60px; 75 margin-left: 60px;
77 } 76 }
77
78 .js #navbar 78 .js #navbar
79 { 79 {
80 z-index: 2; 80 z-index: 2;
81 padding: 0; 81 padding: 0;
82 margin-left: 150px; 82 margin-left: 150px;
83 width: auto;
84 }
85
86 html[dir="rtl"].js #navbar
87 {
88 margin-right: 150px;
89 }
90
91 html:not(.open-sidebar).mobile #navbar
92 {
93 position: fixed;
94 transition: transform 0.2s ease-in-out;
95 }
96
97 html:not(.open-sidebar).mobile.scrollDown #navbar
98 {
99 transform: translate(0,-$header-height);
83 } 100 }
84 } 101 }
OLDNEW
« no previous file with comments | « static/scss/layout/_breadcrumbs.scss ('k') | static/scss/layout/_sidebar.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld