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

Unified Diff: static/scss/base/_variables.scss

Issue 29485575: Issue 5385 - Create Site Header Component for Help Center (Closed)
Patch Set: Fix alignment of search form, reformat JS Created Aug. 22, 2017, 12:14 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/base/_variables.scss
===================================================================
--- a/static/scss/base/_variables.scss
+++ b/static/scss/base/_variables.scss
@@ -46,21 +46,49 @@
$font-size-h1: 3em;
$font-size-h2: 2em;
$font-size-h3: 1.4em;
$font-size-h4: 1em;
$font-size-h5: $font-size-h4;
$font-size-h6: $font-size-h4;
+// Font sizes (general)
+
+$small-font: 0.9em;
+$tiny-font: 0.8em;
+
// Font weights
$bold-weight: 700;
// Sizes ///////////////////////////////////////////////////////////////////////
+// Container widths
+
+$content-width: $desktop-width;
+$navbar-width: $content-width + 100px;
juliandoucette 2017/08/23 14:39:07 I think it's a better idea to start from the $desk
ire 2017/08/25 08:27:10 I like the idea of moving inwards instead of outwa
juliandoucette 2017/08/29 16:17:27 Acknowledged. I see what you mean now. And I agre
ire 2017/09/01 10:57:18 I don't think my comment would be more explanatory
+
+// Header & Footer
+
+$site-header-height: 70px;
juliandoucette 2017/08/23 14:39:07 If these variables only apply to the site header l
ire 2017/08/25 08:27:11 I'm undecided on whether it's better to have all t
juliandoucette 2017/08/29 16:17:26 Acknowledged. I concede this point.
+$site-header-content-line-height: 40px;
+
+// Search form
+
+$search-form-width: 320px;
+$search-form-height: 35px;
+
// Spacers /////////////////////////////////////////////////////////////////////
+$xl: 60px;
+$lg: 30px;
+$md: 15px;
+$sm: 10px;
+$xs: 5px;
+
// Columns /////////////////////////////////////////////////////////////////////
// Breakpoints /////////////////////////////////////////////////////////////////
-// Placeholders ////////////////////////////////////////////////////////////////
+$mobile-breakpoint: 544px;
juliandoucette 2017/08/23 14:39:06 The website-default grid considers anything less t
ire 2017/08/25 08:27:09 What is the reason for not having a difference? Be
juliandoucette 2017/08/29 16:17:26 There seems to be a miscommunication here about wh
ire 2017/09/01 10:57:19 Changed to $phablet-breakpoint
+
+// Placeholders ////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld