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

Side by Side Diff: static/scss/layout/_footer.scss

Issue 29488555: Issue 5406 - Create Site Footer Component for Help Center (Closed)
Patch Set: Rebased and updated Created Sept. 4, 2017, 8:27 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
(Empty)
1 // This file is part of help.eyeo.com.
2 // Copyright (C) 2017 Eyeo GmbH
3 //
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
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
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
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
16
17 #site-footer
18 {
19 font-size: $small-font;
20 }
21
22 #site-footer .one-fourth
23 {
24 margin-bottom: $sm;
25
26 @media (min-width: $phablet-breakpoint)
27 {
28 margin-bottom: 0;
29 }
30 }
31
32 #site-footer .three-fourths
juliandoucette 2017/09/06 17:48:22 NIT: This seems too general. We could conceivably
ire 2017/09/08 09:53:36 Done.
33 {
34 @media (min-width: $phablet-breakpoint)
35 {
36 text-align: right;
37 }
38 }
39
40 [dir="rtl"] #site-footer .three-fourths
41 {
42 @media (min-width: $phablet-breakpoint)
43 {
44 text-align: left;
45 }
46 }
47
48 #site-footer-nav
49 {
50 @media (min-width: $tablet-breakpoint)
51 {
52 display: inline;
53 }
54 }
55
56 #site-footer-nav ul
juliandoucette 2017/09/06 17:48:22 NIT: Shouldn't we do this with a horizontal list u
ire 2017/09/08 09:53:36 Done.
57 {
58 display: inline;
59 list-style: none;
60 }
61
62 [dir="rtl"] #site-footer-nav ul
63 {
64 padding: 0;
65 }
66
67 #site-footer-nav li
68 {
69 display: inline;
70 margin-right: $sm;
71 padding-right: $sm;
72 border-right: 1px solid $gray;
juliandoucette 2017/09/06 17:48:22 NIT: Why not border-right the first-child or borde
ire 2017/09/08 09:53:36 I did it this way because if we added another list
juliandoucette 2017/09/08 17:02:52 Good point.
73
74 &:last-child
75 {
76 margin-right: 0px;
77 padding-right: 0px;
78 border-right: 0px;
79 }
80
81 @media (min-width: $tablet-breakpoint)
82 {
83 &:last-child
84 {
85 margin-right: $sm;
86 padding-right: $sm;
87 border-right: 1px solid $gray;
88 }
89 }
90 }
OLDNEW

Powered by Google App Engine
This is Rietveld