![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/theme-frontend-luma/Magento_Newsletter/web/css/source/ |
// /** // * Copyright © Magento, Inc. All rights reserved. // * See COPYING.txt for license details. // */ // // Common // _____________________________________________ & when (@media-common = true) { // Newsletter subscription .block.newsletter { margin-bottom: 20px; .form.subscribe { display: table; width: 100%; } .fieldset { display: table-cell; margin: 0; padding: 0; vertical-align: top; } .field { margin: 0; .control { .lib-icon-font( @icon-envelope, @_icon-font-size: 16px, @_icon-font-line-height: 32px, @_icon-font-color: @form-element-input-placeholder__color, @_icon-font-margin: 0 0 0 8px ); &:before { position: absolute; } display: block; } } input { margin-right: 35px; padding: 0 0 0 35px; // Reset some default Safari padding values. } .title { display: none; } .label { &:extend(.abs-visually-hidden all); } .actions { display: table-cell; vertical-align: top; width: 1%; } .action.subscribe { border-bottom-left-radius: 0; border-top-left-radius: 0; margin-left: -1px; white-space: nowrap; } } } // // Desktop // _____________________________________________ .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { .block.newsletter { max-width: 44%; width: max-content; .field.newsletter { max-width: 220px; } .form.subscribe { > .field, > .actions { float: left; } } } } // // Mobile // _____________________________________________ .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { .block { &.newsletter { input { font-size: 12px; padding-left: 30px; } .field { .control:before { font-size: 13px; } } } } }