-
Notifications
You must be signed in to change notification settings - Fork 9.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAGETWO-40722: Rename lib mixins using "mixin-" prefix
- "mixin-" prefix is replaced to "lib-" prefix
- Loading branch information
Showing
207 changed files
with
3,378 additions
and
3,338 deletions.
There are no files selected for viewing
216 changes: 108 additions & 108 deletions
216
app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/_footer.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,108 @@ | ||
// /** | ||
// * Copyright © 2015 Magento. All rights reserved. | ||
// * See COPYING.txt for license details. | ||
// */ | ||
|
||
// | ||
// Page footer | ||
// _____________________________________________ | ||
|
||
@footer__background-color: @body__background-color; | ||
@footer__border-color: @color-light-gray; | ||
@footer__border-width: .1rem; | ||
@footer__color: @color-very-dark-gray1; | ||
@footer-version__color: @color-gray40; | ||
@footer-copyright__color: @color-gray40; | ||
|
||
@footer-link__color: @color-light-phoenix; | ||
@footer-link__text-decoration: underline; | ||
|
||
@footer-link__hover__color: @color-light-phoenix; | ||
@footer-link__hover__text-decoration: underline; | ||
|
||
.page-footer { | ||
background-color: @footer__background-color; | ||
border-top: @footer__border-width solid @footer__border-color; | ||
color: @footer__color; | ||
margin-top: auto; | ||
padding: 2.6rem 2rem 6rem 3rem; | ||
a { | ||
.mixin-link( | ||
@_link-color: @footer-link__color, | ||
@_link-text-decoration: @footer-link__text-decoration, | ||
@_link-color-visited: false, | ||
@_link-text-decoration-visited: false, | ||
@_link-color-hover: @footer-link__color, | ||
@_link-text-decoration-hover: false, | ||
@_link-color-active: false, | ||
@_link-text-decoration-active: false | ||
); | ||
} | ||
.admin__control-select { | ||
max-width: 52rem; | ||
width: 100%; | ||
} | ||
} | ||
|
||
.magento-version { | ||
margin-bottom: .5rem; | ||
strong { | ||
color: @footer-version__color; | ||
} | ||
} | ||
|
||
// Copyright | ||
.copyright { | ||
margin-bottom: -.2rem; | ||
position: relative; | ||
.link-copyright { | ||
display: inline-block; | ||
margin-right: .5rem; | ||
text-decoration: none; | ||
vertical-align: top; | ||
&:hover { | ||
&:before { | ||
color: lighten(@color-light-phoenix, 10%); | ||
} | ||
} | ||
&:before { | ||
&:extend(.abs-icon all); | ||
.transition(color); | ||
color: @primary__color; | ||
content: @icon-logo__content; | ||
display: block; | ||
font-size: 2.5rem; | ||
position: relative; | ||
top: -.2rem; | ||
} | ||
&:active { | ||
&:before { | ||
.scale(); | ||
} | ||
} | ||
} | ||
} | ||
|
||
.footer-legal { | ||
padding-top: 1rem; | ||
text-align: right; | ||
} | ||
|
||
// Locale switcher | ||
.locale-switcher { | ||
.label { | ||
display: block; | ||
margin-bottom: 1rem; | ||
} | ||
} | ||
|
||
// | ||
// Mobile | ||
// _____________________________________________ | ||
|
||
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { | ||
.footer-legal { | ||
padding-top: 3rem; | ||
text-align: left; | ||
} | ||
} | ||
// /** | ||
// * Copyright © 2015 Magento. All rights reserved. | ||
// * See COPYING.txt for license details. | ||
// */ | ||
|
||
// | ||
// Page footer | ||
// _____________________________________________ | ||
|
||
@footer__background-color: @body__background-color; | ||
@footer__border-color: @color-light-gray; | ||
@footer__border-width: .1rem; | ||
@footer__color: @color-very-dark-gray1; | ||
@footer-version__color: @color-gray40; | ||
@footer-copyright__color: @color-gray40; | ||
|
||
@footer-link__color: @color-light-phoenix; | ||
@footer-link__text-decoration: underline; | ||
|
||
@footer-link__hover__color: @color-light-phoenix; | ||
@footer-link__hover__text-decoration: underline; | ||
|
||
.page-footer { | ||
background-color: @footer__background-color; | ||
border-top: @footer__border-width solid @footer__border-color; | ||
color: @footer__color; | ||
margin-top: auto; | ||
padding: 2.6rem 2rem 6rem 3rem; | ||
a { | ||
.lib-link( | ||
@_link-color: @footer-link__color, | ||
@_link-text-decoration: @footer-link__text-decoration, | ||
@_link-color-visited: false, | ||
@_link-text-decoration-visited: false, | ||
@_link-color-hover: @footer-link__color, | ||
@_link-text-decoration-hover: false, | ||
@_link-color-active: false, | ||
@_link-text-decoration-active: false | ||
); | ||
} | ||
.admin__control-select { | ||
max-width: 52rem; | ||
width: 100%; | ||
} | ||
} | ||
|
||
.magento-version { | ||
margin-bottom: .5rem; | ||
strong { | ||
color: @footer-version__color; | ||
} | ||
} | ||
|
||
// Copyright | ||
.copyright { | ||
margin-bottom: -.2rem; | ||
position: relative; | ||
.link-copyright { | ||
display: inline-block; | ||
margin-right: .5rem; | ||
text-decoration: none; | ||
vertical-align: top; | ||
&:hover { | ||
&:before { | ||
color: lighten(@color-light-phoenix, 10%); | ||
} | ||
} | ||
&:before { | ||
&:extend(.abs-icon all); | ||
.transition(color); | ||
color: @primary__color; | ||
content: @icon-logo__content; | ||
display: block; | ||
font-size: 2.5rem; | ||
position: relative; | ||
top: -.2rem; | ||
} | ||
&:active { | ||
&:before { | ||
.scale(); | ||
} | ||
} | ||
} | ||
} | ||
|
||
.footer-legal { | ||
padding-top: 1rem; | ||
text-align: right; | ||
} | ||
|
||
// Locale switcher | ||
.locale-switcher { | ||
.label { | ||
display: block; | ||
margin-bottom: 1rem; | ||
} | ||
} | ||
|
||
// | ||
// Mobile | ||
// _____________________________________________ | ||
|
||
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { | ||
.footer-legal { | ||
padding-top: 3rem; | ||
text-align: left; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.