// /** // * Copyright © Magento, Inc. All rights reserved. // * See COPYING.txt for license details. // */ // // Theme variables // _____________________________________________ // Messages @message-global-note__background: rgba(0, 0, 0, 0.8); @message-global-note__border-color: @color-yellow-light3; @message-global-note__color: #ffffff; @message-global-note-link__color: @main_color; @message-global-note-link__color-hover: @link__hover__color; @message-global-note-link__color-active: @link__active__color; @message-global-caution__background: @color-red9; @message-global-caution__border-color: none; @message-global-caution__color: @color-white; @message-global-caution-link__color: @link__color; @message-global-caution-link__color-hover: @link__hover__color; @message-global-caution-link__color-active: @link__active__color; // Header @header__background-color: false; @header-icons-color: @color-black; @header-icons-color-hover: @main_color; @addto-color: @text__color__muted; @addto-hover-color: @primary__color; @minicart-icons-color: @header-icons-color; @minicart-icons-color-hover: @header-icons-color-hover; @button__shadow: inset 0 2px 1px rgba(0,0,0,.12); @h1__margin-bottom__desktop: @indent__xl; // Footer @footer__background-color: false; // // Common // _____________________________________________ & when (@media-common = true) { body { .lib-css(background-color, @page_background); } .page-main { > .page-title-wrapper { .page-title + .action { margin-top: @indent__l; } } } .page-print { .nav-toggle { display: none; } .page-title-wrapper { display: inline-block; width: 100%; margin-top: 20px; .page-title { padding: 0; margin: 0; float: left; } .order-status { float: right; margin: 0; } .order-date { display: inline-block; width: 100%; text-align: right; } } } .action.skip { &:not(:focus) { &:extend(.abs-visually-hidden all); } &:focus { .lib-css(background, @color-gray94); .lib-css(padding, @indent__s); box-sizing: border-box; left: 0; position: absolute; text-align: center; top: 0; width: 100%; z-index: 15; } } // // Global notice // --------------------------------------------- .message.global { p { margin: 0; } &.noscript, &.cookie { .lib-message(@_message-type: global-note); margin: 0; } &.cookie { bottom: 0; left: 0; position: fixed; right: 0; z-index: 1003; .font-size(16); text-align: center; padding: 20px; .content { max-width: 1200px; text-align: left; display: inline-block; position: relative; > p { display: inline-block; padding-right: 150px; } } .actions { position: absolute; right: 0; top: 0; } &.bottom-left { width: 320px; .content { > p { padding-right: 0; } } .actions { margin-top: 10px; position: static; text-align: center; } } &.bottom-right { width: 320px; left: auto; right: 0; .content { > p { padding-right: 0; } } .actions { margin-top: 10px; position: static; text-align: center; } } } &.demo { .lib-message(@_message-type: global-caution); margin-bottom: 0; text-align: center; } } // // Footer // --------------------------------------------- .page-footer { .lib-css(background-color, @footer__background-color); margin-top: auto; } .footer { &.content { border-top: 1px solid @border-color__base; margin-top: 25px; padding-bottom: 25px; padding-top: 25px; ul { &:extend(.abs-reset-list all); } .links { > li { margin: 0 0 8px; } } .switcher-store { margin: 0 0 30px; } } .copyright, .bugs { display: block; margin: 20px 0 0; } } // // Widgets // --------------------------------------------- .sidebar { .widget.block:not(:last-child), .widget:not(:last-child) { &:extend(.abs-margin-for-blocks-and-widgets all); } } .widget { clear: both; .block-title { &:extend(.abs-block-title all); } } .no-display { &:extend(.abs-no-display all); } // // Calendar // --------------------------------------------- .ui-datepicker { td { padding: 0; } } @media (min-width: 600px), print { .page-print .block-order-details-view .block-content .box { width: 50%; float: left; } } } // // Desktop // _____________________________________________ .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { .header { &.panel { > .header.links { float: right; font-size: 0; .lib-list-inline(); margin-left: auto; > li { font-size: @font-size__base; margin: 0 0 0 15px; &.welcome, a { line-height: 1.4; } &.welcome { a { .lib-css(padding-left, @indent__xs); } } } } } } .page-main { > .page-title-wrapper { .page-title { display: inline-block; } .page-title + .action { float: right; margin-top: @indent__base; } } } .footer { &.content { .block { float: right; } .links { display: inline-block; margin-bottom: 20px; padding: 0 50px 0 0; vertical-align: top; } .switcher.store { display: inline-block; padding-right: 50px; vertical-align: top; } } .copyright { &:extend(.abs-add-clearfix all); } } }