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

Unified Diff: static/scss/layout/_navbar.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.
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/layout/_navbar.scss
===================================================================
new file mode 100644
--- /dev/null
+++ b/static/scss/layout/_navbar.scss
@@ -0,0 +1,36 @@
+// This file is part of help.eyeo.com.
+// Copyright (C) 2017 Eyeo GmbH
+//
+// help.eyeo.com is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// help.eyeo.com is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
+
+.navbar
+{
+ padding-top: 12px;
juliandoucette 2017/07/19 18:03:39 I suggest using em here so that this padding scale
ire 2017/07/21 10:23:31 This will interfere with the fixed height. However
juliandoucette 2017/07/24 21:08:10 Acknowledged. Good point.
+ padding-bottom: 12px;
+ color: $white;
juliandoucette 2017/07/19 18:03:39 I think it makes sense to implement generic things
+ background-color: $black;
+}
+
+.navbar a
+{
+ color: $white;
+}
+
+.navbar-wrapper
juliandoucette 2017/07/19 18:03:38 Why .navbar-wrapper and not a more generic .contai
ire 2017/07/21 10:23:31 Because this container is specific to the navbar o
juliandoucette 2017/07/24 21:08:10 What is specific about the navbar's container? Are
+{
+ width: $navbar-width;
juliandoucette 2017/07/19 18:03:39 Where is this width specified? --- (I think it's
ire 2017/07/21 10:23:31 It isn't specified anywhere. I used the $dekstop-w
juliandoucette 2017/07/24 21:08:10 They look the same to me?
ire 2017/08/10 16:54:43 In this image (https://bytebucket.org/adblockplus/
ire 2017/08/16 14:41:26 I spoke with Jeen and she confirmed that the navba
+ max-width: $content-max-width;
juliandoucette 2017/07/19 18:03:38 Where is this max-width specified? --- (And why
ire 2017/07/21 10:23:30 It isn't specified anywhere. (Are these values sup
juliandoucette 2017/07/24 21:08:10 On the one hand: yes On the other hand: that which
ire 2017/08/10 16:54:43 Agreed. I haven't been able to find any objective
ire 2017/08/16 14:41:26 Done.
+ margin-right: auto;
+ margin-left: auto;
+}

Powered by Google App Engine
This is Rietveld