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: Created Oct. 27, 2017, 12:15 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
« no previous file with comments | « static/scss/_utilities.scss ('k') | static/scss/main.scss » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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),
+ ($tablet-breakpoint, $medium-space)
+) !default;
+
+$row-spacing: $grid-spacing !default;
+$column-spacing: $grid-spacing !default;
« no previous file with comments | « static/scss/_utilities.scss ('k') | static/scss/main.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld