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

Side by Side Diff: static/scss/_variables.scss

Issue 29590583: Noissue - Applied responsive margin & padding mixins (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Changed grid breakpoint and removed package-lock.json Created Oct. 27, 2017, 12:21 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This file is part of website-defaults 1 // This file is part of website-defaults
2 // Copyright (C) 2016-present eyeo GmbH 2 // Copyright (C) 2016-present eyeo GmbH
3 // 3 //
4 // website-defaults is free software: you can redistribute it and/or 4 // website-defaults is free software: you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License as published by 5 // modify 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 // website-defaults is distributed in the hope that it will be useful, 9 // website-defaults 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 $phone-width: auto !default; 94 $phone-width: auto !default;
95 $phablet-width: 540px !default; 95 $phablet-width: 540px !default;
96 $tablet-width: 720px !default; 96 $tablet-width: 720px !default;
97 $desktop-width: 960px !default; 97 $desktop-width: 960px !default;
98 $large-desktop-width: 1140px !default; 98 $large-desktop-width: 1140px !default;
99 99
100 // Component widths 100 // Component widths
101 //////////////////////////////////////////////////////////////////////////////// 101 ////////////////////////////////////////////////////////////////////////////////
102 102
103 $container-width: $large-desktop-width !default; 103 $container-width: $large-desktop-width !default;
104
105 // Responsive spacing
106 ////////////////////////////////////////////////////////////////////////////////
107
108 $default-spacing: (
109 ('auto', $small-space),
110 ($tablet-breakpoint, $medium-space),
111 ($large-desktop-breakpoint, $large-space)
112 ) !default;
113
114 $container-spacing: $default-spacing !default;
115 $section-spacing: $default-spacing !default;
116
117 $grid-spacing: (
118 ('auto', $small-space),
119 ($large-desktop-breakpoint, $medium-space)
120 ) !default;
121
122 $row-spacing: $grid-spacing !default;
123 $column-spacing: $grid-spacing !default;
OLDNEW

Powered by Google App Engine
This is Rietveld