|
1 |
| -// /** |
2 |
| -// * Copyright © 2015 Magento. All rights reserved. |
3 |
| -// * See COPYING.txt for license details. |
4 |
| -// */ |
5 |
| - |
6 |
| -// |
7 |
| -// Page footer |
8 |
| -// _____________________________________________ |
9 |
| - |
10 |
| -@footer__background-color: @body__background-color; |
11 |
| -@footer__border-color: @color-light-gray; |
12 |
| -@footer__border-width: .1rem; |
13 |
| -@footer__color: @color-very-dark-gray1; |
14 |
| -@footer-version__color: @color-gray40; |
15 |
| -@footer-copyright__color: @color-gray40; |
16 |
| - |
17 |
| -@footer-link__color: @color-light-phoenix; |
18 |
| -@footer-link__text-decoration: underline; |
19 |
| - |
20 |
| -@footer-link__hover__color: @color-light-phoenix; |
21 |
| -@footer-link__hover__text-decoration: underline; |
22 |
| - |
23 |
| -.page-footer { |
24 |
| - background-color: @footer__background-color; |
25 |
| - border-top: @footer__border-width solid @footer__border-color; |
26 |
| - color: @footer__color; |
27 |
| - margin-top: auto; |
28 |
| - padding: 2.6rem 2rem 6rem 3rem; |
29 |
| - a { |
30 |
| - .mixin-link( |
31 |
| - @_link-color: @footer-link__color, |
32 |
| - @_link-text-decoration: @footer-link__text-decoration, |
33 |
| - @_link-color-visited: false, |
34 |
| - @_link-text-decoration-visited: false, |
35 |
| - @_link-color-hover: @footer-link__color, |
36 |
| - @_link-text-decoration-hover: false, |
37 |
| - @_link-color-active: false, |
38 |
| - @_link-text-decoration-active: false |
39 |
| - ); |
40 |
| - } |
41 |
| - .admin__control-select { |
42 |
| - max-width: 52rem; |
43 |
| - width: 100%; |
44 |
| - } |
45 |
| -} |
46 |
| - |
47 |
| -.magento-version { |
48 |
| - margin-bottom: .5rem; |
49 |
| - strong { |
50 |
| - color: @footer-version__color; |
51 |
| - } |
52 |
| -} |
53 |
| - |
54 |
| -// Copyright |
55 |
| -.copyright { |
56 |
| - margin-bottom: -.2rem; |
57 |
| - position: relative; |
58 |
| - .link-copyright { |
59 |
| - display: inline-block; |
60 |
| - margin-right: .5rem; |
61 |
| - text-decoration: none; |
62 |
| - vertical-align: top; |
63 |
| - &:hover { |
64 |
| - &:before { |
65 |
| - color: lighten(@color-light-phoenix, 10%); |
66 |
| - } |
67 |
| - } |
68 |
| - &:before { |
69 |
| - &:extend(.abs-icon all); |
70 |
| - .transition(color); |
71 |
| - color: @primary__color; |
72 |
| - content: @icon-logo__content; |
73 |
| - display: block; |
74 |
| - font-size: 2.5rem; |
75 |
| - position: relative; |
76 |
| - top: -.2rem; |
77 |
| - } |
78 |
| - &:active { |
79 |
| - &:before { |
80 |
| - .scale(); |
81 |
| - } |
82 |
| - } |
83 |
| - } |
84 |
| -} |
85 |
| - |
86 |
| -.footer-legal { |
87 |
| - padding-top: 1rem; |
88 |
| - text-align: right; |
89 |
| -} |
90 |
| - |
91 |
| -// Locale switcher |
92 |
| -.locale-switcher { |
93 |
| - .label { |
94 |
| - display: block; |
95 |
| - margin-bottom: 1rem; |
96 |
| - } |
97 |
| -} |
98 |
| - |
99 |
| -// |
100 |
| -// Mobile |
101 |
| -// _____________________________________________ |
102 |
| - |
103 |
| -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { |
104 |
| - .footer-legal { |
105 |
| - padding-top: 3rem; |
106 |
| - text-align: left; |
107 |
| - } |
108 |
| -} |
| 1 | +// /** |
| 2 | +// * Copyright © 2015 Magento. All rights reserved. |
| 3 | +// * See COPYING.txt for license details. |
| 4 | +// */ |
| 5 | + |
| 6 | +// |
| 7 | +// Page footer |
| 8 | +// _____________________________________________ |
| 9 | + |
| 10 | +@footer__background-color: @body__background-color; |
| 11 | +@footer__border-color: @color-light-gray; |
| 12 | +@footer__border-width: .1rem; |
| 13 | +@footer__color: @color-very-dark-gray1; |
| 14 | +@footer-version__color: @color-gray40; |
| 15 | +@footer-copyright__color: @color-gray40; |
| 16 | + |
| 17 | +@footer-link__color: @color-light-phoenix; |
| 18 | +@footer-link__text-decoration: underline; |
| 19 | + |
| 20 | +@footer-link__hover__color: @color-light-phoenix; |
| 21 | +@footer-link__hover__text-decoration: underline; |
| 22 | + |
| 23 | +.page-footer { |
| 24 | + background-color: @footer__background-color; |
| 25 | + border-top: @footer__border-width solid @footer__border-color; |
| 26 | + color: @footer__color; |
| 27 | + margin-top: auto; |
| 28 | + padding: 2.6rem 2rem 6rem 3rem; |
| 29 | + a { |
| 30 | + .lib-link( |
| 31 | + @_link-color: @footer-link__color, |
| 32 | + @_link-text-decoration: @footer-link__text-decoration, |
| 33 | + @_link-color-visited: false, |
| 34 | + @_link-text-decoration-visited: false, |
| 35 | + @_link-color-hover: @footer-link__color, |
| 36 | + @_link-text-decoration-hover: false, |
| 37 | + @_link-color-active: false, |
| 38 | + @_link-text-decoration-active: false |
| 39 | + ); |
| 40 | + } |
| 41 | + .admin__control-select { |
| 42 | + max-width: 52rem; |
| 43 | + width: 100%; |
| 44 | + } |
| 45 | +} |
| 46 | + |
| 47 | +.magento-version { |
| 48 | + margin-bottom: .5rem; |
| 49 | + strong { |
| 50 | + color: @footer-version__color; |
| 51 | + } |
| 52 | +} |
| 53 | + |
| 54 | +// Copyright |
| 55 | +.copyright { |
| 56 | + margin-bottom: -.2rem; |
| 57 | + position: relative; |
| 58 | + .link-copyright { |
| 59 | + display: inline-block; |
| 60 | + margin-right: .5rem; |
| 61 | + text-decoration: none; |
| 62 | + vertical-align: top; |
| 63 | + &:hover { |
| 64 | + &:before { |
| 65 | + color: lighten(@color-light-phoenix, 10%); |
| 66 | + } |
| 67 | + } |
| 68 | + &:before { |
| 69 | + &:extend(.abs-icon all); |
| 70 | + .transition(color); |
| 71 | + color: @primary__color; |
| 72 | + content: @icon-logo__content; |
| 73 | + display: block; |
| 74 | + font-size: 2.5rem; |
| 75 | + position: relative; |
| 76 | + top: -.2rem; |
| 77 | + } |
| 78 | + &:active { |
| 79 | + &:before { |
| 80 | + .scale(); |
| 81 | + } |
| 82 | + } |
| 83 | + } |
| 84 | +} |
| 85 | + |
| 86 | +.footer-legal { |
| 87 | + padding-top: 1rem; |
| 88 | + text-align: right; |
| 89 | +} |
| 90 | + |
| 91 | +// Locale switcher |
| 92 | +.locale-switcher { |
| 93 | + .label { |
| 94 | + display: block; |
| 95 | + margin-bottom: 1rem; |
| 96 | + } |
| 97 | +} |
| 98 | + |
| 99 | +// |
| 100 | +// Mobile |
| 101 | +// _____________________________________________ |
| 102 | + |
| 103 | +.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { |
| 104 | + .footer-legal { |
| 105 | + padding-top: 3rem; |
| 106 | + text-align: left; |
| 107 | + } |
| 108 | +} |
0 commit comments