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

Delta Between Two Patch Sets: static/scss/layout/_footer.scss

Issue 29488555: Issue 5406 - Create Site Footer Component for Help Center (Closed)
Left Patch Set: Rebased and updated Created Sept. 4, 2017, 8:27 p.m.
Right Patch Set: Remove langnames commit, use website-default breakpoint variables Created Sept. 18, 2017, 3:09 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
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 help.eyeo.com. If not, see <http://www.gnu.org/licenses/>. 15 // along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
16 16
17 #site-footer 17 #site-footer
18 { 18 {
19 font-size: $small-font; 19 font-size: $small-font;
20 } 20 }
21 21
22 #site-footer .one-fourth 22 #site-footer .column
23 {
24 padding: 0px;
25
26 @media (min-width: $phablet-breakpoint)
27 {
28 width: 50%;
29 }
30 }
31
32 #site-footer-locales
23 { 33 {
24 margin-bottom: $sm; 34 margin-bottom: $sm;
25 35
26 @media (min-width: $phablet-breakpoint) 36 @media (min-width: $phablet-breakpoint)
27 { 37 {
28 margin-bottom: 0; 38 margin-bottom: 0;
29 } 39 }
30 } 40 }
31 41
32 #site-footer .three-fourths 42 #site-footer-nav
juliandoucette 2017/09/06 17:48:22 NIT: This seems too general. We could conceivably
ire 2017/09/08 09:53:36 Done.
33 { 43 {
34 @media (min-width: $phablet-breakpoint) 44 @media (min-width: $phablet-breakpoint)
35 { 45 {
36 text-align: right; 46 text-align: right;
37 } 47 }
38 } 48 }
39 49
40 [dir="rtl"] #site-footer .three-fourths 50 [dir="rtl"] #site-footer-nav
41 { 51 {
42 @media (min-width: $phablet-breakpoint) 52 @media (min-width: $phablet-breakpoint)
43 { 53 {
44 text-align: left; 54 text-align: left;
45 } 55 }
46 } 56 }
47 57
48 #site-footer-nav 58 #site-footer-nav nav
49 { 59 {
50 @media (min-width: $tablet-breakpoint) 60 @media (min-width: $tablet-breakpoint)
51 { 61 {
52 display: inline; 62 display: inline;
53 } 63 }
54 } 64 }
55 65
56 #site-footer-nav ul 66 #site-footer-nav nav li
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 { 67 {
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; 68 margin-right: $sm;
71 padding-right: $sm; 69 padding-right: $sm;
72 border-right: 1px solid $gray; 70 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 71
74 &:last-child 72 &:last-child
75 { 73 {
76 margin-right: 0px; 74 margin-right: 0px;
77 padding-right: 0px; 75 padding-right: 0px;
78 border-right: 0px; 76 border-right: 0px;
79 } 77 }
80 78
81 @media (min-width: $tablet-breakpoint) 79 @media (min-width: $tablet-breakpoint)
82 { 80 {
83 &:last-child 81 &:last-child
84 { 82 {
85 margin-right: $sm; 83 margin-right: $sm;
86 padding-right: $sm; 84 padding-right: $sm;
87 border-right: 1px solid $gray; 85 border-right: 1px solid $gray;
88 } 86 }
89 } 87 }
90 } 88 }
89
90 #site-footer-nav a
91 {
92 white-space: nowrap;
93 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld