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

Unified 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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: static/scss/_variables.scss
===================================================================
--- a/static/scss/_variables.scss
+++ b/static/scss/_variables.scss
@@ -96,8 +96,28 @@
$tablet-width: 720px !default;
$desktop-width: 960px !default;
$large-desktop-width: 1140px !default;
// Component widths
////////////////////////////////////////////////////////////////////////////////
$container-width: $large-desktop-width !default;
+
+// Responsive spacing
+////////////////////////////////////////////////////////////////////////////////
+
+$default-spacing: (
+ ('auto', $small-space),
+ ($tablet-breakpoint, $medium-space),
+ ($large-desktop-breakpoint, $large-space)
+) !default;
+
+$container-spacing: $default-spacing !default;
+$section-spacing: $default-spacing !default;
+
+$grid-spacing: (
+ ('auto', $small-space),
+ ($large-desktop-breakpoint, $medium-space)
+) !default;
+
+$row-spacing: $grid-spacing !default;
+$column-spacing: $grid-spacing !default;

Powered by Google App Engine
This is Rietveld