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

Side by Side Diff: static/scss/layout/_body.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/_variables.scss ('k') | static/scss/layout/_breadcrumbs.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
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 acceptableads.org. If not, see <http://www.gnu.org/licenses/>. 15 // along with acceptableads.org. If not, see <http://www.gnu.org/licenses/>.
16 16
17 .js .outer 17 .outer
18 { 18 {
19 position: absolute;
20 top: 96px;
21 margin-top: 0;
22 bottom: 0px; 19 bottom: 0px;
23 height: auto; 20 height: auto;
24 width: 100%; 21 width: 100%;
25 overflow: auto; 22 overflow: auto;
23 margin-top: $breadcrumbs-height;
24 }
25
26 .js .outer
27 {
28 margin-top: $header-height;
29 }
30
31 @media(max-width: $sidebar-breakpoint-x - 1)
32 {
33 .outer
34 {
35 margin-top: auto;
36 }
37
38 html:not(.open-sidebar).mobile .outer
39 {
40 position: static;
41 }
42
43 html:not(.open-sidebar).mobile.scrollDown .outer
44 {
45 margin-top: $breadcrumbs-height;
46 }
47
48 .mobile.open-sidebar .outer
49 {
50 position: absolute;
51 }
26 } 52 }
27 53
28 @media(min-width: $sidebar-breakpoint-x) 54 @media(min-width: $sidebar-breakpoint-x)
29 { 55 {
30 html[dir="ltr"] 56 html[dir="ltr"] .outer
31 {
32 .outer
33 { 57 {
34 padding-left: $sidebar-width; 58 padding-left: $sidebar-width;
35 } 59 }
36 }
37 60
38 .outer 61 html[dir="rtl"] .outer
39 {
40 margin-top: 32px;
41 }
42
43 .js .outer
44 {
45 margin-top: 0px;
46 }
47
48 html[dir="rtl"]
49 {
50 .outer
51 { 62 {
52 padding-right: $sidebar-width; 63 padding-right: $sidebar-width;
53 } 64 }
54 }
55 } 65 }
OLDNEW
« no previous file with comments | « static/scss/_variables.scss ('k') | static/scss/layout/_breadcrumbs.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld