2 * Copyright 2015 Google Inc. All Rights Reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 @import "../variables";
21 padding: $footer-min-padding $footer-padding-sides;
24 background-color: $footer-bg-color;
28 .mdl-mega-footer--top-section:after,
29 .mdl-mega-footer--middle-section:after,
30 .mdl-mega-footer--bottom-section:after,
31 .mdl-mega-footer__top-section:after,
32 .mdl-mega-footer__middle-section:after,
33 .mdl-mega-footer__bottom-section:after {
39 .mdl-mega-footer--left-section,
40 .mdl-mega-footer__left-section {
41 margin-bottom: $footer-min-padding;
44 .mdl-mega-footer--right-section,
45 .mdl-mega-footer__right-section {
46 margin-bottom: $footer-min-padding;
49 .mdl-mega-footer--right-section a,
50 .mdl-mega-footer__right-section a {
53 margin-bottom: $footer-min-padding;
56 text-decoration: none;
59 @media screen and (min-width: 760px) {
60 .mdl-mega-footer--left-section,
61 .mdl-mega-footer__left-section {
65 .mdl-mega-footer--right-section,
66 .mdl-mega-footer__right-section {
70 .mdl-mega-footer--right-section a,
71 .mdl-mega-footer__right-section a {
72 display: inline-block;
74 margin-left: $footer-min-padding;
76 line-height: $footer-btn-size;
77 vertical-align: middle;
81 .mdl-mega-footer--social-btn,
82 .mdl-mega-footer__social-btn {
83 width: $footer-btn-size;
84 height: $footer-btn-size;
89 background-color: $footer-button-fill-color;
94 .mdl-mega-footer--drop-down-section,
95 .mdl-mega-footer__drop-down-section {
101 @media screen and (min-width: 760px) {
102 .mdl-mega-footer--drop-down-section,
103 .mdl-mega-footer__drop-down-section {
107 .mdl-mega-footer--drop-down-section:nth-child(1),
108 .mdl-mega-footer--drop-down-section:nth-child(2),
109 .mdl-mega-footer__drop-down-section:nth-child(1),
110 .mdl-mega-footer__drop-down-section:nth-child(2) {
114 .mdl-mega-footer--drop-down-section:nth-child(3),
115 .mdl-mega-footer__drop-down-section:nth-child(3) {
123 .mdl-mega-footer--drop-down-section:nth-child(4),
124 .mdl-mega-footer__drop-down-section:nth-child(4) {
129 .mdl-mega-footer--middle-section:after,
130 .mdl-mega-footer__middle-section:after {
138 .mdl-mega-footer--bottom-section,
139 .mdl-mega-footer__bottom-section {
144 @media screen and (min-width: 1024px) {
145 .mdl-mega-footer--drop-down-section,
146 .mdl-mega-footer--drop-down-section:nth-child(3),
147 .mdl-mega-footer--drop-down-section:nth-child(4),
148 .mdl-mega-footer__drop-down-section,
149 .mdl-mega-footer__drop-down-section:nth-child(3),
150 .mdl-mega-footer__drop-down-section:nth-child(4) {
157 .mdl-mega-footer--heading-checkbox,
158 .mdl-mega-footer__heading-checkbox {
161 height: $footer-heading-line-height + ($footer-min-padding * 2);
163 padding: ($footer-min-padding * 2);
165 margin-top: -$footer-min-padding;
172 & + .mdl-mega-footer--heading:after,
173 & + .mdl-mega-footer__heading:after {
174 font-family: 'Material Icons';
179 .mdl-mega-footer--heading-checkbox:checked,
180 .mdl-mega-footer__heading-checkbox:checked {
181 // WebViews in iOS 9 break the "~" operator, and WebViews in OS X 10.10
182 // break consecutive "+" operators in some cases. Therefore, we need to use
183 // both here to cover all the bases.
184 & ~ .mdl-mega-footer--link-list,
185 & ~ .mdl-mega-footer__link-list,
186 & + .mdl-mega-footer--heading + .mdl-mega-footer--link-list,
187 & + .mdl-mega-footer__heading + .mdl-mega-footer__link-list {
191 & + .mdl-mega-footer--heading:after,
192 & + .mdl-mega-footer__heading:after {
193 font-family: 'Material Icons';
198 .mdl-mega-footer--heading,
199 .mdl-mega-footer__heading {
203 padding-right: $footer-heading-line-height + $footer-min-padding;
204 margin-bottom: $footer-min-padding;
206 box-sizing:border-box;
208 font-size: $footer-heading-font-size;
209 line-height: $footer-heading-line-height;
214 text-overflow: ellipsis;
217 color: $footer-heading-color;
220 .mdl-mega-footer--heading:after,
221 .mdl-mega-footer__heading:after {
230 width: $footer-heading-line-height;
231 height: $footer-heading-line-height;
233 background-size: cover;
236 .mdl-mega-footer--link-list,
237 .mdl-mega-footer__link-list {
243 margin-bottom: $footer-min-padding * 2;
251 .mdl-mega-footer--link-list li,
252 .mdl-mega-footer__link-list li {
253 @include typo-body-1();
257 .mdl-mega-footer--link-list a,
258 .mdl-mega-footer__link-list a {
260 text-decoration: none;
264 @media screen and (min-width: 760px) {
265 .mdl-mega-footer--heading-checkbox,
266 .mdl-mega-footer__heading-checkbox {
269 & + .mdl-mega-footer--heading:after,
270 & + .mdl-mega-footer__heading:after {
274 .mdl-mega-footer--heading-checkbox:checked,
275 .mdl-mega-footer__heading-checkbox:checked {
276 // WebViews in iOS 9 break the "~" operator, and WebViews in OS X 10.10
277 // break consecutive "+" operators in some cases. Therefore, we need to use
278 // both here to cover all the bases.
279 & ~ .mdl-mega-footer--link-list,
280 & ~ .mdl-mega-footer__link-list,
281 & + .mdl-mega-footer__heading + .mdl-mega-footer__link-list,
282 & + .mdl-mega-footer--heading + .mdl-mega-footer--link-list {
286 & + .mdl-mega-footer--heading:after,
287 & + .mdl-mega-footer__heading:after {
293 .mdl-mega-footer--bottom-section,
294 .mdl-mega-footer__bottom-section {
295 padding-top: $footer-min-padding;
296 margin-bottom: $footer-min-padding;
300 margin-bottom: $footer-min-padding;
304 .mdl-mega-footer--bottom-section .mdl-mega-footer--link-list li,
305 .mdl-mega-footer__bottom-section .mdl-mega-footer__link-list li {
309 margin-right: $footer-min-padding;
314 @media screen and (min-width: 760px) {
319 margin-right: $footer-min-padding;