1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402 |
- // /**
- // * Copyright © Magento, Inc. All rights reserved.
- // * See COPYING.txt for license details.
- // */
- //
- // Styles Extends
- // _____________________________________________
- //
- // List default styles reset
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-reset-list {
- .lib-list-reset-styles();
- > li {
- margin: 0;
- }
- }
- }
- //
- // Link as a button
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-action-link-button {
- .lib-button();
- .lib-link-as-button();
- .lib-css(border-radius, @button__border-radius);
- }
- }
- //
- // Product options list
- // ---------------------------------------------
- @abs-product-options-list: {
- dt {
- clear: left;
- float: left;
- margin: 0 @indent__s @indent__xs 0;
- &:after {
- content: ': ';
- }
- }
- dd {
- display: inline-block;
- float: left;
- margin: 0 0 @indent__xs;
- }
- };
- & when (@media-common = true) {
- .abs-product-options-list {
- @abs-product-options-list();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-product-options-list-desktop {
- @abs-product-options-list();
- }
- }
- //
- // Button reset width, floats, margins
- // ---------------------------------------------
- @abs-button-responsive: {
- .lib-button-responsive();
- };
- & when (@media-common = true) {
- .abs-button-responsive {
- @abs-button-responsive();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-button-desktop {
- width: auto;
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
- .abs-button-responsive-smaller {
- @abs-button-responsive();
- }
- }
- //
- // Blocks in 2 columns
- // ---------------------------------------------
- @abs-blocks-2columns: {
- width: 48.8%;
- &:nth-child(odd) {
- clear: left;
- float: left;
- }
- &:nth-child(even) {
- float: right;
- }
- };
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-blocks-2columns {
- @abs-blocks-2columns();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
- .abs-blocks-2columns-s {
- @abs-blocks-2columns();
- }
- }
- //
- // Reset image alignment in container
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-reset-image-wrapper {
- height: auto;
- padding: 0 !important;
- .product-image-photo {
- position: static;
- }
- }
- }
- //
- // Adaptive images
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-adaptive-images {
- display: block;
- height: auto;
- max-width: 100%;
- }
- .abs-adaptive-images-centered {
- display: block;
- height: auto;
- margin: 0 auto;
- max-width: 100%;
- }
- }
- //
- // Title for login blocks
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-login-block-title {
- strong {
- font-weight: @font-weight__heavier;
- }
- .lib-font-size(18);
- border-bottom: 1px solid @secondary__color;
- margin-bottom: 15px;
- padding-bottom: 12px;
- }
- }
- //
- // Abstract block title
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-block-title {
- margin-bottom: 15px;
-
- > strong {
- .lib-heading(h3);
- }
- }
- }
- //
- // Account blocks
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-account-blocks {
- .block-title {
- &:extend(.abs-block-title all);
-
- > .action {
- margin-left: 15px;
- }
- }
- .box-title {
- display: inline-block;
- margin: 0 0 @indent__xs;
- > span {
- .lib-heading(h4);
- }
- > .action {
- font-weight: @font-weight__regular;
- margin-left: @indent__s;
- }
- }
- .block-content {
- p:last-child {
- margin-bottom: 0;
- }
- .box {
- margin-bottom: @indent__base;
- }
- }
- }
- }
- //
- // Simple Dropdown
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-dropdown-simple {
- .lib-dropdown(
- @_dropdown-list-item-padding: 5px 5px 5px 23px,
- @_dropdown-list-min-width: 200px,
- @_icon-font-margin: 0 0 0 5px,
- @_icon-font-vertical-align: middle
- );
- }
- }
- //
- // Input quantity
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-input-qty {
- text-align: center;
- width: 47px;
- }
- }
- //
- // Margin for blocks & widgets
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-margin-for-blocks-and-widgets {
- margin-bottom: @indent__xl;
- }
- }
- //
- // Remove button for blocks
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-remove-button-for-blocks {
- .lib-icon-font(
- @icon-remove,
- @_icon-font-size: 26px,
- @_icon-font-line-height: 15px,
- @_icon-font-text-hide: true,
- @_icon-font-color: @color-gray19,
- @_icon-font-color-hover: @color-gray19,
- @_icon-font-color-active: @color-gray19
- );
- }
- }
- //
- // Product link
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-product-link {
- font-weight: @font-weight__regular;
- > a {
- .lib-link(
- @_link-color: @product-name-link__color,
- @_link-text-decoration: @product-name-link__text-decoration,
- @_link-color-visited: @product-name-link__color__visited,
- @_link-text-decoration-visited: @product-name-link__text-decoration__visited,
- @_link-color-hover: @product-name-link__color__hover,
- @_link-text-decoration-hover: @product-name-link__text-decoration__hover,
- @_link-color-active: @product-name-link__color__active,
- @_link-text-decoration-active: @product-name-link__text-decoration__active
- );
- }
- }
- }
- //
- // Reset left margin
- // ---------------------------------------------
- @abs-reset-left-margin: {
- margin-left: 0;
- };
- & when (@media-common = true) {
- .abs-reset-left-margin {
- @abs-reset-left-margin();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-reset-left-margin-desktop {
- @abs-reset-left-margin();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
- .abs-reset-left-margin-desktop-s {
- @abs-reset-left-margin();
- }
- }
- //
- // Action with icon remove with text
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-action-remove {
- &:extend(.abs-action-button-as-link all);
- left: @indent__s;
- margin-left: 70%;
- position: absolute;
- top: 31px;
- width: auto;
- }
- }
- //
- // Action with icon remove with text for desktop
- // ---------------------------------------------
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-action-remove-desktop when not (@form-field-type-label-inline__width = false) and not (@form-field-type-label-inline__width = '') {
- margin-left: @form-field-type-label-inline__width + 50%;
- top: 6px;
- }
- }
- //
- // Add Recipient
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-add-fields {
- .fieldset {
- margin-bottom: 50px;
- .field {
- &:not(.choice) {
- .control {
- width: 70%;
- }
- }
- }
- .actions-toolbar {
- &:not(:first-child) {
- &:extend(.abs-add-clearfix all);
- > .secondary {
- .action {
- &.add {
- margin-top: @indent__l;
- }
- }
- float: left;
- }
- }
- }
- .fields {
- .actions-toolbar {
- margin: 0;
- }
- }
- }
- .message {
- &.notice {
- margin: @indent__l 0 0;
- }
- }
- .additional {
- margin-top: 55px;
- position: relative;
- }
- .action {
- &.remove {
- &:extend(.abs-action-remove all);
- }
- }
- }
- }
- //
- // Add Recipient for desktop
- // ---------------------------------------------
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-add-fields-desktop {
- .fieldset {
- .field {
- &:not(.choice) {
- .control {
- width: 50%;
- }
- }
- }
- .additional {
- .action {
- &.remove {
- &:extend(.abs-action-remove-desktop all);
- }
- }
- }
- }
- }
- }
- //
- // Margin for forms
- // ---------------------------------------------
- @abs-margin-for-forms-desktop: {
- .lib-css(margin-left, @form-field-type-label-inline__width);
- };
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-margin-for-forms-desktop {
- @abs-margin-for-forms-desktop();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
- .abs-margin-for-forms-desktop-s {
- @abs-margin-for-forms-desktop();
- }
- }
- //
- // Visibility hidden / show visibility hidden
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-hidden {
- .lib-visibility-hidden();
- }
- }
- //
- // Visually hidden / show visually hidden
- // ---------------------------------------------
- @abs-visually-hidden: {
- .lib-visually-hidden();
- };
- & when (@media-common = true) {
- .abs-visually-hidden {
- @abs-visually-hidden();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
- .abs-visually-hidden-mobile {
- @abs-visually-hidden();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
- .abs-visually-hidden-mobile-m {
- @abs-visually-hidden();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
- .abs-visually-hidden-desktop-s {
- @abs-visually-hidden();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-visually-hidden-desktop {
- @abs-visually-hidden();
- }
- }
- //
- // Visually hidden reset
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-visually-hidden-reset {
- .lib-visually-hidden-reset();
- }
- }
- //
- // Clearfix
- // ---------------------------------------------
- @abs-add-clearfix: {
- .lib-clearfix();
- };
- & when (@media-common = true) {
- .abs-add-clearfix {
- @abs-add-clearfix();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-add-clearfix-desktop {
- @abs-add-clearfix();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
- .abs-add-clearfix-desktop-s {
- @abs-add-clearfix();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
- .abs-add-clearfix-mobile {
- @abs-add-clearfix();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
- .abs-add-clearfix-mobile-m {
- @abs-add-clearfix();
- }
- }
- //
- // Box-sizing
- // ---------------------------------------------
- @abs-add-box-sizing: {
- box-sizing: border-box;
- };
- & when (@media-common = true) {
- .abs-add-box-sizing {
- @abs-add-box-sizing();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-add-box-sizing-desktop {
- @abs-add-box-sizing();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) {
- .abs-add-box-sizing-desktop-s {
- @abs-add-box-sizing();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-add-box-sizing-desktop-m {
- @abs-add-box-sizing();
- }
- }
- //
- // Revert field type
- // ---------------------------------------------
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-revert-field-type-desktop {
- .fieldset {
- > .field,
- .fields > .field {
- .lib-form-field-type-revert(@_type: block);
- &:not(:first-child):last-of-type {
- margin-bottom: 0;
- }
- }
- }
- }
- }
- //
- // Settings icons
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-navigation-icon {
- .lib-icon-font(
- @_icon-font-content: @icon-down,
- @_icon-font-size: 34px,
- @_icon-font-line-height: 1.2,
- @_icon-font-position: after,
- @_icon-font-display: block
- );
- &:after {
- position: absolute;
- right: @indent__xs;
- top: 0;
- }
- }
- }
- //
- // Split button
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-split-button {
- .lib-dropdown-split(
- @_options-selector : ~'.items',
- @_dropdown-split-button-border-radius-fix: true
- );
- vertical-align: middle;
- }
- }
- //
- // Action addto
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-action-addto-product {
- &:extend(.abs-action-link-button all);
- .lib-button-s();
- }
- .abs-actions-addto-gridlist {
- .lib-icon-font(
- @_icon-font-content: '',
- @_icon-font-size: 29px,
- @_icon-font-color: @addto-color,
- @_icon-font-color-hover: @addto-hover-color,
- @_icon-font-text-hide: true,
- @_icon-font-vertical-align: middle,
- @_icon-font-line-height: 24px
- );
- }
- }
- //
- // Large button
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-button-l {
- .lib-button-l();
- }
- }
- //
- // Button as a link
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-action-button-as-link {
- .lib-button-as-link(@_margin: false);
- border-radius: 0;
- font-size: inherit;
- font-weight: @font-weight__regular;
- &:active,
- &:not(:focus) {
- box-shadow: none;
- }
- }
- }
- //
- // Button revert secondary color
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-revert-secondary-color {
- .lib-button-revert-secondary-color();
- }
- }
- //
- // Button revert secondary size
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-revert-secondary-size {
- .lib-button-revert-secondary-size();
- }
- }
- //
- // Box-tocart block
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-box-tocart {
- margin: @indent__s 0;
- }
- }
- //
- // Excl/Incl tax
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-adjustment-incl-excl-tax {
- .price-including-tax,
- .price-excluding-tax,
- .weee {
- .lib-font-size(14);
- display: inline-block;
- white-space: nowrap;
- }
- .price-including-tax + .price-excluding-tax {
- display: inline-block;
- .lib-font-size(11);
- &:before {
- content: '('attr(data-label)': ';
- }
- &:after {
- content: ')';
- }
- }
- }
- }
- //
- // Cart tax total
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-tax-total {
- cursor: pointer;
- padding-right: 12px;
- position: relative;
- .lib-icon-font(
- @icon-down,
- @_icon-font-size: 26px,
- @_icon-font-line-height: 10px,
- @_icon-font-margin: 3px 0 0 0,
- @_icon-font-position: after
- );
- &:after {
- position: absolute;
- right: -@indent__s;
- top: 3px;
- }
- &-expanded {
- .lib-icon-font-symbol(
- @_icon-font-content: @icon-up,
- @_icon-font-position: after
- );
- }
- }
- .abs-tax-total-expanded {
- .lib-icon-font-symbol(
- @_icon-font-content: @icon-up,
- @_icon-font-position: after
- );
- }
- }
- //
- // Checkout shipping methods title
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-methods-shipping-title {
- .lib-font-size(14);
- font-weight: @font-weight__bold;
- margin: 0 0 15px;
- }
- }
- //
- // Checkout order review
- // ---------------------------------------------
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
- .abs-checkout-order-review {
- tbody tr {
- &:not(:last-child) {
- border-bottom: @border-width__base solid @border-color__base;
- }
- &:extend(.abs-add-clearfix-mobile all);
- .col {
- &.item {
- &:before {
- display: none;
- }
- }
- &.qty,
- &.price,
- &.subtotal {
- box-sizing: border-box;
- float: left;
- text-align: center;
- white-space: nowrap;
- width: 33%;
- &[data-th]:before {
- content: attr(data-th) ':';
- display: block;
- font-weight: @font-weight__bold;
- padding-bottom: @indent__s;
- }
- }
- }
- .product-item-name {
- margin: 0;
- }
- }
- }
- }
- //
- // Add colon
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-colon {
- &:after {
- content: ': ';
- }
- }
- }
- //
- // Icon - create add
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-icon-add {
- .lib-icon-font(
- @_icon-font-content: @icon-expand,
- @_icon-font-size: 10px,
- @_icon-font-line-height: 10px,
- @_icon-font-vertical-align: middle
- );
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
- .abs-icon-add-mobile {
- .lib-icon-font(
- @_icon-font-content: @icon-expand,
- @_icon-font-size: 10px,
- @_icon-font-line-height: 10px,
- @_icon-font-vertical-align: middle,
- @_icon-font-margin: 0 5px 0 0,
- @_icon-font-display: block
- );
- }
- }
- //
- // Dropdown items - create new
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-dropdown-items-new {
- .items .item:last-child {
- &:hover {
- .lib-css(background, @dropdown-list-item__hover);
- }
- }
- .action.new {
- &:extend(.abs-icon-add all);
- &:before {
- margin-left: -17px;
- margin-right: @indent__xs;
- }
- }
- }
- }
- //
- // Abstract toggle title block
- // ---------------------------------------------
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
- .abs-toggling-title-mobile {
- border-bottom: @border-width__base solid @border-color__base;
- border-top: @border-width__base solid @border-color__base;
- cursor: pointer;
- margin-bottom: 0;
- padding: @indent__s @indent__xl @indent__s @layout__width-xs-indent;
- position: relative;
- .lib-icon-font(
- @_icon-font-content: @icon-down,
- @_icon-font-size: 28px,
- @_icon-font-text-hide: false,
- @_icon-font-position: after,
- @_icon-font-display: block
- );
- &:after {
- position: absolute;
- right: @indent__s;
- top: 0;
- }
- &.active {
- .lib-icon-font-symbol(
- @_icon-font-content: @icon-up,
- @_icon-font-position: after
- );
- }
- }
- }
- //
- // Abstract no display
- // ---------------------------------------------
- @abs-no-display: {
- display: none;
- };
- & when (@media-common = true) {
- .abs-no-display {
- @abs-no-display();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
- .abs-no-display-s {
- @abs-no-display();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-no-display-desktop {
- @abs-no-display();
- }
- }
- //
- // Status
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-status {
- display: inline-block;
- margin-bottom: @indent__base;
- }
- }
- //
- // Pager toolbar for non-catalog pages mobile
- // ---------------------------------------------
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
- .abs-pager-toolbar-mobile {
- .toolbar-amount,
- .limiter,
- .pages {
- float: none;
- margin-bottom: @indent__m;
- }
- }
- }
- //
- // Pager toolbar for non-catalog pages mobile
- // ---------------------------------------------
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
- .abs-pager-toolbar-mobile-s {
- .toolbar-amount,
- .limiter,
- .pages {
- margin-bottom: @indent__m;
- }
- }
- }
- //
- // Pager toolbar for non-catalog pages desktop
- // ---------------------------------------------
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-pager-toolbar {
- margin-bottom: @indent__base;
- position: relative;
- &:extend(.abs-add-clearfix-desktop all);
- .limiter {
- float: right;
- position: relative;
- z-index: 1;
- }
- .toolbar-amount {
- float: left;
- line-height: normal;
- padding: 7px 0 0;
- position: relative;
- z-index: 1;
- }
- .pages {
- position: absolute;
- width: 100%;
- z-index: 0;
- }
- }
- }
- //
- // Items counter in blocks
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-block-items-counter {
- .lib-css(color, @primary__color__lighter);
- .lib-font-size(12px);
- white-space: nowrap;
- }
- }
- //
- // Shopping cart items
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-shopping-cart-items {
- .action {
- &.continue {
- border-radius: 3px;
- font-weight: @font-weight__bold;
- .lib-link-as-button();
- .lib-button(
- @_button-padding: 7px 15px 7px 0,
- @_button-icon-use: true,
- @_button-font-content: @icon-prev,
- @_button-icon-font-size: 32px,
- @_button-icon-font-line-height: 16px,
- @_button-icon-font-position: before
- );
- &:active {
- .lib-css(box-shadow, @button__shadow);
- }
- }
- &.update {
- .lib-button-icon(
- @icon-update,
- @_icon-font-size: 32px,
- @_icon-font-line-height: 16px
- );
- padding-left: @indent__xs;
- }
- }
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
- .abs-shopping-cart-items-mobile {
- .actions {
- text-align: center;
- }
- .action {
- &.update,
- &.continue,
- &.clear {
- margin: 0 auto @indent__s;
- }
- &.update,
- &.clear {
- display: block;
- }
- }
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
- .abs-shopping-cart-items-desktop {
- float: left;
- position: relative;
- width: 73%;
- .actions {
- text-align: right;
- }
- .action {
- &.clear,
- &.update {
- margin-left: @indent__s;
- }
- &.continue {
- float: left;
- }
- }
- }
- }
- //
- // Form Field Date
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-field-date {
- .control {
- &:extend(.abs-add-box-sizing all);
- position: relative;
- }
- input {
- &:extend(.abs-field-date-input);
- }
- }
- }
- //
- // Form Field Date Input
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-field-date-input {
- margin-right: @indent__s;
- width: calc(~'100% -' @icon-calendar__font-size + @indent__s);
- }
- }
- //
- // Form Field Tooltip
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-field-tooltip {
- &:extend(.abs-add-box-sizing all);
- position: relative;
- input {
- margin-right: @indent__s;
- width: calc(~'100% -' @checkout-tooltip-icon__font-size + @indent__s + @indent__xs);
- }
- }
- }
- //
- // Checkout Tooltip Content (position: top)
- // ---------------------------------------------
- @abs-checkout-tooltip-content-position-top: {
- .lib-css(right, @checkout-tooltip-content-mobile__right);
- .lib-css(top, @checkout-tooltip-content-mobile__top);
- left: auto;
- &:before,
- &:after {
- .lib-arrow(
- @_position: top,
- @_size: @checkout-tooltip-icon-arrow__font-size,
- @_color: @checkout-tooltip-content__background-color
- );
- .lib-css(margin-top, @checkout-tooltip-icon-arrow__left);
- right: @indent__s;
- left: auto;
- top: 0;
- }
- &:before {
- .lib-css(border-bottom-color, @checkout-tooltip-content__border-color);
- }
- &:after {
- .lib-css(border-bottom-color, @checkout-tooltip-content__background-color);
- top: 1px;
- }
- };
- & when (@media-common = true) {
- .abs-checkout-tooltip-content-position-top {
- @abs-checkout-tooltip-content-position-top();
- }
- }
- .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
- .abs-checkout-tooltip-content-position-top-mobile {
- @abs-checkout-tooltip-content-position-top();
- }
- }
- //
- // Checkout title
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-checkout-title {
- .lib-css(border-bottom, @checkout-step-title__border);
- .lib-css(padding-bottom, @checkout-step-title__padding);
- .lib-typography(
- @_font-size: @checkout-step-title__font-size,
- @_font-weight: @checkout-step-title__font-weight,
- @_font-family: false,
- @_font-style: false,
- @_line-height: false
- );
- }
- }
- //
- // Shopping cart sidebar and checkout sidebar totals
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-sidebar-totals {
- .mark {
- font-weight: @font-weight__regular;
- padding-left: 4px;
- strong {
- font-weight: @font-weight__regular;
- }
- }
- .amount {
- padding-right: 4px;
- text-align: right;
- white-space: nowrap;
- strong {
- font-weight: @font-weight__regular;
- }
- }
- .grand {
- .mark,
- .amount {
- padding-top: @indent__base;
- }
- .amount {
- padding-right: 4px;
- text-align: right;
- strong {
- font-weight: @font-weight__bold;
- }
- }
- }
- .msrp {
- margin-bottom: @indent__s;
- }
- .totals-tax {
- &-summary {
- .mark,
- .amount {
- .lib-css(border-top, @border-width__base solid @border-color__base);
- .lib-css(border-bottom, @border-width__base solid @border-color__base);
- cursor: pointer;
- }
- .amount .price {
- .lib-icon-font(
- @icon-down,
- @_icon-font-size: 30px,
- @_icon-font-text-hide: true,
- @_icon-font-position: after,
- @_icon-font-display: block
- );
- padding-right: @indent__m;
- position: relative;
- &:after {
- position: absolute;
- right: -5px;
- top: -12px;
- }
- }
- &.expanded {
- .mark,
- .amount {
- border-bottom: 0;
- }
- .amount .price {
- .lib-icon-font-symbol(
- @_icon-font-content: @icon-up,
- @_icon-font-position: after
- );
- }
- }
- }
- &-details {
- .lib-css(border-bottom, @border-width__base solid @border-color__base);
- display: none;
- &.shown {
- display: table-row;
- }
- }
- }
- .table-caption {
- &:extend(.abs-no-display all);
- }
- }
- }
- //
- // Shopping cart and payment discount codes block
- // ---------------------------------------------
- & when (@media-common = true) {
- .abs-discount-block {
- > .title {
- border-top: @border-width__base solid @border-color__base;
- cursor: pointer;
- font-weight: @font-weight__semibold;
- .lib-icon-font(
- @_icon-font-content: @icon-down,
- @_icon-font-size: 30px,
- @_icon-font-position: after,
- @_icon-font-display: block
- );
- margin-bottom: 0;
- overflow: hidden;
- padding: 7px @indent__l 7px @indent__xs;
- position: relative;
- &:after {
- position: absolute;
- right: -5px;
- top: -5px;
- }
- strong {
- .column.main & {
- .lib-font-size(18);
- font-weight: @font-weight__regular;
- }
- }
- }
- > .content {
- display: none;
- }
- &.active {
- > .title {
- .lib-icon-font-symbol(
- @_icon-font-content: @icon-up,
- @_icon-font-position: after
- );
- }
- > .content {
- display: block;
- }
- }
- }
- }
|