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: Rebase Created Aug. 11, 2017, 4:08 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;
juliandoucette 2017/08/22 14:33:43 I don't think this does anything after all other s
ire 2017/09/04 20:28:08 Which other styles? From my test, this makes a dif
juliandoucette 2017/09/06 17:48:20 I was mislead by the effect of font-size: 100%; so
ire 2017/09/08 09:53:33 No worries :)
20 }
21
22 #site-footer .one-fourth
juliandoucette 2017/08/22 14:33:43 I think it makes more sense to add margin (in em n
ire 2017/09/04 20:28:08 The margin is more to separate the first row from
23 {
24 margin-bottom: 10px;
25
26 @media (min-width: $mobile-breakpoint)
27 {
28 margin-bottom: 0;
29 }
30 }
31
32 #site-footer .three-fourths
33 {
34 @media (min-width: $mobile-breakpoint)
35 {
36 text-align: right;
37 }
38 }
39
40 #site-footer-nav
41 {
42 @media (min-width: $tablet-breakpoint)
43 {
44 display: inline;
45 }
46 }
47
48 #site-footer-nav ul
49 {
50 display: inline;
51 list-style: none;
52 }
53
54 #site-footer-nav li
55 {
56 display: inline;
57
58 &:not(:last-child)
juliandoucette 2017/08/22 14:33:43 not is not supported by IE
ire 2017/09/04 20:28:08 Done.
59 {
60 margin-right: 10px;
61 padding-right: 10px;
62 border-right: 1px solid $gray;
63 }
64
65 @media (min-width: $tablet-breakpoint)
66 {
67 &:last-child
juliandoucette 2017/08/22 14:33:43 last-child is not supported by IE
ire 2017/09/04 20:28:08 :last-child is supported by IE 9+ (http://caniuse.
juliandoucette 2017/09/06 17:48:20 I suggest that we support IE 8 by default or docum
ire 2017/09/08 09:53:33 The current browserlist for this site supports IE9
68 {
69 margin-right: 10px;
70 padding-right: 10px;
71 border-right: 1px solid $gray;
72 }
73 }
74 }
75
76 [dir="rtl"]
juliandoucette 2017/08/22 14:33:43 NIT: Please move rtl styles directly below ltr sty
ire 2017/09/04 20:28:08 Done.
77 {
78 #site-footer .three-fourths
79 {
80 @media (min-width: $mobile-breakpoint)
81 {
82 text-align: left;
83 }
84 }
85
86 #site-footer-nav ul
87 {
88 padding: 0;
89 }
90 }
OLDNEW

Powered by Google App Engine
This is Rietveld