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 svgs, Implement search, Show searchbar for no-js Created July 17, 2017, 9:24 a.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
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details. 12 // GNU General Public License for more details.
13 // 13 //
14 // You should have received a copy of the GNU General Public License 14 // You should have received a copy of the GNU General Public License
15 // along with acceptableads.org. If not, see <http://www.gnu.org/licenses/>. 15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
juliandoucette 2017/07/19 18:03:35 NIT: Let's fix this in the prior commit before we
16 16
17 // Colors ////////////////////////////////////////////////////////////////////// 17 // Colors //////////////////////////////////////////////////////////////////////
18 18
19 // Grayscale 19 // Grayscale
20 20
21 $white: #fff; 21 $white: #fff;
22 $gray: #D2D2D2; 22 $gray: #D2D2D2;
23 $gray-light: #ECECEC; 23 $gray-light: #ECECEC;
24 $gray-medium: #AEAEAE; 24 $gray-medium: #AEAEAE;
25 $gray-dark: #757575; 25 $gray-dark: #757575;
(...skipping 18 matching lines...) Expand all
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 $xsmall-font: 0.8em;
juliandoucette 2017/07/19 18:03:34 NIT: "x" -> "extra" ... This one is hard for me to
ire 2017/07/21 10:23:27 I acknowledge that the x is hard to read. I think
juliandoucette 2017/07/24 21:08:07 Acknowledged.
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-max-width: 90%;
juliandoucette 2017/07/19 18:03:34 It seems like we should support the same max conte
ire 2017/07/21 10:23:26 I assumed this is what the $dekstop-width was, whi
juliandoucette 2017/07/24 21:08:07 Why should we use a width percentage instead of ac
68 $content-width: $desktop-width;
juliandoucette 2017/07/19 18:03:35 Note: This isn't currently being used.
ire 2017/07/21 10:23:27 Yes its for the main part of the page. The $navbar
juliandoucette 2017/07/24 21:08:08 Acknowledged.
69 $navbar-width: $desktop-width + 100px;
70
71 // Header & Footer
72
73 $site-header-height: 65px;
74
75 // Searchform
76
77 $searchform-width: 320px;
juliandoucette 2017/07/19 18:03:35 NIT/Suggest: "search-" or "search-form" ... "searc
ire 2017/07/21 10:23:27 I think "searchform" is one of those names like "n
juliandoucette 2017/07/24 21:08:08 Acknowledged. I'm not familiar with this pattern
78 $searchform-height: 35px;
79
60 // Spacers ///////////////////////////////////////////////////////////////////// 80 // Spacers /////////////////////////////////////////////////////////////////////
61 81
62 // Columns ///////////////////////////////////////////////////////////////////// 82 // Columns /////////////////////////////////////////////////////////////////////
63 83
64 // Breakpoints ///////////////////////////////////////////////////////////////// 84 // Breakpoints /////////////////////////////////////////////////////////////////
65 85
66 // Placeholders //////////////////////////////////////////////////////////////// 86 $mobile-breakpoint: 544px;
juliandoucette 2017/07/19 18:03:35 Is the width provided by website-defaults wrong?
ire 2017/07/21 10:23:27 There is no $mobile-breakpoint variable in website
juliandoucette 2017/07/24 21:08:07 I did that on purpose so that we would develop mob
87
88 // Placeholders ////////////////////////////////////////////////////////////////
OLDNEW

Powered by Google App Engine
This is Rietveld