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

Side by Side 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.
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 help.eyeo.com. 1 // This file is part of help.eyeo.com.
2 // Copyright (C) 2017 Eyeo GmbH 2 // Copyright (C) 2017 Eyeo GmbH
3 // 3 //
4 // help.eyeo.com is free software: you can redistribute it and/or modify 4 // help.eyeo.com 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 // help.eyeo.com is distributed in the hope that it will be useful, 9 // help.eyeo.com 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // Font sizes (headings) 45 // Font sizes (headings)
46 46
47 $font-size-h1: 3em; 47 $font-size-h1: 3em;
48 $font-size-h2: 2em; 48 $font-size-h2: 2em;
49 $font-size-h3: 1.4em; 49 $font-size-h3: 1.4em;
50 $font-size-h4: 1em; 50 $font-size-h4: 1em;
51 $font-size-h5: $font-size-h4; 51 $font-size-h5: $font-size-h4;
52 $font-size-h6: $font-size-h4; 52 $font-size-h6: $font-size-h4;
53 53
54 // Font sizes (general)
55
56 $small-font: 0.9em;
57 $tiny-font: 0.8em;
58
54 // Font weights 59 // Font weights
55 60
56 $bold-weight: 700; 61 $bold-weight: 700;
57 62
58 // Sizes /////////////////////////////////////////////////////////////////////// 63 // Sizes ///////////////////////////////////////////////////////////////////////
59 64
65 // Container widths
66
67 $content-width: $desktop-width;
68 $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
69
70 // Header & Footer
71
72 $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.
73 $site-header-content-line-height: 40px;
74
75 // Search form
76
77 $search-form-width: 320px;
78 $search-form-height: 35px;
79
60 // Spacers ///////////////////////////////////////////////////////////////////// 80 // Spacers /////////////////////////////////////////////////////////////////////
61 81
82 $xl: 60px;
83 $lg: 30px;
84 $md: 15px;
85 $sm: 10px;
86 $xs: 5px;
87
62 // Columns ///////////////////////////////////////////////////////////////////// 88 // Columns /////////////////////////////////////////////////////////////////////
63 89
64 // Breakpoints ///////////////////////////////////////////////////////////////// 90 // Breakpoints /////////////////////////////////////////////////////////////////
65 91
66 // Placeholders //////////////////////////////////////////////////////////////// 92 $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
93
94 // Placeholders ////////////////////////////////////////////////////////////////
OLDNEW

Powered by Google App Engine
This is Rietveld