// /** // * Copyright © 2016 Magento. All rights reserved. // * See COPYING.txt for license details. // */ // // Common // _____________________________________________ & when (@media-common = true) { .pages { .lib-pager(); .action { @_shadow: inset 0 1px 0 0 @color-white, inset 0 -1px 0 0 fade(@border-color__base, 30); .lib-css(box-shadow, @_shadow); border-radius: 3px; padding: 0 8px; &.previous { margin-right: 8px; } &.next { margin-left: 8px; } } } } // // Mobile // _____________________________________________ .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { .pages { & &-items { display: block; padding: 2px 40px 0; position: relative; white-space: normal; z-index: 1; } &-item-previous { left: 0; position: absolute; top: 0; z-index: 1; } &-item-next { position: absolute; right: 0; top: 0; z-index: 1; } } }