From 5f79ad059d50f1bb7ea021b8ef4e0ed1a21044b1 Mon Sep 17 00:00:00 2001 From: Jakub Winkler Date: Fri, 4 Jul 2025 07:19:33 +0200 Subject: [PATCH] issue-21446, removing commerce modules from open-source --- .../web/css/source/_module.less | 45 -- .../web/css/source/_module.less | 39 -- .../web/css/source/_module.less | 23 - .../web/css/source/_module.less | 16 - .../web/css/source/_module.less | 16 - .../web/css/source/_module-old.less | 9 - .../web/css/source/_module.less | 41 -- .../web/css/source/_module.less | 157 ----- .../web/css/source/_module.less | 45 -- .../Magento_Rma/web/css/source/_module.less | 79 --- .../web/css/source/_module.less | 43 -- .../web/css/source/_module.less | 358 ----------- .../web/css/source/_module.less | 176 ------ .../web/css/source/_widgets.less | 101 ---- .../web/css/source/_widgets.less | 32 - .../web/css/source/_module.less | 143 ----- .../web/css/source/_widgets.less | 190 ------ .../web/css/source/_module.less | 49 -- .../web/css/source/_module.less | 45 -- .../web/css/source/_module.less | 354 ----------- .../web/css/source/_module.less | 277 --------- .../web/css/source/_widgets.less | 7 - .../web/css/source/_module.less | 272 --------- .../web/css/source/_module.less | 55 -- .../web/css/source/_module.less | 500 --------------- .../web/css/source/_widgets.less | 16 - .../Magento_Rma/web/css/source/_email.less | 17 - .../Magento_Rma/web/css/source/_module.less | 170 ------ .../web/css/source/_widgets.less | 23 - .../web/css/source/_module.less | 197 ------ .../web/css/source/_widgets.less | 102 ---- .../web/css/source/_module.less | 60 -- .../web/css/source/_module.less | 190 ------ .../layout/checkout_cart_index.xml | 12 - .../web/css/source/_module.less | 64 -- .../web/css/source/_module.less | 432 ------------- .../web/css/source/_module.less | 403 ------------ .../web/css/source/_module.less | 326 ---------- .../web/css/source/_module.less | 571 ------------------ .../web/css/source/_module.less | 50 -- .../Magento_Rma/web/css/source/_module.less | 210 ------- 41 files changed, 5915 deletions(-) delete mode 100644 app/design/adminhtml/Magento/backend/Magento_AdvancedCheckout/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_Banner/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_CatalogPermissions/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_CustomerBalance/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_GiftCard/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_GiftRegistry/web/css/source/_module-old.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_GiftRegistry/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_GiftWrapping/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_Reward/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_Rma/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_VersionsCms/web/css/source/_module.less delete mode 100644 app/design/adminhtml/Magento/backend/Magento_VisualMerchandiser/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_widgets.less delete mode 100644 app/design/frontend/Magento/blank/Magento_Banner/web/css/source/_widgets.less delete mode 100644 app/design/frontend/Magento/blank/Magento_CatalogEvent/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_CatalogEvent/web/css/source/_widgets.less delete mode 100644 app/design/frontend/Magento/blank/Magento_GiftCard/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_GiftCardAccount/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_GiftMessage/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_GiftRegistry/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_GiftRegistry/web/css/source/_widgets.less delete mode 100644 app/design/frontend/Magento/blank/Magento_GiftWrapping/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_Invitation/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_MultipleWishlist/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_MultipleWishlist/web/css/source/_widgets.less delete mode 100644 app/design/frontend/Magento/blank/Magento_Rma/web/css/source/_email.less delete mode 100644 app/design/frontend/Magento/blank/Magento_Rma/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/blank/Magento_VersionsCms/web/css/source/_widgets.less delete mode 100644 app/design/frontend/Magento/luma/Magento_AdvancedCheckout/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/luma/Magento_AdvancedCheckout/web/css/source/_widgets.less delete mode 100644 app/design/frontend/Magento/luma/Magento_CustomerBalance/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/luma/Magento_GiftCard/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/luma/Magento_GiftCardAccount/layout/checkout_cart_index.xml delete mode 100644 app/design/frontend/Magento/luma/Magento_GiftCardAccount/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/luma/Magento_GiftMessage/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/luma/Magento_GiftRegistry/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/luma/Magento_GiftWrapping/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/luma/Magento_MultipleWishlist/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/luma/Magento_Reward/web/css/source/_module.less delete mode 100644 app/design/frontend/Magento/luma/Magento_Rma/web/css/source/_module.less diff --git a/app/design/adminhtml/Magento/backend/Magento_AdvancedCheckout/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_AdvancedCheckout/web/css/source/_module.less deleted file mode 100644 index 1a54ba92dc66a..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_AdvancedCheckout/web/css/source/_module.less +++ /dev/null @@ -1,45 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -.add-by-sku-wrapper { - .accordion & { - margin: 0 0 @indent__base; - } - - .add-sku-csv { - .admin__field-label { - &:before { - display: none; - } - } - } -} - -.order-search-items { - .col-select { - text-align: center; - - .data-grid-checkbox-cell-inner { - text-align: center; - } - } -} - -.order-discounts { - .action-secondary:not(:first-of-type) { - margin-right: @indent__s; - } -} - -.order-errors { - .admin__fieldset-wrapper { - .title { - &:extend(.message all); - &:extend(.message-notice all); - display: block; - margin: 0 0 @indent__base; - } - } -} diff --git a/app/design/adminhtml/Magento/backend/Magento_Banner/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_Banner/web/css/source/_module.less deleted file mode 100644 index dd67220db12da..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_Banner/web/css/source/_module.less +++ /dev/null @@ -1,39 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -input[type='checkbox'].banner-content-checkbox { - position: absolute; - top: .8rem; - - + .addafter { - line-height: 3.2rem; - padding-left: 2.6rem; - } -} - -.tree-store-scope { - .field { - .banner-content-checkbox { - + .addafter { - padding: 0 0 0 2.6rem; - } - } - } -} - -.adminhtml-widget_instance-edit, -.adminhtml-cms_page-edit, -.adminhtml-banner-edit { - .admin__fieldset { - .admin__field-control { - .data-grid-actions-cell, - .data-grid-checkbox-cell-inner { - input[type='checkbox'] { - margin-top: 0; - } - } - } - } -} diff --git a/app/design/adminhtml/Magento/backend/Magento_CatalogPermissions/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_CatalogPermissions/web/css/source/_module.less deleted file mode 100644 index f0c98c891b5ba..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_CatalogPermissions/web/css/source/_module.less +++ /dev/null @@ -1,23 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -.permissions-custom-options { - margin: 0 0 @indent__base; - - .admin__control-table { - margin: 0 0 @indent__xs; - } - - .col-grants { - .admin__field-label { - display: block; - text-align: left; - } - } -} - -.warning-enable-permissions { - color: #f00; -} diff --git a/app/design/adminhtml/Magento/backend/Magento_CustomerBalance/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_CustomerBalance/web/css/source/_module.less deleted file mode 100644 index 7ea02c47111f8..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_CustomerBalance/web/css/source/_module.less +++ /dev/null @@ -1,16 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -.field-refund-store-credit { - .admin__control-text { - margin-left: @indent__s; - width: 8rem; - } -} - -.order-creditmemo-tables { - &:extend(.abs-order-tables all); - &:extend(.abs-order-tbody-border all); -} diff --git a/app/design/adminhtml/Magento/backend/Magento_GiftCard/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_GiftCard/web/css/source/_module.less deleted file mode 100644 index d7e79bdca9431..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_GiftCard/web/css/source/_module.less +++ /dev/null @@ -1,16 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -.admin__field-amount { - .admin__control-table { - width: auto; - } - - tbody { - .admin__control-text { - min-width: @field-size__s; - } - } -} diff --git a/app/design/adminhtml/Magento/backend/Magento_GiftRegistry/web/css/source/_module-old.less b/app/design/adminhtml/Magento/backend/Magento_GiftRegistry/web/css/source/_module-old.less deleted file mode 100644 index 3e1a1b9cf9be9..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_GiftRegistry/web/css/source/_module-old.less +++ /dev/null @@ -1,9 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Stores -> Gift Registry -// --------------------------------------------- - diff --git a/app/design/adminhtml/Magento/backend/Magento_GiftRegistry/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_GiftRegistry/web/css/source/_module.less deleted file mode 100644 index f26c66988eb52..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_GiftRegistry/web/css/source/_module.less +++ /dev/null @@ -1,41 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Gift Registry styles -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - - .gift-registry-info { - float: left; - #mix-grid .width(6,12); - } - - .gift-registry-address { - float: right; - #mix-grid .width(6,12); - } -} - -.form-sharing-info { - .admin__legend { - &:extend(.abs-clearfix all); - border-bottom: 1px solid @color-gray80; - margin-bottom: 1.7rem; - padding: 1.4rem 0 .5rem; - span { - &:extend(h2); - float: left; - margin: 0; - } - } - - .sharing-info-textarea { - display: block; - height: 50px; - margin-bottom: @indent__m; - } -} diff --git a/app/design/adminhtml/Magento/backend/Magento_GiftWrapping/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_GiftWrapping/web/css/source/_module.less deleted file mode 100644 index 9a1793eec5649..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_GiftWrapping/web/css/source/_module.less +++ /dev/null @@ -1,157 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Create Order -> Gift wrapping -// _____________________________________________ - -.order-create-gift-wrapping { - float: left; - - #mix-grid .width(6, 12); - - .admin__field { - margin: 1.5rem 0; - } - - .gift-wrapping-design { - display: none; - - &._active { - display: block; - } - } -} - -.giftmessage-order-create { - & + .order-create-gift-wrapping { - float: right; - } -} - -.order-create-gift-wrapping, -.order-gift-options, -.gift-options-popup { - .gift-wrapping-design { - &:extend(.abs-clearfix all); - - .image-box { - float: left; - margin-right: 1.5rem; - max-height: 7.5rem; - max-width: 7.5rem; - } - } -} - -.order-gift-options { - .admin__field { - margin: 1.5rem 0; - } -} - -.gift-options-popup { - .admin__legend { - &:extend(.abs-fieldset-legend all); - } - - .admin__field { - &:extend(.abs-field-rows all); - margin-bottom: 1.5rem; - } - - .price { - font-weight: @font-weight__bold; - } - - .image-box { - display: none; - - &._active { - display: block; - } - } -} - -.ui-dialog { - .gift-wrapping-form { - .admin__legend { - margin: 0; - } - } -} - -// -// Stores -> Other Settings -> Gift wrapping (create/edit) -// _____________________________________________ -// TODO UI: remove after page build on ui-components - -[class*='adminhtml-giftwrapping-'] { - .field-base_price { - .admin__field-control { - max-width: @field-size__s; - } - - .admin__control-addon { - > .addafter { - &:extend(.admin__addon-prefix all); - .lib-vendor-prefix-flex-basis(auto); - .lib-vendor-prefix-flex-grow(0); - .lib-vendor-prefix-flex-shrink(0); - position: relative; - z-index: 1; - } - - [class*='admin__control-'][class] { - & ~ .addafter:last-child { - padding-left: 1rem; - position: static !important; - z-index: 0; - - > * { - position: relative; - vertical-align: top; - z-index: 1; - } - } - - & ~ .addafter:last-child:before { - &:extend(.abs-form-control-pattern); - bottom: 0; - box-sizing: border-box; - content: ''; - left: 0; - position: absolute; - top: 0; - width: 100%; - z-index: -1; - } - - &[disabled] ~ .addafter:last-child:before { - &:extend(.abs-form-control-pattern[disabled]); - } - - &:focus ~ .addafter:last-child:before { - &:extend(.abs-form-control-pattern:focus); - } - - &:hover ~ .addafter:last-child:before { - &:extend(.abs-form-control-pattern:hover); - } - } - } - } - - .field-image { - .admin__field-control { - padding-top: .8rem; - - > a { - display: inline-block; - vertical-align: middle; - } - } - } -} diff --git a/app/design/adminhtml/Magento/backend/Magento_Reward/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_Reward/web/css/source/_module.less deleted file mode 100644 index 156560fc7360b..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_Reward/web/css/source/_module.less +++ /dev/null @@ -1,45 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Reward Page -// _____________________________________________ - -// -// Variables -// --------------------------------------------- - -@boundary__margin: 30px; -@boundary__ratio: 1.75; - -.adminhtml-reward-rate-edit { - .field-rate { - .admin__field-control { - &:extend(.abs-clearfix all); - } - - .boundary { - float: left; - width: 125px; - } - - .boundary-upper { - margin-left: @boundary__margin; - position: relative; - - &:before { - content: '»'; - left: -(@boundary__margin / @boundary__ratio); - position: absolute; - top: 25%; - } - - label { - .lib-visibility-hidden(); - display: block; - } - } - } -} diff --git a/app/design/adminhtml/Magento/backend/Magento_Rma/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_Rma/web/css/source/_module.less deleted file mode 100644 index 16c84047b529d..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_Rma/web/css/source/_module.less +++ /dev/null @@ -1,79 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .rma-request-details, - .rma-wrapper .order-shipping-address { - float: left; - /** - * @codingStandardsIgnoreStart - */ - #mix-grid .width(6, 12); - //@codingStandardsIgnoreEnd - } - - .rma-confirmation, - .rma-wrapper .order-return-address, .rma-wrapper .order-shipping-method { - float: right; - /** - * @codingStandardsIgnoreStart - */ - #mix-grid .width(6, 12); - //@codingStandardsIgnoreEnd - } -} - -.rma-items { - .col-actions { - .action-item-details, - .action-item-split-line { - &:extend(.abs-action-default all); - margin: 0 0 @order-create-sidebar__margin__s; - } - - .action-item-delete-line { - &:extend(.abs-action-delete all); - } - - .action { - margin-right: @indent__xs; - } - } - - .admin__control-select { - max-width: 10rem; - } -} - -.rma-items-block { - .col-actions { - a { - &:extend(.abs-action-default all); - margin: 0 0 @order-create-sidebar__margin__s; - } - } - .col-reason { - .admin__control-select + .admin__control-text { - margin-top: @indent__xs; - } - } -} - -.select-order-items-block, -.rma-items-block { - .admin__page-section-title { - .actions { - float: right; - margin-bottom: 1.7rem; - margin-top: -.3rem; - } - } -} - -.col-rma-product { - a { - float: right; - } -} diff --git a/app/design/adminhtml/Magento/backend/Magento_VersionsCms/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_VersionsCms/web/css/source/_module.less deleted file mode 100644 index f0ea29b4e8d5f..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_VersionsCms/web/css/source/_module.less +++ /dev/null @@ -1,43 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Hierarchy styles -// _____________________________________________ - -.cms-hierarchy { - &:extend(.abs-clearfix all); - - .cms-hierarchy-tree, - .cms-hierarchy-node { - float: left; - width: 50%; - } - - .cms-page-grid-container { - clear: both; - } - - .admin__page-section-title { - .actions { - float: right; - } - } - - .buttons-set { - margin: 0 0 1.14rem; - button { - margin-right: .36rem; - } - } -} - -.version-fieldset { - .grid-actions { - border-bottom: 1px solid @color-lazy-sun-white; - margin: 0 0 15px; - padding: 0 0 15px; - } -} diff --git a/app/design/adminhtml/Magento/backend/Magento_VisualMerchandiser/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_VisualMerchandiser/web/css/source/_module.less deleted file mode 100644 index 152dd4050ad40..0000000000000 --- a/app/design/adminhtml/Magento/backend/Magento_VisualMerchandiser/web/css/source/_module.less +++ /dev/null @@ -1,358 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -.merchandiser-app { - &:extend(.abs-clearfix all); - - ul.tabs { - float: right; - } - - .merchandiser-tab { - padding: 0; - } - - .tabs { - &:extend(.abs-clearfix all); - list-style: none; - overflow: hidden; - - li { - background-color: @color-gray94; - float: left; - - > a { - border: 1px solid @color-gray80; - color: @color-very-dark-gray1; - display: block; - padding: 7px 10px; - text-decoration: none; - } - } - - li:last-child > a { - border-left: 0; - } - - li.ui-tabs-active { - background-color: @color-gray85; - } - } - - .catalog-category-merchandiser-list { - overflow: hidden; - - > li { - background-color: @color-white; - border: 1px solid @color-gray85; - float: left; - height: 340px; - list-style: none; - margin: 0 25px 20px 0; - padding: 10px; - width: 190px; - } - - .image-holder { - text-align: center; - - img { - max-height: 130px; - } - } - - .controlbar-top { - overflow: hidden; - - a { - color: @color-gray85; - cursor: move; - display: block; - float: left; - text-decoration: none; - } - - a:last-child { - cursor: pointer; - float: right; - } - } - - .info-block { - height: 100px; - > span { - display: inline-block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - width: 100%; - } - } - - .controlbar-bottom { - .position { - border-top: 1px solid @color-gray85; - margin-top: 6px; - padding-top: 4px; - - input { - float: left; - height: 25px; - margin-right: 5px; - width: 50px; - } - - a { - color: @color-gray85; - display: block; - float: left; - margin-right: 5px; - margin-top: -2px; - text-decoration: none; - } - } - } - - .selected { - background-color: @color-pink-light; - } - } - - .draggable-handle { - &:extend(.abs-draggable-handle all); - } - - table.data-grid { - th.col-draggable-position { - margin: 0 auto; - width: 10px; - } - - td.col-position { - > * { - float: left; - margin-right: 5px; - } - - .position input { - text-align: center; - width: 40px; - } - - a { - color: @color-gray85; - text-decoration: none; - } - } - - .selected td { - background-color: @color-pink-light; - } - - tr.on-mouse td { - background-color: @color-blue-clear-sky; - } - } - - .mode-tile, - .mode-grid, - .icon-gripper, - .icon-close-mage, - .icon-backward, - .icon-forward, - .block-search .label { - &:before { - -webkit-font-smoothing: antialiased; - font-family: 'Admin Icons'; - font-size: 17px; - speak: none; - } - } - - .mode-grid, - .mode-tile, - .icon-backward, - .icon-forward, - .icon-close-mage, - .icon-gripper { - > span { - border: 0; - clip: rect(0, 0, 0, 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - } - } - - .mode-tile { - &:before { - content: '\e63d'; - } - } - - .mode-grid { - &:before { - content: '\e63e'; - } - } - - .icon-gripper { - &:before { - content: '\e617'; - } - } - - .icon-close-mage { - &:before { - content: '\e62f'; - } - } - - .icon-backward { - &:before { - content: '\e619'; - } - } - - .icon-forward { - &:before { - content: '\e618'; - } - } - - .hidden { - display: none; - } - - .automatic-sorting { - margin-bottom: 5px; - margin-top: 5px; - } -} - -.catalog-category-add-product-tabs-content { - .admin__data-grid-header { - .admin__data-grid-pager-wrap { - float: right; - } - } - - .data-grid-search-control-wrap { - .massassign-textarea, - .massassign-buttons, - .massassign-messages { - display: block; - margin: 5px; - } - } -} - -// -// Merchandiser manage rules -// --------------------------------------------- - -.manage-rules-panel { - box-sizing: border-box; - margin: @indent__base 0 0; - - .message { - margin: 0 0 @indent__base; - } - - .admin__data-grid-wrap { - padding-bottom: 0; - } - - .smart-category-table { - .action-delete { - .action-icon(); - - &:before { - &:extend(.abs-icon all); - content: @icon-delete__content; - } - - > span { - display: none; - } - } - } - - .hidden { - + .action-secondary { - margin-top: @indent__base; - } - } -} - -// -// Merchandiser toolbar -// --------------------------------------------- - -.regular-category-settings { - &:extend(.abs-clearfix all); - margin: 0 0 @indent__base; - - .actions { - float: right; - } -} - -.merchandiser-toolbar { - float: left; - width: 80%; - - .admin__field { - display: inline-block; - margin-right: @indent__s; - } -} - -.merchandiser-toolbar, -.manage-rules-sorting { - .admin__field { - > .admin__field-label { - margin-right: @indent__xs; - text-align: left; - - span { - white-space: nowrap; - } - } - } -} - -// -// Match products by rule switcher -// --------------------------------------------- - -// ToDo UI: refactor when refactoring yes/no switcher -.smart-category-switcher { - &:extend(.abs-clearfix all); - margin: 0 0 @indent__base; - - .admin__actions-switch { - margin-left: @indent__xs; - } -} - -// -// Merchandiser tabs -// --------------------------------------------- - -// ToDo UI: refactor merchant tabs -.merchandiser-tabs { - &:extend(.abs-clearfix all); - border-top: 1px solid @color-gray80; - padding: @indent__base 0 0; - - .merchandiser-tab { - border-top: 0 !important; - clear: both; - } -} diff --git a/app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_module.less deleted file mode 100644 index 5fe3df4b0ccbe..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_module.less +++ /dev/null @@ -1,176 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .column { - .block-addbysku { - .fieldset { - margin: 0; - - .fields { - position: relative; - - .field { - display: inline-block; - margin-bottom: @indent__s; - vertical-align: top; - } - - .actions-toolbar { - position: absolute; - right: 0; - top: 4px; - } - } - } - - .sku { - &:extend(.abs-add-box-sizing all); - margin-right: -155px; - padding-right: 160px; - width: 100%; - } - - .skus { - > .label { - margin-top: @indent__s; - } - } - - .qty { - .qty { - &:extend(.abs-input-qty all); - + .mage-error { - width: 80px; - } - } - } - - .block-content { - .actions-toolbar { - clear: both; - .lib-actions-toolbar( - @_actions-toolbar-actions-position: left, - @_actions-toolbar-margin: 0 0 @indent__base - ); - .lib-actions-toolbar-clear-floats(); - - > .secondary { - text-align: left; - } - } - } - - .reset { - margin: @indent__s 0; - } - - .note { - display: block; - margin: 0 0 @indent__base; - } - } - } - - .block-cart-failed { - margin-top: @indent__xl; - &:extend(.abs-shopping-cart-items all); - - .block-title { - .lib-font-size(@h2__font-size); - - strong { - font-weight: @h2__font-weight; - } - } - - .actions { - text-align: center; - - .action { - margin-bottom: @indent__s; - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { - .column { - .block-addbysku { - .sku { - margin-right: -85px; - padding-right: 90px; - } - - .action { - &.remove { - .lib-button-icon( - @_icon-font-content: @icon-remove, - @_icon-font-text-hide: true, - @_icon-font-size: 28px, - @_icon-font-margin: 1px 0 0 - ); - .lib-button-reset(); - } - } - } - } -} - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) { - .column { - .block-addbysku { - .action { - &.remove { - .lib-button-reset(); - .lib-button-as-link(); - margin-top: 2px; - } - } - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .block-cart-failed { - &:extend(.abs-shopping-cart-items-desktop all); - - .actions { - text-align: left; - } - - .actions.primary { - float: right; - } - - .block-content { - &:extend(.abs-add-clearfix-desktop all); - } - } - - .column { - .block-addbysku { - .block-content { - &:extend(.abs-add-clearfix-desktop all); - - .box { - &:extend(.abs-blocks-2columns all); - } - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_widgets.less b/app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_widgets.less deleted file mode 100644 index 81a9a575d672a..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_AdvancedCheckout/web/css/source/_widgets.less +++ /dev/null @@ -1,101 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .sidebar { - .block-addbysku { - .fieldset { - margin: 0; - - .fields { - position: relative; - - .field { - display: inline-block; - margin-bottom: @indent__s; - vertical-align: top; - - &.sku { - &:extend(.abs-add-box-sizing all); - margin-right: -85px; - padding-right: 90px; - width: 100%; - } - - &.qty { - .qty { - &:extend(.abs-input-qty all); - + .mage-error { - width: 80px; - } - } - } - } - - .actions-toolbar { - position: absolute; - right: 0; - top: 6px; - } - } - } - - .form-addbysku { - .actions-toolbar { - margin-bottom: @indent__base; - - .primary { - text-align: left; - - .action { - width: auto; - } - } - - .secondary { - float: none; - text-align: left; - } - } - } - - .action { - &.add { - .lib-button-icon( - @_icon-font-content: @icon-expand, - @_icon-font-text-hide: true, - @_icon-font-size: 31px - ); - line-height: normal; - padding: 2px 0; - width: auto; - } - - &.links { - display: inline-block; - margin: @indent__base 0 0; - } - - &.reset { - display: block; - margin: @indent__s 0; - } - - &.remove { - .lib-button-icon( - @_icon-font-content: @icon-remove, - @_icon-font-text-hide: true, - @_icon-font-size: 28px - ); - .lib-button-reset(); - } - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_Banner/web/css/source/_widgets.less b/app/design/frontend/Magento/blank/Magento_Banner/web/css/source/_widgets.less deleted file mode 100644 index c961d49c5b589..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_Banner/web/css/source/_widgets.less +++ /dev/null @@ -1,32 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .block-banners, - .block-banners-inline { - &:extend(.abs-margin-for-blocks-and-widgets); - - .banner-items { - &:extend(.abs-reset-list all); - } - - .banner-item { - display: block; - } - - .banner-item-content { - margin-bottom: @indent__base; - - img { - display: block; - margin: 0 auto; - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_CatalogEvent/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_CatalogEvent/web/css/source/_module.less deleted file mode 100644 index 171c4f7b6f0aa..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_CatalogEvent/web/css/source/_module.less +++ /dev/null @@ -1,143 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -@catalog-event-background-color: @color-gray94; -@catalog-event-color: @primary__color; - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - - // - // Catalog Events - // --------------------------------------------- - - .block-category-event { - .lib-css(background, @catalog-event-background-color); - .lib-css(color, @catalog-event-color); - padding: @indent__s 0 15px; - text-align: center; - - &.block:last-child { - margin-bottom: @indent__s; - } - - .block-title { - margin: 0 0 @indent__s; - - strong { - .lib-font-size(15); - font-weight: @font-weight__light; - } - } - - .ticker { - .lib-list-reset-styles(); - - li { - display: none; - margin: 0 15px; - } - - .value { - .lib-font-size(18); - font-weight: @font-weight__light; - } - - .label { - .lib-font-size(10); - display: block; - text-transform: lowercase; - } - } - - .dates { - display: table; - margin: 0 auto; - - .start, - .end { - display: table-cell; - vertical-align: top; - } - - .date { - .lib-font-size(18); - } - - .time { - display: block; - } - - .start { - padding-right: @indent__xl; - position: relative; - - &:after { - .lib-font-size(18); - content: '\2013'; - display: block; - position: absolute; - right: 15px; - top: 0; - } - } - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .block-category-event { - &.block:last-child { - margin-bottom: @indent__l; - padding: @indent__s 0 @indent__l; - } - - .block-title { - margin: 0; - - strong { - .lib-font-size(24); - } - } - - .ticker { - li { - display: none; - margin: 0 50px; - } - - .value { - .lib-font-size(60); - } - - .label { - .lib-font-size(14); - text-transform: none; - } - } - - .dates { - .date { - .lib-font-size(50); - } - - .start { - padding-right: 50px; - - &:after { - .lib-font-size(50); - right: 10px; - } - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_CatalogEvent/web/css/source/_widgets.less b/app/design/frontend/Magento/blank/Magento_CatalogEvent/web/css/source/_widgets.less deleted file mode 100644 index 85bfd54a3ffce..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_CatalogEvent/web/css/source/_widgets.less +++ /dev/null @@ -1,190 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .block-event { - .columns & { - position: relative; - z-index: 2; - } - - .block-content { - position: relative; - - > .action { - cursor: pointer; - margin-top: -6px; - position: absolute; - top: 50%; - z-index: 3; - - &.backward, - &.forward { - opacity: .5; - overflow: hidden; - width: 20px; - - .lib-icon-font( - @_icon-font-content: @icon-prev, - @_icon-font-text-hide: true, - @_icon-font-size: 55px, - @_icon-font-line-height: 30px - ); - - &:before { - margin-left: -15px; - } - } - - &.backward { - left: 0; - } - - &.forward { - .lib-icon-font-symbol(@icon-next); - right: 0; - - &:before { - margin-left: -20px; - } - } - - &.inactive { - cursor: default; - display: none; - } - - &:hover { - opacity: 1; - } - } - } - - .slider-panel { - overflow: hidden; - position: relative; - z-index: 2; - - .slider { - &:extend(.abs-reset-list all); - white-space: nowrap; - - .item { - .lib-css(background, @catalog-event-background-color); - display: inline-block; - text-align: center; - vertical-align: top; - white-space: normal; - width: 16.35%; - - .sidebar-main &, - .sidebar-additional & { - width: 100%; - } - - img { - max-width: 100%; - } - - .category-name { - display: inline-block; - .lib-font-size(18); - padding: 15px 5px 0; - word-break: break-all; - } - - .ticker { - .lib-list-reset-styles(); - - li { - display: none; - margin: 0 5px; - } - - .value { - .lib-font-size(26); - font-weight: @font-weight__light; - } - - .label { - display: block; - .lib-font-size(13); - } - } - - .dates { - font-weight: @font-weight__light; - - .start, - .end, - .date { - display: block; - } - - .start { - &:after { - .lib-font-size(18); - content: '\2013'; - display: block; - } - } - - .date { - .lib-font-size(18); - font-weight: @font-weight__light; - } - - .time { - .lib-font-size(13); - } - } - - .box-event { - .box-content { - padding: 5px 0 @indent__s; - } - - .box-title { - display: block; - font-weight: @font-weight__light; - margin: @indent__s 0 0; - } - } - - .action { - &.show { - &:extend(.abs-add-box-sizing all); - display: block; - padding: 0; - - .category.name { - display: inline-block; - padding: 30px 10px 0; - } - - img { - display: block; - } - } - - &.event { - .lib-button-primary(); - &:extend(.abs-action-link-button all); - margin-top: 15px; - - &:hover { - text-decoration: none; - } - } - } - } - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_GiftCard/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_GiftCard/web/css/source/_module.less deleted file mode 100644 index ea6e7a44293e8..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_GiftCard/web/css/source/_module.less +++ /dev/null @@ -1,49 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - - .cart { - &-summary { - .block { - &.giftcard { - .action.check { - .lib-button-s(); - &:extend(.abs-action-button-as-link all); - margin-top: @indent__base; - } - } - } - } - } - - .page-product-giftcard { - .giftcard-amount { - margin-bottom: 0; - text-align: left; - - .field:last-child { - padding-bottom: @form-field__vertical-indent; - } - } - - .product-options-wrapper .field:first-of-type { - margin-top: @form-field__vertical-indent; - } - - .fieldset.giftcard { - >.legend { - &:extend(.abs-visually-hidden all); - + br { - &:extend(.abs-no-display all); - } - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_GiftCardAccount/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_GiftCardAccount/web/css/source/_module.less deleted file mode 100644 index 0341d6e327b64..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_GiftCardAccount/web/css/source/_module.less +++ /dev/null @@ -1,45 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - - .giftcard-account { - .please-wait { - display: none; - } - - .form-giftcard-redeem { - .giftcard.info { - margin-bottom: @indent__l; - } - } - } - - .opc-wrapper { - .form-giftcard-account { - max-width: 500px; - - .field { - margin: 0 0 @indent__base; - - .label { - &:extend(.abs-visually-hidden all); - } - } - } - - .giftcard-account-info { - margin: 0 0 @indent__base; - - .giftcard-account-number { - margin: 0 0 @indent__s; - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_GiftMessage/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_GiftMessage/web/css/source/_module.less deleted file mode 100644 index 6dfe5ef987aa5..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_GiftMessage/web/css/source/_module.less +++ /dev/null @@ -1,354 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Variables -// _____________________________________________ - -@gift-message-field-label__color: @color-gray40; -@gift-item-block__border-color: @color-gray-light5; -@gift-item-block__border-width: @border-width__base; - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .gift-message { - .field { - margin-bottom: @indent__base; - - .label { - .lib-css(color, @gift-message-field-label__color); - .lib-css(font-weight, @font-weight__regular); - } - } - } - - .gift-options { - &:extend(.abs-add-clearfix all); - - .actions-toolbar { - .action-cancel { - &:extend(.abs-action-button-as-link all); - display: none; - } - } - } - - .gift-options-title { - margin: 0 0 @indent__base; - } - - .gift-options-content { - .fieldset { - margin: 0 0 @indent__base; - } - } - - .gift-summary { - .actions-toolbar { - > .secondary { - float: none; - - .action { - margin: @indent__s @indent__base 0 0; - } - } - } - } - - .action-gift { - &:extend(.cart.table-wrapper .actions-toolbar > .action all); - - .lib-button-icon( - @icon-down, - @_icon-font-size: 32px, - @_icon-font-line-height: 16px, - @_icon-font-position: after - ); - - &.active, - &._active { - .lib-icon-font-symbol( - @icon-up, - @_icon-font-position: after - ); - } - } - - // - // In-table block - // --------------------------------------------- - - .cart { - &.table-wrapper { - .gift-content { - box-sizing: border-box; - clear: left; - display: none; - float: left; - margin: @indent__s 0 @indent__base; - text-align: left; - width: 100%; - - &._active { - display: block; - } - } - } - } - - // - // Collapsible block - // --------------------------------------------- - - .gift-item-block { - margin: 0; - - &._active { - .title { - .lib-icon-font-symbol( - @icon-up, - @_icon-font-position: after - ); - } - } - - .title { - .lib-css(font-weight, @font-weight__bold); - border-radius: 3px; - - .lib-button( - @_button-margin: 20px 0 0, - @_button-padding: 7px 15px, - @_button-icon-use: true, - @_button-font-content: @icon-down, - @_button-icon-font: @button-icon__font, - @_button-icon-font-size: 32px, - @_button-icon-font-line-height: 16px, - @_button-icon-font-position: after - ); - - &:active { - .lib-css(box-shadow, @button__shadow); - } - } - - .content { - &:extend(.abs-add-clearfix all); - .lib-css(border-bottom, @gift-item-block__border-width solid @gift-item-block__border-color); - padding: @indent__s @indent__s @indent__base; - position: relative; - } - } - - // - // Account order gift message - // --------------------------------------------- - - .order-details-items { - .order-gift-message, - .block-order-details-gift-message { - .item-options { - dt { - .lib-css(font-weight, @font-weight__regular); - margin: @indent__s 0; - } - } - - &:extend(.abs-add-clearfix all); - - dt { - &:after { - content: ''; - } - } - - .label { - &:extend(.abs-colon all); - } - - .item-message { - clear: left; - } - } - - .order-items { - .order-gift-message { - &:not(.expanded-content) { - &:extend(.abs-hidden); - } - - .action.close { - &:extend(.abs-no-display all); - } - } - - .action.show { - .lib-icon-font( - @_icon-font-content: @icon-down, - @_icon-font-size: 22px, - @_icon-font-text-hide: false, - @_icon-font-position: after, - @_icon-font-display: inline-block - ); - padding-right: @indent__base; - position: relative; - - &:after { - position: absolute; - right: 0; - top: -4px; - } - - &.expanded { - .lib-icon-font-symbol( - @_icon-font-content: @icon-up, - @_icon-font-position: after - ); - } - } - } - } - - .block-order-details-gift-message { - border-top: @border-width__base solid @border-color__base; - padding-top: @indent__s; - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .gift-options { - .actions-toolbar { - .action-update { - .lib-font-size(20); - padding: 15px; - width: 100%; - } - } - } - - .gift-item-block { - .lib-css(border-top, @gift-item-block__border-width solid @gift-item-block__border-color); - border-bottom: 0; - } - - .cart { - &.table-wrapper { - .gift-content { - margin-right: -@indent__s; - } - } - } -} - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { - .cart { - &.table-wrapper { - .gift-content { - border-bottom: @border-width__base solid @border-color__base; - margin-bottom: @indent__base; - } - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .gift-message { - .field { - margin-bottom: @indent__base; - } - } - - .gift-options { - position: relative; - z-index: 1; - - .actions-toolbar { - clear: both; - float: right; - position: static; - - .secondary { - float: right; - - .action { - float: right; - margin-left: @indent__base; - } - - .action-cancel { - display: block; - float: left; - margin-top: 6px; - } - } - - &:nth-child(3) { - &:before { - .lib-css(border-left, 1px solid @gift-item-block__border-color); - bottom: 5rem; - content: ''; - display: block; - left: 50%; - overflow: hidden; - position: absolute; - top: 0; - width: 0; - } - } - } - } - - .gift-options-title { - .lib-css(font-weight, @font-weight__light); - .lib-font-size(18); - } - - .gift-summary, - .cart.table-wrapper .gift-summary { - .actions-toolbar { - &:extend(.abs-reset-left-margin-desktop all); - } - } - - .cart-container { - .cart-gift-item { - &:extend(.abs-shopping-cart-items-desktop all); - } - } - - // - // In-table block - // --------------------------------------------- - - .cart { - &.table-wrapper { - .action-gift { - float: left; - } - } - } - - // - // Multiple Shipping Checkout - // --------------------------------------------- - - .order-options, - .table-order-review { - .gift-wrapping { - max-width: 50%; - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_GiftRegistry/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_GiftRegistry/web/css/source/_module.less deleted file mode 100644 index 03a474012cb0c..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_GiftRegistry/web/css/source/_module.less +++ /dev/null @@ -1,277 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - - .form-giftregistry-share, - .form-giftregistry-edit { - &:extend(.abs-add-fields all); - .actions-toolbar:not(:last-child) { - margin-bottom: @indent__xl; - } - - .fieldset { - .nested { - .field:not(.choice) { - .control { - width: 100%; - } - } - } - } - } - - .form.giftregistry.items { - .actions-toolbar { - &:extend(.abs-reset-left-margin all); - } - } - - .giftregisty-dropdown { - &:extend(.abs-dropdown-simple all); - } - - .table-giftregistry-items { - .field.qty .qty { - &:extend(.abs-input-qty all); - } - - .product-image { - float: left; - .lib-css(margin-right, @indent__s); - } - } - - .form.giftregistry .fieldset { - .cart-summary & { - margin: 25px 0 @indent__xs; - - .field { - margin: 0 0 @indent__s; - - .control { - float: none; - width: auto; - } - } - - .action.primary { - margin-bottom: 0; - &:extend(.abs-revert-secondary-color all); - &:extend(.abs-revert-secondary-size all); - } - } - } - - .form-giftregistry-search { - margin-bottom: @indent__l*2; - - .legend { - &:extend(.abs-account-title all); - } - - .fields-specific-options { - .field { - &:nth-last-of-type(1) { - margin-bottom: 0; - } - } - - .datetime-picker { - &:extend(.abs-field-date-input all); - } - } - } - - .block-giftregistry-results { - .block-title { - &:extend(.abs-block-title all); - } - - .toolbar-giftregistry-results { - text-align: center; - } - } - - .block-giftregistry { - .actions-toolbar { - margin: 17px 0 0; - } - } - - .block-giftregistry-shared { - .item-options { - .item-value { - margin: 0 0 @indent__m; - } - } - } - - .block-giftregistry-shared-items { - .block-title { - &:extend(.abs-block-title all); - } - - .product-image-wrapper { - &:extend(.abs-reset-image-wrapper all); - } - - .item { - border-bottom: @border-width__base solid @border-color__base; - } - - .qty { - .qty { - &:extend(.abs-input-qty all); - } - } - - .col { - padding: @indent__base 8px @indent__s; - - .price-box { - display: inline-block; - } - - .price-wrapper { - .lib-font-size(18); - display: block; - font-weight: @font-weight__bold; - white-space: nowrap; - } - } - - .product { - .item-options { - &:extend(.abs-product-options-list all); - &:extend(.abs-add-clearfix all); - margin-bottom: 0; - } - - &-item-photo { - display: block; - max-width: 65px; - padding: @indent__s 0; - } - - &-item-name { - display: block; - margin: 0 0 @indent__xs; - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { - .table-giftregistry-items { - .col.product { - &:before { - &:extend(.abs-visually-hidden-mobile all); - } - &:extend(.abs-add-clearfix-mobile all); - } - - .field.choice, - .field.qty { - display: inline-block; - } - } - - .form-giftregistry-search { - .fieldset { - margin-bottom: 15px; - } - } - - .toolbar-giftregistry-results { - &:extend(.abs-pager-toolbar-mobile-s all); - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .form-giftregistry-share, - .form-giftregistry-edit { - &:extend(.abs-add-fields-desktop all); - } - - .form-giftregistry-search { - .fieldset { - margin-bottom: @form-field__vertical-indent__desktop; - > .fields-specific-options { - > .field { - .lib-form-field-type-revert(); - } - } - } - } - - .toolbar-giftregistry-results { - &:extend(.abs-pager-toolbar all); - } - - .block-giftregistry-shared { - .item-options { - &:extend(.abs-product-options-list-desktop all); - &:extend(.abs-add-clearfix-desktop all); - } - } - - .block-giftregistry-shared-items { - .column.main & { - .actions-toolbar { - &:extend(.abs-reset-left-margin-desktop all); - } - } - - .product { - &-item-photo { - display: table-cell; - max-width: 100%; - padding: 0 @indent__base 0 0; - vertical-align: top; - width: 1%; - } - - &-item-details { - display: table-cell; - vertical-align: top; - width: 99%; - word-break: normal; - } - } - - .col { - &.product { - width: 48%; - } - - &:not(.product) { - text-align: center; - } - - &.price { - padding-top: 17px; - } - } - - .input-text { - &.qty { - margin-top: -4px; - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_GiftRegistry/web/css/source/_widgets.less b/app/design/frontend/Magento/blank/Magento_GiftRegistry/web/css/source/_widgets.less deleted file mode 100644 index 5eabfb5371181..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_GiftRegistry/web/css/source/_widgets.less +++ /dev/null @@ -1,7 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -.widget.block-giftregistry { -} diff --git a/app/design/frontend/Magento/blank/Magento_GiftWrapping/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_GiftWrapping/web/css/source/_module.less deleted file mode 100644 index e636c5a52ea9d..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_GiftWrapping/web/css/source/_module.less +++ /dev/null @@ -1,272 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Variables -// _____________________________________________ - -@gift-wrapping__border-color: @color-gray-light5; -@gift-wrapping__border-width: @border-width__base; - -@gift-wrapping-preview__active__border-color: @color-gray20; -@gift-wrapping-preview__active__border-width: 3px; - -@gift-wrapping-thumbnail__height: 4rem; -@gift-wrapping-thumbnail__width: @gift-wrapping-thumbnail__height; - -@gift-wrapping-no-image__background: @color-gray95; -@gift-wrapping-no-image-icon__color: @color-gray-darken4; -@gift-wrapping-no-image-icon__font-size: 38px; - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .gift-wrapping { - .label { - .lib-css(margin, @form-field-type-label-block__margin); - display: inline-block; - } - - .field { - margin-bottom: @indent__s; - } - } - - .gift-wrapping-info { - .lib-css(font-weight, @font-weight__light); - font-size: @font-size__l; - margin: @indent__base 0; - } - - .gift-wrapping-list { - &:extend(.abs-add-clearfix all); - list-style: none; - margin: @indent__base 0 @indent__s; - padding: 0; - - .no-image { - .lib-css(background, @gift-wrapping-no-image__background); - .lib-icon-font( - @icon-present, - @_icon-font-size: @gift-wrapping-no-image-icon__font-size, - @_icon-font-line-height: @gift-wrapping-thumbnail__height, - @_icon-font-color: @gift-wrapping-no-image-icon__color, - @_icon-font-position: after, - @_icon-font-text-hide: true, - @_icon-font-vertical-align: middle - ); - - &:after { - display: block; - } - } - } - - .gift-wrapping-preview, - .gift-wrapping-item > span { - cursor: pointer; - display: block; - overflow: hidden; - position: relative; - z-index: 1; - } - - .gift-wrapping-item { - float: left; - margin: 0 @indent__s @indent__s 0; - - &:last-child { - margin-right: 0; - } - - &._active { - span { - &:before { - .lib-css(border, @gift-wrapping-preview__active__border-width solid @gift-wrapping-preview__active__border-color); - box-sizing: border-box; - content: ''; - display: block; - height: 100%; - position: absolute; - width: 100%; - z-index: 2; - } - } - } - - > span { - height: @gift-wrapping-thumbnail__height; - width: @gift-wrapping-thumbnail__width; - } - } - - .gift-wrapping-title { - margin: @indent__s 0; - - .action-remove { - margin-left: @indent__xs; - } - } - - .gift-options-content { - .fieldset { - > .field { - margin: 0 0 @indent__xs; - - &:before { - display: none; - } - } - } - } - - .gift-wrapping-summary { - .gift-wrapping-title { - border: 0; - display: inline-block; - padding: 0; - } - } - - .opc-wrapper .data.table, - .table-order-items, - .table-order-review { - .gift-wrapping { - &:extend(.abs-add-clearfix all); - margin: @indent__base 0; - - .title { - float: none; - } - - .content { - margin: 0; - - > img { - float: left; - margin: 0 @indent__s 0 0; - max-height: 50px; - max-width: 50px; - } - } - } - } - - .gift-summary, - .gift-options { - &:extend(.abs-adjustment-incl-excl-tax all); - - .price-box { - margin-left: 22px; - } - - .regular-price { - &:before { - content: attr(data-label)': '; - } - - .price { - font-weight: @font-weight__bold; - } - } - } - - // - // Multiple Shipping Checkout - // --------------------------------------------- - - .order-options { - .item { - padding-bottom: @indent__base; - } - - .product { - &:extend(.abs-add-clearfix all); - margin-bottom: @indent__s; - } - - .product-image-container { - float: left; - padding-right: @indent__s; - } - - .gift-wrapping { - margin-bottom: @indent__s; - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .gift-wrapping { - .lib-css(border-bottom, @gift-wrapping__border-width solid @gift-wrapping__border-color); - margin-bottom: @indent__base; - padding-bottom: @indent__s; - } - - .gift-wrapping-list { - width: 100%; - } - - .gift-wrapping-preview { - img { - width: 100%; - } - } - - .item-actions { - .actions-toolbar { - .gift-options { - .gift-wrapping, - .gift-message { - display: block; - } - } - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .gift-wrapping { - .nested { - &:extend(.abs-add-clearfix-desktop all); - } - } - - .table { - .gift-wrapping { - .content { - &:extend(.abs-add-clearfix-desktop all); - } - } - } - - .gift-options-cart-item, - .cart-gift-item { - .gift-wrapping { - box-sizing: border-box; - float: left; - padding-right: @indent__base; - width: 50%; - - & + .gift-message { - .lib-css(border-left, @gift-wrapping__border-width solid @gift-wrapping__border-color); - box-sizing: border-box; - float: left; - padding-left: 4.5rem; - width: 50%; - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_Invitation/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_Invitation/web/css/source/_module.less deleted file mode 100644 index ce66daf1edda6..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_Invitation/web/css/source/_module.less +++ /dev/null @@ -1,55 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .form-add-invitations { - &:extend(.abs-add-fields all); - .action { - &.add { - .lib-button-icon( - @_icon-font-content: @icon-expand, - @_icon-font-text-hide: true, - @_icon-font-size: 31px - ); - line-height: normal; - padding: 2px 0; - width: auto; - } - } - } -} - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .form-add-invitations { - .additional, - .field.text { - .lib-css(margin-top, @form-field__vertical-indent); - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .form-add-invitations { - &:extend(.abs-add-fields-desktop all); - .additional, - .field.text { - .lib-css(margin-top, @form-field__vertical-indent__desktop); - } - } - - .table-invitations { - .col { - width: 50%; - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_MultipleWishlist/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_MultipleWishlist/web/css/source/_module.less deleted file mode 100644 index c572c983d80d9..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_MultipleWishlist/web/css/source/_module.less +++ /dev/null @@ -1,500 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -@desktop-popup-width: 380px; -@desktop-popup-margin-left: -((@desktop-popup-width + (@popup__padding * 2)) / 2); -@desktop-popup-position-left: 50%; -@desktop-popup-position-top: 20%; - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .wishlist { - // Wish list split button - &.split.button { - .lib-dropdown-split( - @_options-selector: ~'.items', - @_dropdown-split-button-border-radius-fix: true, - @_dropdown-split-list-item-padding: 5px 5px 5px 23px, - @_dropdown-split-toggle-icon-content: @icon-down, - @_dropdown-split-toggle-active-icon-content: @icon-up, - @_dropdown-split-toggle-actions-padding: false, - @_icon-font-size: 22px, - @_icon-font-color: @addto-color, - @_icon-font-color-hover: @addto-hover-color, - @_dropdown-split-list-pointer-position: left, - @_dropdown-split-list-min-width: 200px - ); - vertical-align: middle; - &:extend(.abs-dropdown-items-new all); - - .items { - text-align: left; - .item { - > span { - display: block; - padding: 5px 5px 5px 23px; - } - &:last-child { - &:hover { - .lib-css(background, @dropdown-list-item__hover); - } - } - } - li { - padding: 0; - } - } - - .table-comparison &, - .product-items & { - > .action { - &:extend(.abs-action-button-as-link all); - &.split { - &:extend(.abs-actions-addto-gridlist all); - .lib-icon-font-symbol( - @_icon-font-content: @icon-wishlist-empty - ); - } - - &:active, - &:focus, - &:hover { - .lib-css(color, @addto-hover-color); - } - } - - > .action.toggle { - &:before { - border-left: 1px solid lighten(@addto-color, 30%); - content: ''; - float: left; - height: 15px; - margin-top: 3px; - } - } - } - - .product-info-main &, - .block-bundle-summary &, - .product-add-form & { - .action { - &.split, - &.toggle { - .lib-button-s(); - } - - &.toggle { - padding: 0; - } - } - } - - .cart.table-wrapper & { - margin-bottom: @indent__s; - - > .action { - &.toggle { - padding: 4px @indent__xs; - } - } - } - } - - &.window.popup { - box-sizing: border-box; - .lib-popup(); - - &.active { - display: block; - } - } - - &.overlay { - .lib-window-overlay(); - &.active { - display: block; - } - } - - &-dropdown { - &:extend(.abs-dropdown-simple all); - &:extend(.abs-dropdown-items-new all); - } - } - - .block-wishlist-management { - position: relative; - - .wishlist { - // Select wish list - &-select { - .wishlist-name { - &-label { - font-weight: @font-weight__semibold; - &:extend(.abs-colon all); - } - } - - &-items { - &:extend(.abs-reset-list all); - } - } - - // Wish list name - &-title { - margin-bottom: @indent__s; - - strong { - font-weight: @font-weight__light; - margin-right: @indent__s; - } - } - - &-notice { - .lib-css(color, @text__color__muted); - display: inline-block; - margin-right: @indent__base; - } - - // Wish list toolbar - &-toolbar { - &-select, - &-actions { - display: inline-block; - } - - &-select { - margin-right: @indent__base; - } - } - // Wish list toolbar actions - &-dropdown.move { - margin-right: @indent__base; - } - } - } - - .block-wishlist-search-form { - .block-title { - &:extend(.abs-account-title all); - } - - .form-wishlist-search { - margin-bottom: @indent__l * 2; - max-width: 500px; - - .fieldset { - > .legend { - &:extend(.abs-visually-hidden); - } - } - } - } - - .block-wishlist-search-results { - .block-title { - &:extend(.abs-block-title all); - } - - .toolbar-wishlist-results { - text-align: center; - } - } - - .page-multiple-wishlist { - .page-title-wrapper { - .page-title { - &:extend(.abs-visually-hidden all); - } - } - } - - .block-wishlist-info-items { - .block-title { - .lib-font-size(22); - margin-bottom: @indent__base; - - > strong { - font-weight: @font-weight__light; - } - } - - .product-item { - width: 100%; - } - - .product-item-photo { - margin-left: @indent__base; - } - - .product-item-info { - width: auto; - - &:hover { - .split { - visibility: visible; - } - } - } - - .price-wrapper { - display: block; - margin: 0 0 @indent__s; - } - - .split { - clear: both; - padding: @indent__s 0; - } - - .action { - &.towishlist { - padding: @indent__s 0; - } - } - - .input-text { - &.qty { - &:extend(.abs-input-qty all); - margin-right: @indent__s; - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .block-wishlist-management { - clear: both; - margin-top: -21px; - - .wishlist { - // Select wish list - &-select { - margin: 0 -@layout__width-xs-indent 20px; - - .wishlist-name { - &:extend(.abs-toggling-title-mobile all); - } - - &-items { - border-bottom: @border-width__base solid @border-color__base; - .lib-css(background, @account-nav-background); - display: none; - padding: 15px 0; - - &.active { - display: block; - } - - .item { - margin: 3px 0 0; - - &:first-child { - margin-top: 0; - } - - &.current { - display: none; - } - - a { - display: block; - padding: @indent__xs 18px; - text-decoration: none; - - &:hover { - .lib-css(background, @account-nav-item-hover); - } - } - } - } - } - - &-add.item { - .add { - &:extend(.abs-icon-add-mobile all); - } - } - - // Wish list name - &-title { - strong { - .lib-font-size(26); - } - } - - // Wish list info - &-info { - margin-bottom: 15px; - } - - // Wish list toolbar - &-toolbar { - &-select, - &-actions { - margin-bottom: 15px; - } - } - } - } - .products-grid.wishlist { - .product { - &-item { - &-checkbox { - left: 0; - position: absolute; - top: 20px; - } - - &-photo { - .page-multiple-wishlist & { - margin-left: @indent__m; - } - } - - &-name, - &-description, - .price-box, - &-tooltip { - .page-multiple-wishlist & { - margin-left: 115px; - } - } - } - } - - .wishlist-dropdown { - display: none; - } - } - - .toolbar-wishlist-results { - &:extend(.abs-pager-toolbar-mobile all); - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .wishlist { - &.window.popup { - .field { - .lib-form-field-type-revert(@_type: block); - } - - bottom: auto; - .lib-css(top, @desktop-popup-position-top); - .lib-css(left, @desktop-popup-position-left); - .lib-css(margin-left, @desktop-popup-margin-left); - .lib-css(width, @desktop-popup-width); - right: auto; - } - } - - .block-wishlist-management { - &:extend(.abs-add-clearfix-desktop all); - margin-bottom: @indent__base; - - .wishlist { - // Select wish list - &-select { - border-bottom: 1px solid @secondary__color; - display: table; - margin-bottom: 15px; - width: 100%; - - .wishlist-name { - display: table-cell; - margin-right: @indent__s; - padding: @indent__xs @indent__s @indent__s; - vertical-align: top; - white-space: nowrap; - width: 5%; - } - - &-items { - display: table-cell; - padding-right: 160px; - vertical-align: top; - - .item { - display: inline-block; - margin-right: @indent__s; - padding: @indent__xs @indent__s @indent__s; - - &:last-child { - margin-right: 0; - } - } - - .current { - border-bottom: 3px solid @active__color; - font-weight: @font-weight__semibold; - } - } - - .wishlist-name-current { - display: none; - } - } - - &-add.item { - position: absolute; - right: 0; - top: 0; - } - - // Wish list name - &-title { - strong { - .lib-font-size(40); - } - } - - // Wish list info - &-info { - float: left; - } - - // Wish list toolbar - &-toolbar { - float: right; - } - } - } - - .block-wishlist-info-items { - .product-item-photo { - margin-left: 0; - } - } - - .products-grid.wishlist { - .product { - &-item { - &-checkbox { - float: left; - - + .product-item-name { - margin-left: @indent__m; - } - } - } - } - } - - .toolbar-wishlist-results { - &:extend(.abs-pager-toolbar all); - } -} diff --git a/app/design/frontend/Magento/blank/Magento_MultipleWishlist/web/css/source/_widgets.less b/app/design/frontend/Magento/blank/Magento_MultipleWishlist/web/css/source/_widgets.less deleted file mode 100644 index 5b34d65c06435..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_MultipleWishlist/web/css/source/_widgets.less +++ /dev/null @@ -1,16 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .block-wishlist-search { - .form-wishlist-search { - margin: @form-field__vertical-indent 0 0; - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_Rma/web/css/source/_email.less b/app/design/frontend/Magento/blank/Magento_Rma/web/css/source/_email.less deleted file mode 100644 index 5519898a9f471..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_Rma/web/css/source/_email.less +++ /dev/null @@ -1,17 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// RMA table styles -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { - // Shrink table size on small screens to fit as much as possible without requiring horizontal scrolling - .rma-items td, - .rma-items th { - font-size: @font-size__s !important; - padding: 5px !important; - } -} diff --git a/app/design/frontend/Magento/blank/Magento_Rma/web/css/source/_module.less b/app/design/frontend/Magento/blank/Magento_Rma/web/css/source/_module.less deleted file mode 100644 index 9957dd957f18d..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_Rma/web/css/source/_module.less +++ /dev/null @@ -1,170 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .form-create-return { - &:extend(.abs-add-fields all); - - .field { - .control > span, - address { - display: inline-block; - padding-top: @form-field-type-label-inline__padding-top; - } - } - - .additional { - &:first-child { - margin-top: 0; - } - - .field:nth-last-child(2) { - margin-bottom: 0; - } - - .field { - &:last-child { - margin-top: @form-field__vertical-indent; - } - } - } - - .field.comment { - margin-top: 55px; - } - } - - .block-returns-comments { - .returns-comments { - dt, - dd { - margin: 0; - } - - dt { - font-weight: @font-weight__regular; - } - - dd { - margin-bottom: 15px; - - &:last-child { - margin-bottom: 0; - } - } - } - - .fieldset { - margin-bottom: 20px; - } - } - - .return-status { - &:extend(.abs-status all); - } - - .magento-rma-returns-returns, - .magento-rma-guest-returns, - .magento-rma-returns-view { - .page-title-wrapper { - .page-title { - margin-right: 25px; - } - } - } - - // - // Guest return view page - // --------------------------------------------- - - .magento-rma-guest-returns { - .column.main { - .block:not(.widget) { - &:extend(.abs-account-blocks all); - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .form-create-return { - .fieldset { - > .actions-toolbar { - &:extend(.abs-add-clearfix-mobile-m all); - } - } - } - - .account { - .column.main { - .returns-details-items { - .block-returns-tracking { - .block-title { - > .action.track { - display: block; - float: none; - margin: @indent__s 0 0; - } - } - } - } - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .form-create-return { - &:extend(.abs-add-fields-desktop all); - .additional { - .field:last-child { - margin-top: @form-field__vertical-indent__desktop; - } - } - } - - // - // Guest return view page - // --------------------------------------------- - - .magento-rma-guest-returns { - .column.main { - .block:not(.widget) { - .block-content { - &:extend(.abs-add-clearfix-desktop all); - - .box { - &:extend(.abs-blocks-2columns all); - margin-bottom: @indent__base; - } - } - } - } - } - - .block-returns-tracking { - .block-title { - .action { - margin: 0 0 0 30px; - } - - .actions-track { - float: right; - margin-top: 12px; - } - } - } -} diff --git a/app/design/frontend/Magento/blank/Magento_VersionsCms/web/css/source/_widgets.less b/app/design/frontend/Magento/blank/Magento_VersionsCms/web/css/source/_widgets.less deleted file mode 100644 index 651d5389f1f09..0000000000000 --- a/app/design/frontend/Magento/blank/Magento_VersionsCms/web/css/source/_widgets.less +++ /dev/null @@ -1,23 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .block-cms-hierarchy-link { - &.widget { - display: block; - margin-bottom: @indent__base; - } - } - - .block-cms-hierarchy-link-inline { - &.widget { - margin: 0; - } - } -} diff --git a/app/design/frontend/Magento/luma/Magento_AdvancedCheckout/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_AdvancedCheckout/web/css/source/_module.less deleted file mode 100644 index 4f2cf789d3a0e..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_AdvancedCheckout/web/css/source/_module.less +++ /dev/null @@ -1,197 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .column { - .block-addbysku { - .fieldset { - margin: 0; - - .fields { - position: relative; - - .field { - display: inline-block; - margin-bottom: @indent__s; - vertical-align: top; - } - - .actions-toolbar { - position: absolute; - right: 0; - top: 7px; - } - } - } - - .sku { - &:extend(.abs-add-box-sizing all); - margin-right: -155px; - padding-right: 160px; - width: 100%; - } - - .qty { - .qty { - &:extend(.abs-input-qty all); - - + .mage-error { - width: 80px; - } - } - } - - .block-content { - .actions-toolbar { - clear: both; - .lib-actions-toolbar( - @_actions-toolbar-actions-position: left, - @_actions-toolbar-margin: 0 0 @indent__base - ); - .lib-actions-toolbar-clear-floats(); - - > .secondary { - text-align: left; - } - } - } - - .action { - &.add { - .lib-button-icon( - @_icon-font-content: @icon-expand, - @_icon-font-text-hide: true, - @_icon-font-size: 20px - ); - line-height: normal; - padding: 4px; - width: auto; - } - } - - .reset { - margin: 7px 0; - } - - .note { - display: block; - margin: 0 0 @indent__base; - padding-top: @indent__s; - } - } - } - - .block-cart-failed { - margin: @indent__xl 0; - &:extend(.abs-shopping-cart-items all); - - .block-title { - .lib-font-size(@h2__font-size); - - strong { - font-weight: @h2__font-weight; - } - } - - .actions { - text-align: center; - - .action { - display: block; - margin: 0 auto @indent__s; - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { - .column { - .block-addbysku { - .sku { - margin-right: -85px; - padding-right: 90px; - } - - .action { - &.remove { - .lib-button-icon( - @_icon-font-content: @icon-trash, - @_icon-font-text-hide: true, - @_icon-font-size: 18px, - @_icon-font-color: @minicart-icons-color, - @_icon-font-margin: -4px 0 0 - ); - .lib-button-reset(); - } - } - } - } -} - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .block-cart-failed { - .block-title { - margin: 0 @indent__base @indent__base; - } - } -} - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) { - .column { - .block-addbysku { - .action { - &.remove { - .lib-button-reset(); - .lib-button-as-link(); - margin-top: -4px; - } - } - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .block-cart-failed { - &:extend(.abs-shopping-cart-items-desktop all); - - .secondary { - .action { - margin: 0; - } - } - - .actions.primary { - float: right; - } - - .block-content { - &:extend(.abs-add-clearfix-desktop all); - } - } - - .column { - .block-addbysku { - .block-content { - &:extend(.abs-add-clearfix-desktop all); - - .box { - &:extend(.abs-blocks-2columns all); - } - } - } - } -} diff --git a/app/design/frontend/Magento/luma/Magento_AdvancedCheckout/web/css/source/_widgets.less b/app/design/frontend/Magento/luma/Magento_AdvancedCheckout/web/css/source/_widgets.less deleted file mode 100644 index e4971d2053337..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_AdvancedCheckout/web/css/source/_widgets.less +++ /dev/null @@ -1,102 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .sidebar { - .block-addbysku { - .fieldset { - margin: 0; - - .fields { - position: relative; - - .field { - display: inline-block; - margin-bottom: @indent__s; - vertical-align: top; - - &.sku { - &:extend(.abs-add-box-sizing all); - margin-right: -85px; - padding-right: 90px; - width: 100%; - } - - &.qty { - .qty { - &:extend(.abs-input-qty all); - + .mage-error { - width: 80px; - } - } - } - } - - .actions-toolbar { - position: absolute; - right: 0; - top: 7px; - } - } - } - - .form-addbysku { - .actions-toolbar { - margin-bottom: @indent__base; - - .primary { - text-align: left; - - .action { - width: auto; - } - } - - .secondary { - float: none; - text-align: left; - } - } - } - - .action { - &.add { - .lib-button-icon( - @_icon-font-content: @icon-expand, - @_icon-font-text-hide: true, - @_icon-font-size: 18px - ); - line-height: normal; - padding: 4px; - width: auto; - } - - &.links { - display: inline-block; - margin: @indent__base 0 0; - } - - &.reset { - display: block; - margin: @indent__s 0; - } - - &.remove { - .lib-button-icon( - @_icon-font-content: @icon-remove, - @_icon-font-text-hide: true, - @_icon-font-size: 12px, - @_icon-font-color: @color-gray60 - ); - .lib-button-reset(); - } - } - } - } -} diff --git a/app/design/frontend/Magento/luma/Magento_CustomerBalance/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_CustomerBalance/web/css/source/_module.less deleted file mode 100644 index ca465f6b3c5b5..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_CustomerBalance/web/css/source/_module.less +++ /dev/null @@ -1,60 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .block-balance { - .balance-price-label { - &:extend(.abs-visually-hidden all); - } - - .price { - .lib-css(margin-top, -@indent__s); - .lib-font-size(32); - display: inline-block; - line-height: 32px; - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .storecredit { - .block { - &:extend(.abs-blocks-2columns all); - } - - .block-balance-history { - width: 100%; - } - } - - .table-balance-history { - .col { - width: 25%; - } - } - - .table-wrapper.balance-history { - &:extend(.abs-account-table-margin-desktop all); - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { - .table-wrapper.balance-history { - &:extend(.abs-account-table-margin-mobile all); - &:extend(.abs-no-border-top all); - } -} diff --git a/app/design/frontend/Magento/luma/Magento_GiftCard/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_GiftCard/web/css/source/_module.less deleted file mode 100644 index 99ebc5edb602d..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_GiftCard/web/css/source/_module.less +++ /dev/null @@ -1,190 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - - .page-product-giftcard { - .giftcard-amount { - border-top: 1px @color-gray-light5 solid; - clear: both; - margin-bottom: 0; - padding-top: 15px; - text-align: left; - - .field:last-child { - padding-bottom: @form-field__vertical-indent !important; - } - } - - .product-info-main { - .price-box { - .old-price { - font-size: 20px; - } - - .price-container { - &.price-final { - > span { - display: block; - margin-bottom: @indent__xs; - - &:last-child { - margin-bottom: 0; - } - } - - .price { - font-size: 22px; - font-weight: @font-weight__semibold; - line-height: 22px; - } - } - } - - & + .giftcard.form { - border-top: 1px @color-gray-light5 solid; - padding-top: 15px; - } - } - - .alert { - clear: left; - } - } - - .product-info-stock-sku { - display: block; - } - - .product-add-form { - border: 0; - clear: none; - padding-top: 0; - - .product-options-wrapper .field:not(.text) { - margin-bottom: @form-field__vertical-indent; - margin-top: @form-field__vertical-indent; - } - } - - .giftcard.form { - clear: both; - } - - .price-box { - margin-bottom: 10px; - } - - .product-info-price { - border: 0; - display: block; - float: right; - white-space: nowrap; - width: auto; - } - - .fieldset.giftcard { - >.legend { - &:extend(.abs-visually-hidden all); - } - - >.legend + br { - &:extend(.abs-no-display all); - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .cart-discount { - .giftcard .content { - padding-bottom: 35px; - } - - .actions-toolbar { - .secondary { - bottom: 17px; - } - } - } - - .field.open-amount { - width: 100%; - } - - .page-product-giftcard { - .product-info-main { - .product-info-stock-sku { - display: block; - padding-left: @indent__s; - text-align: left; - } - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .page-product-giftcard { - .product-info-main { - .price-box { - .price-container { - &.price-final { - font-size: @font-size__xl; - - .price { - font-size: 36px; - line-height: 36px; - } - } - } - } - - .product-info-stock-sku { - padding-bottom: 0; - } - - .product-reviews-summary { - float: none; - } - } - - .product-add-form { - margin-top: -@indent__base; - - .field:not(.text) { - .lib-form-field( - @_type: block, - @_column: true - ); - - &:nth-child(odd) { - padding-right: 25px; - } - - &:nth-child(even) { - padding-right: 0; - } - } - - .product-options-wrapper { - .field:not(.date) > .control { - width: auto; - } - } - } - } -} diff --git a/app/design/frontend/Magento/luma/Magento_GiftCardAccount/layout/checkout_cart_index.xml b/app/design/frontend/Magento/luma/Magento_GiftCardAccount/layout/checkout_cart_index.xml deleted file mode 100644 index 4bb2f7fdd1fa3..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_GiftCardAccount/layout/checkout_cart_index.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - diff --git a/app/design/frontend/Magento/luma/Magento_GiftCardAccount/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_GiftCardAccount/web/css/source/_module.less deleted file mode 100644 index 846ba28054df4..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_GiftCardAccount/web/css/source/_module.less +++ /dev/null @@ -1,64 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .giftcard-account { - .please-wait { - display: none; - } - - .form-giftcard-redeem { - .giftcard.info { - margin-bottom: @indent__l; - } - - .fieldset { - &:extend(.abs-forms-margin-small all); - } - } - } - - .opc-wrapper { - .form-giftcard-account { - max-width: 500px; - - .field { - margin: 0 0 @indent__base; - - .label { - &:extend(.abs-visually-hidden all); - } - } - } - - .giftcard-account-info { - margin: 0 0 @indent__base; - - .giftcard-account-number { - margin: 0 0 @indent__s; - } - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .form-giftcard-redeem { - &:extend(.abs-forms-general-desktop all); - } - - .block-balance-giftcard { - .block-content { - &:extend(.abs-account-block-font-size all); - } - } -} diff --git a/app/design/frontend/Magento/luma/Magento_GiftMessage/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_GiftMessage/web/css/source/_module.less deleted file mode 100644 index 0453937471a28..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_GiftMessage/web/css/source/_module.less +++ /dev/null @@ -1,432 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Variables -// _____________________________________________ - -@gift-message-field-label__color: @color-gray40; - -@gift-item-block__border-color: @color-gray-light5; -@gift-item-block__border-width: @border-width__base; - -@gift-item-block-title__color: @link__color; -@gift-item-block-title-icon__content: @icon-down; -@gift-item-block-title-icon__active__content: @icon-up; -@gift-item-block-title-icon__color: @color-gray52; -@gift-item-block-title-icon__font-size: 1.2rem; -@gift-item-block-title-icon__line-height: 20px; -@gift-item-block-title-icon__margin: 0 0 0 @indent__s; - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .gift-message { - .field { - margin-bottom: @indent__base; - - .label { - .lib-css(color, @gift-message-field-label__color); - .lib-css(font-weight, @font-weight__regular); - } - } - } - - .gift-options { - margin: @indent__base 0; - - .actions-toolbar { - .action-cancel { - &:extend(.abs-action-button-as-link all); - display: none; - } - } - } - - .gift-options-title { - .lib-css(font-weight, @font-weight__semibold); - margin: 0 0 @indent__base; - } - - .gift-options-content { - .fieldset { - margin: 0 0 @indent__base; - } - } - - .gift-summary { - margin-top: @indent__s; - position: relative; - - .actions-toolbar { - > .secondary { - .action { - margin: 0 0 0 @indent__base; - width: auto; - } - } - } - - .action-edit, - .action-delete { - &:extend(.abs-action-button-as-link all); - .lib-icon-font( - @icon-edit, - @_icon-font-size: 18px, - @_icon-font-line-height: 20px, - @_icon-font-text-hide: true, - @_icon-font-color: @minicart-icons-color, - @_icon-font-color-hover: @primary__color, - @_icon-font-color-active: @minicart-icons-color - ); - } - - .action-delete { - .lib-icon-font-symbol( - @_icon-font-content: @icon-trash - ); - } - } - - .action-gift { - &:extend(.abs-action-button-as-link all); - - .lib-icon-font( - @icon-down, - @_icon-font-size: 1.2rem, - @_icon-font-line-height: 20px, - @_icon-font-color: @minicart-icons-color, - @_icon-font-color-hover: @primary__color, - @_icon-font-color-active: @minicart-icons-color, - @_icon-font-margin: 0 0 0 @indent__s, - @_icon-font-position: after - ); - - &.active, - &._active { - &:after { - content: @icon-up; - } - } - } - - .gift-summary, - .cart.table-wrapper .gift-summary { - .actions-toolbar { - padding: 0; - position: absolute; - right: 0; - top: 0; - } - } - - // - // In-table block - // --------------------------------------------- - - .cart { - &.table-wrapper { - .gift-content { - box-sizing: border-box; - clear: left; - display: none; - float: left; - margin-right: -100%; - padding: @indent__base 0; - width: 100%; - - &._active { - display: block; - } - } - - .item-gift { - &._active { - .lib-css(border-top, @gift-item-block__border-width solid @gift-item-block__border-color); - } - - .action { - margin-right: 0; - } - } - } - } - - // - // Collapsible block - // --------------------------------------------- - - .gift-item-block { - .lib-css(border-bottom, @gift-item-block__border-width solid @gift-item-block__border-color); - margin: 0; - - &._active { - .title { - &:after { - .lib-css(content, @gift-item-block-title-icon__active__content); - } - } - } - - .title { - .lib-css(color, @gift-item-block-title__color); - cursor: pointer; - margin: 0; - padding: @indent__s @indent__xl @indent__s 15px; - position: relative; - - .lib-icon-font( - @gift-item-block-title-icon__content, - @_icon-font-size: @gift-item-block-title-icon__font-size, - @_icon-font-line-height: @gift-item-block-title-icon__line-height, - @_icon-font-color: @gift-item-block-title-icon__color, - @_icon-font-color-hover: @primary__color, - @_icon-font-margin: @gift-item-block-title-icon__margin, - @_icon-font-position: after, - @_icon-font-display: block - ); - } - - .content { - &:extend(.abs-add-clearfix all); - padding: @indent__s 0 @indent__base; - position: relative; - } - } - - // - // Account order gift message - // --------------------------------------------- - - .order-details-items { - .order-gift-message, - .block-order-details-gift-message { - &:extend(.abs-add-clearfix all); - - dt { - &:after { - content: ''; - } - } - - .label { - &:extend(.abs-colon all); - } - - .item-message { - clear: left; - } - - .item-options { - dt { - .lib-css(font-weight, @font-weight__regular); - margin: @indent__s 0; - } - } - } - - .order-items { - .order-gift-message { - &:not(.expanded-content) { - &:extend(.abs-hidden); - } - - .action.close { - &:extend(.abs-no-display all); - } - } - } - } - - .gift-messages-order { - margin-bottom: @indent__m; - } - .gift-message-summary { - padding-right: 7rem; - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .gift-message { - .actions-toolbar { - .action-update { - .lib-font-size(20); - padding: 15px; - width: 100%; - } - } - } - - .gift-item-block { - .lib-css(border-top, @gift-item-block__border-width solid @gift-item-block__border-color); - border-bottom: 0; - - .title { - &:after { - .lib-font-size(12); - position: absolute; - right: 20px; - top: 10px; - } - } - - .content { - padding-left: 1.5rem; - padding-right: 1.5rem; - } - } - - // - // In-table block - // --------------------------------------------- - - .cart { - &.table-wrapper { - .gift-content { - border-top: @border-width__base solid @color-gray-light5; - margin-right: -@mobile-cart-padding; - overflow: hidden; - padding-left: @mobile-cart-padding; - padding-right: @mobile-cart-padding; - } - } - - .action-gift { - .lib-icon-font( - @icon-present, - @_icon-font-size: 18px, - @_icon-font-line-height: 20px, - @_icon-font-text-hide: true, - @_icon-font-color: @minicart-icons-color, - @_icon-font-color-hover: @primary__color, - @_icon-font-color-active: @minicart-icons-color, - @_icon-font-margin: 0, - @_icon-font-position: after - ); - - &._active { - border: @border-width__base solid @color-gray-light5; - border-bottom-color: @color-white; - margin: -@indent__xs 14px -1px -15px; - padding: 4px @indent__s 9px 14px; - - &:after { - color: @primary__color; - } - } - } - } - - .gift-options-cart-item { - & + .towishlist { - left: 0; - position: absolute; - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .gift-options { - position: relative; - z-index: 1; - - .actions-toolbar { - clear: both; - padding: 0; - position: static; - - .secondary { - float: right; - - .action { - float: right; - margin-left: @indent__base; - margin-right: 0; - } - - .action-cancel { - display: block; - float: left; - margin-top: 6px; - } - } - - &:nth-child(3) { - &:before { - .lib-css(border-left, 1px solid @gift-item-block__border-color); - bottom: 5rem; - content: ''; - display: block; - left: 50%; - overflow: hidden; - position: absolute; - top: 0; - width: 0; - } - } - } - } - - .gift-options-title { - .lib-css(font-weight, @font-weight__light); - .lib-font-size(18); - } - - .gift-item-block { - .title { - font-size: 1.6rem; - padding: @indent__base 0; - } - } - - .item-gift { - td { - padding-left: 0; - padding-right: 0; - } - } - - // - // In-table block - // --------------------------------------------- - - .cart { - &.table-wrapper { - .gift-options { - .actions-toolbar { - clear: both; - padding: 0; - position: static; - } - } - } - - .action-gift { - float: left; - } - } - - .cart-container { - .cart-gift-item { - &:extend(.abs-shopping-cart-items-desktop all); - margin-bottom: @indent__base; - - .gift-options, - .gift-summary { - padding-bottom: @indent__base; - } - } - } -} diff --git a/app/design/frontend/Magento/luma/Magento_GiftRegistry/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_GiftRegistry/web/css/source/_module.less deleted file mode 100644 index bf791188b4053..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_GiftRegistry/web/css/source/_module.less +++ /dev/null @@ -1,403 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .form-giftregistry-share, - .form-giftregistry-edit { - &:extend(.abs-add-fields all); - .actions-toolbar:not(:last-child) { - margin-bottom: @indent__xl; - } - - .fieldset { - .nested { - .field:not(.choice) { - .control { - width: 100%; - } - } - } - } - } - - .form.giftregistry.items { - .actions-toolbar { - &:extend(.abs-reset-left-margin all); - } - } - - .giftregisty-dropdown { - &:extend(.abs-dropdown-simple all); - .action.toggle { - .lib-css(color, @link__color); - } - } - - .table-giftregistry-items { - .field.qty .qty { - &:extend(.abs-input-qty all); - } - - .product-image { - .lib-css(margin-right, @indent__s); - float: left; - } - } - - .form.giftregistry .fieldset { - .cart-summary & { - margin: 15px 0 @indent__xs; - text-align: left; - - .field { - margin: 0 0 @indent__s; - - .control { - float: none; - width: auto; - } - } - - .action.primary { - &:extend(.abs-revert-to-action-secondary all); - } - } - } - - .form-giftregistry-create { - .fieldset { - &:extend(.abs-forms-margin-small all); - } - } - - .form-giftregistry-edit { - .field.date { - &:extend(.abs-field-date all); - } - } - - .form-giftregistry-search { - margin-bottom: @indent__l*2; - - .legend { - &:extend(.abs-account-title all); - } - - .fields-specific-options { - .field { - &:nth-last-of-type(1) { - margin-bottom: 0; - } - } - - .datetime-picker { - &:extend(.abs-field-date-input all); - } - } - } - - .block-giftregistry-results { - .block-title { - &:extend(.abs-account-title all); - } - - .data.table { - &:extend(.abs-table-striped all); - } - } - - .block-giftregistry { - .actions-toolbar { - margin: 17px 0 0; - } - } - - .block-giftregistry-shared { - .item-options { - .item-value { - margin: 0 0 @indent__m; - } - } - } - - .block-giftregistry-shared-items { - .block-title { - &:extend(.abs-account-title all); - } - - .product-image-wrapper { - &:extend(.abs-reset-image-wrapper all); - } - - .item { - .col { - border: 0; - } - } - - th { - border-bottom: @border-width__base solid @border-color__base; - } - - .col { - padding: @cart-item-cell-padding-top 11px 10px; - - .price-box { - display: inline-block; - } - - .price-wrapper { - .lib-font-size(18); - display: block; - font-weight: @font-weight__bold; - white-space: nowrap; - } - } - - .qty { - .qty { - &:extend(.abs-input-qty all); - } - } - - .product { - .item-options { - &:extend(.abs-product-options-list all); - &:extend(.abs-add-clearfix all); - margin: 0; - } - - &-item-photo { - display: block; - max-width: 65px; - padding: @indent__s 0; - } - - &-item-name { - .lib-font-size(18); - display: block; - margin: 0 0 @indent__xs; - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { - .account { - .table-giftregistry { - .col.actions { - &:extend(.abs-col-no-prefix all); - } - } - } - - .table-giftregistry-items { - .col.product { - &:before { - &:extend(.abs-visually-hidden-mobile all); - } - &:extend(.abs-add-clearfix-mobile all); - } - - .field.choice, - .field.qty { - display: inline-block; - } - } - - .form-giftregistry-search { - .fieldset { - margin-bottom: @indent__base; - } - } - - .block-giftregistry-results { - .block-title { - margin-bottom: 0; - } - - .table-wrapper { - border-top: none; - } - } - - .block-giftregistry-shared-items { - .block-title { - margin-bottom: @indent__s; - } - - .table-wrapper { - border-top: 0; - } - } -} - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - // Shopping cart link - .cart.table-wrapper { - .action-giftregistry { - .lib-icon-font( - @icon-gift-registry, - @_icon-font-size: 18px, - @_icon-font-line-height: 20px, - @_icon-font-text-hide: true, - @_icon-font-color: @minicart-icons-color, - @_icon-font-color-hover: @primary__color, - @_icon-font-color-active: @minicart-icons-color - ); - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .form-giftregistry-share, - .form-giftregistry-edit { - &:extend(.abs-add-fields-desktop all); - &:extend(.abs-form-field-column-2 all); - .fieldset .field { - width: 45%; - } - } - - .form-giftregistry-edit { - .fieldset.shipping_address { - .fieldset { - margin-top: @form-field__vertical-indent; - } - } - } - - .form-giftregistry-create { - &:extend(.abs-forms-general-desktop all); - } - - .table-giftregistry { - .col.create { - white-space: nowrap; - } - - .col.message { - width: 40%; - } - - .col.actions { - width: 30%; - } - } - - .table-giftregistry-items { - .col.note { - width: 30%; - } - - .account .data.table& { - .lib-table-bordered( - @_table_type: horizontal - ); - - th { - border-bottom: 0; - } - - > tbody > tr:nth-child(even) { - > td, - > th { - background: none; - } - } - } - } - - .form-giftregistry-search { - .fieldset { - margin-bottom: @form-field__vertical-indent__desktop; - - .field { - &.name, - &.lastname { - .lib-form-field-column(@_column: true); - margin-bottom: auto; - } - - &.lastname { - padding: 0; - } - } - } - } - - .toolbar-giftregistry-results { - &:extend(.abs-pager-toolbar all); - } - - .block-giftregistry-shared { - .item-options { - &:extend(.abs-product-options-list-desktop all); - &:extend(.abs-add-clearfix-desktop all); - } - } - - .block-giftregistry-shared-items { - .column.main & { - .actions-toolbar { - &:extend(.abs-reset-left-margin-desktop all); - } - } - - .item { - border-bottom: @border-width__base solid @border-color__base; - border-top: 0; - } - - .product { - &-item-photo { - display: table-cell; - max-width: 100%; - padding: 0 @indent__base 0 0; - vertical-align: top; - width: 1%; - } - - &-item-details { - display: table-cell; - vertical-align: top; - width: 99%; - word-break: normal; - } - } - - .col { - &.product { - width: 48%; - } - - &:not(.product) { - text-align: center; - } - - &.price { - padding-top: 17px; - } - } - - .input-text { - &.qty { - margin-top: -4px; - } - } - } -} diff --git a/app/design/frontend/Magento/luma/Magento_GiftWrapping/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_GiftWrapping/web/css/source/_module.less deleted file mode 100644 index 2f5800c5a5a2c..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_GiftWrapping/web/css/source/_module.less +++ /dev/null @@ -1,326 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Variables -// _____________________________________________ - -@gift-wrapping__border-color: @color-gray-light5; -@gift-wrapping__border-width: @border-width__base; - -@gift-wrapping-preview__active__border-color: @color-gray20; -@gift-wrapping-preview__active__border-width: 3px; - -@gift-wrapping-thumbnail__height: 4rem; -@gift-wrapping-thumbnail__width: @gift-wrapping-thumbnail__height; - -@gift-wrapping-no-image__background: @color-gray95; -@gift-wrapping-no-image-icon__color: @color-gray-darken4; -@gift-wrapping-no-image-icon__font-size: 22px; - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .gift-wrapping { - .label { - .lib-css(margin, @form-field-type-label-block__margin); - display: inline-block; - } - - .field { - margin-bottom: @indent__s; - } - } - - .gift-wrapping-info { - .lib-css(font-weight, @font-weight__light); - font-size: @font-size__l; - margin: @indent__base 0; - } - - .gift-wrapping-list { - &:extend(.abs-add-clearfix all); - list-style: none; - margin: @indent__base 0 @indent__s; - padding: 0; - - .no-image { - .lib-css(background, @gift-wrapping-no-image__background); - .lib-icon-font( - @icon-present, - @_icon-font-size: @gift-wrapping-no-image-icon__font-size, - @_icon-font-line-height: @gift-wrapping-thumbnail__height, - @_icon-font-color: @gift-wrapping-no-image-icon__color, - @_icon-font-position: after, - @_icon-font-text-hide: true, - @_icon-font-vertical-align: middle - ); - - &:after { - display: block; - } - } - } - - .gift-wrapping-preview, - .gift-wrapping-item > span { - cursor: pointer; - display: block; - overflow: hidden; - position: relative; - z-index: 1; - } - - .gift-wrapping-item { - float: left; - margin: 0 @indent__s @indent__s 0; - - &:last-child { - margin-right: 0; - } - - &._active { - span { - &:before { - .lib-css(border, @gift-wrapping-preview__active__border-width solid @gift-wrapping-preview__active__border-color); - box-sizing: border-box; - content: ''; - display: block; - height: 100%; - position: absolute; - width: 100%; - z-index: 2; - } - } - } - - > span { - height: @gift-wrapping-thumbnail__height; - width: @gift-wrapping-thumbnail__width; - } - } - - .gift-wrapping-title { - margin: @indent__s 0; - - .action-remove { - &:extend(.abs-action-button-as-link all); - margin: -@indent__xs 0 0 @indent__xs; - - .lib-icon-font( - @icon-trash, - @_icon-font-size: 18px, - @_icon-font-line-height: 20px, - @_icon-font-text-hide: true, - @_icon-font-color: @minicart-icons-color, - @_icon-font-color-hover: @primary__color, - @_icon-font-color-active: @minicart-icons-color - ); - } - } - - .gift-options-content { - .fieldset { - .field { - margin: @indent__s 0; - } - } - } - - .gift-wrapping-summary { - padding-right: 7rem; - - .gift-wrapping-title { - border: 0; - display: inline-block; - padding: 0; - } - } - - .opc-wrapper { - .fieldset { - &.gift-message { - .field { - &.gift-wrapping { - padding: 0; - width: 100%; - } - } - } - } - } - - .opc-wrapper .data.table, - .table-order-items { - .gift-wrapping { - margin: @indent__base 0 0; - - .title { - float: none; - } - - .content { - &:extend(.abs-add-clearfix all); - margin: 0; - - > img { - float: left; - margin: 0 @indent__s 0 0; - max-height: 50px; - max-width: 50px; - } - } - } - } - - .gift-summary, - .gift-options { - &:extend(.abs-adjustment-incl-excl-tax all); - - .price-box { - margin-left: 22px; - } - - .regular-price { - &:before { - content: attr(data-label)': '; - } - - .price { - font-weight: @font-weight__bold; - } - } - } - - // - // Multiple Shipping Checkout - // --------------------------------------------- - - .order-options { - .item { - padding-bottom: @indent__base; - } - - .product { - &:extend(.abs-add-clearfix all); - margin-bottom: @indent__s; - } - - .product-image-container { - float: left; - padding-right: @indent__s; - } - - .gift-wrapping { - margin-bottom: @indent__s; - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .gift-options-cart-item, - .cart-gift-item { - .gift-wrapping { - .lib-css(border-bottom, @gift-wrapping__border-width solid @gift-wrapping__border-color); - margin-bottom: @indent__base; - padding-bottom: @indent__s; - } - } - - - .gift-wrapping-list { - width: 100%; - } - - .gift-wrapping-summary { - + .gift-message-summary { - padding-right: 0; - } - } - - .gift-options-cart-item { - float: left; - width: 100%; - } - - .gift-wrapping-preview { - img { - width: 100%; - } - } - - .item-actions { - .actions-toolbar { - .gift-options { - .gift-wrapping, - .gift-message { - display: block; - } - } - } - } -} - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .data.table { - .gift-wrapping { - .nested, - .content { - &:extend(.abs-add-clearfix-desktop all); - } - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .gift-options-cart-item, - .cart-gift-item { - .gift-wrapping { - box-sizing: border-box; - float: left; - padding-right: @indent__base; - width: 50%; - - & + .gift-message { - .lib-css(border-left, @gift-wrapping__border-width solid @gift-wrapping__border-color); - box-sizing: border-box; - float: left; - padding-left: 4.5rem; - width: 50%; - } - } - - .gift-summary { - .regular-price { - white-space: nowrap; - } - } - - .gift-wrapping-name { - padding-right: @indent__base; - } - } - - // - // Multiple Shipping Checkout - // --------------------------------------------- - - .order-options, - .table-order-review { - .gift-wrapping { - max-width: 50%; - } - } -} diff --git a/app/design/frontend/Magento/luma/Magento_MultipleWishlist/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_MultipleWishlist/web/css/source/_module.less deleted file mode 100644 index 7ed4a9e64e943..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_MultipleWishlist/web/css/source/_module.less +++ /dev/null @@ -1,571 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Variables -// _____________________________________________ - -@desktop-popup-width: 380px; -@desktop-popup-margin-left: -((@desktop-popup-width + (@popup__padding * 2)) / 2); -@desktop-popup-position-left: 50%; -@desktop-popup-position-top: 20%; - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .wishlist { - // Wish list split button - &.split.button { - .lib-dropdown-split( - @_options-selector: ~'.items', - @_dropdown-split-button-border-radius-fix: false, - @_dropdown-split-list-item-padding: 5px 5px 5px 23px, - @_dropdown-split-toggle-icon-content: @icon-down, - @_dropdown-split-toggle-active-icon-content: @icon-up, - @_icon-font-size: 12px, - @_icon-font-color: @addto-color, - @_icon-font-color-hover: @addto-hover-color, - @_icon-font-vertical-align: middle, - @_dropdown-split-list-pointer-position: left, - @_dropdown-split-list-min-width: 200px - ); - margin-right: 5%; - vertical-align: middle; - &:extend(.abs-dropdown-items-new all); - - .items { - padding: 6px 0; - text-align: left; - - .item { - > span { - display: block; - padding: 5px 5px 5px 23px; - } - - } - - li { - padding: 0; - } - } - - > .action { - &:extend(.abs-action-button-as-link all); - - &.split { - .lib-icon-font-symbol( - @_icon-font-content: @icon-wishlist-full - ); - &:extend(.abs-actions-addto all); - margin-right: 5px; - - &:before { - margin: 0; - width: 18px; - } - } - - &:active, - &:focus, - &:hover { - .lib-css(color, @addto-hover-color); - } - } - - > .action.toggle { - &:before { - border-left: 1px solid @addto-color; - content: ''; - float: left; - height: 15px; - margin: 3px 4px 0 0; - } - } - - .table-comparison &, - .product-items & { - > .action { - &.split { - span { - &:extend(.abs-visually-hidden all); - } - } - } - } - - .cart.table-wrapper & { - vertical-align: baseline; - - > .action { - &.split { - font-weight: normal; - letter-spacing: normal; - text-transform: none; - } - - &.toggle { - &:after { - .lib-css(color, @link__color); - } - } - - &.split, - &.toggle { - .lib-css(color, @link__color); - - &:before { - display: none; - } - } - } - } - } - - // Wish list popup - &.window.popup { - .lib-popup(); - box-sizing: border-box; - - &.active { - display: block; - } - } - - &.overlay { - .lib-window-overlay(); - - &.active { - display: block; - } - } - - // Wish list dropdown - &-dropdown { - &:extend(.abs-dropdown-simple all); - &:extend(.abs-dropdown-items-new all); - } - - &-dropdown.move, - &-dropdown.copy { - .action.toggle { - .lib-css(color, @link__color); - } - } - } - - .page-multiple-wishlist { - .page-title-wrapper { - .page-title { - &:extend(.abs-visually-hidden all); - } - } - - .actions-toolbar { - > .primary { - display: block; - float: none; - text-align: left; - - .action.remove { - float: right; - } - } - } - } - - .block-wishlist-management { - position: relative; - - .wishlist { - // Select wish list - &-select { - .wishlist-name { - &-label { - font-weight: @font-weight__semibold; - &:extend(.abs-colon all); - } - } - } - - // Wish list name - &-title { - margin-bottom: @indent__s; - - strong { - font-weight: @font-weight__light; - margin-right: @indent__s; - } - } - - &-notice { - .lib-css(color, @text__color__muted); - display: inline-block; - margin-right: @indent__base; - - &.private { - .lib-icon-font( - @_icon-font-content: @icon-private, - @_icon-font-color: lighten(@text__color__muted, 15%), - @_icon-font-vertical-align: text-bottom, - @_icon-font-margin: 0 @indent__xs 0 0 - ); - } - } - - // Wish list toolbar - &-toolbar { - &-select, - &-actions { - display: inline-block; - } - - &-select { - margin-right: @indent__base; - } - - .copy { - .dropdown { - right: 0; - - &:before { - left: auto; - right: 11px; - } - - &:after { - left: auto; - right: 10px; - } - } - } - } - - // Wish list toolbar actions - &-dropdown.move { - margin-right: @indent__base; - } - } - } - - .block-wishlist-search-form { - .block-title { - &:extend(.abs-account-title all); - } - - .form-wishlist-search { - margin-bottom: @indent__l * 2; - max-width: 500px; - - .fieldset { - > .legend { - &:extend(.abs-visually-hidden); - } - } - } - } - - .block-wishlist-search-results { - .block-title { - &:extend(.abs-account-title all); - } - - .data.table { - &:extend(.abs-table-striped all); - } - - .table-wrapper { - border-top: none; - } - } - - .block-wishlist-info-items { - .block-title { - margin-bottom: @indent__base; - .lib-font-size(22px); - - > strong { - font-weight: @font-weight__light; - } - } - - .product-item { - width: 100%; - } - - .product-item-photo { - margin-left: @indent__base; - } - - .product-item-info { - width: auto; - - &:hover { - .split { - visibility: visible; - } - } - } - - .price-wrapper { - display: block; - margin: 0 0 @indent__s; - } - - .split { - clear: both; - padding: @indent__s 0; - visibility: hidden; - } - - .wishlist-dropdown { - .change { - .lib-css(color, @link__color); - } - } - - .action { - &.towishlist { - padding: @indent__s 0; - } - } - - .input-text { - &.qty { - &:extend(.abs-input-qty all); - margin-right: 10px; - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { - .block-wishlist-management { - clear: both; - margin-top: -21px; - - .wishlist { - // Select wish list - &-select { - margin: 0 -@layout__width-xs-indent 20px; - - .wishlist-name { - .lib-font-size(16); - &:extend(.abs-toggling-title-mobile all); - } - - &-items { - border-bottom: @border-width__base solid @border-color__base; - .lib-css(background, @collapsible-nav-background); - display: none; - padding: 15px 0; - - &.active { - display: block; - } - - .item { - margin: 3px 0 0; - - &:first-child { - margin-top: 0; - } - - &.current { - display: none; - } - - a { - .lib-css(color, @text__color); - display: block; - padding: @indent__xs 18px; - text-decoration: none; - - &:hover { - .lib-css(background, @collapsible-nav-item-hover); - } - } - } - } - } - - &-add.item { - .add { - &:extend(.abs-icon-add-mobile all); - } - } - - // Wish list name - &-title { - strong { - .lib-font-size(26); - } - } - - // Wish list info - &-info { - margin-bottom: 15px; - } - - // Wish list toolbar - &-toolbar { - &-select, - &-actions { - margin-bottom: 15px; - } - } - } - } - - .products-grid.wishlist { - .product { - &-item { - &-checkbox { - left: 0; - position: absolute; - top: 20px; - } - - &-photo { - .page-multiple-wishlist & { - margin-left: @indent__m; - } - } - - &-name, - &-description, - .price-box, - &-tooltip { - .page-multiple-wishlist & { - margin-left: 115px; - } - } - } - } - - .wishlist-dropdown { - display: none; - } - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .wishlist { - &.window.popup { - bottom: auto; - .lib-css(top, @desktop-popup-position-top); - .lib-css(left, @desktop-popup-position-left); - .lib-css(margin-left, @desktop-popup-margin-left); - .lib-css(width, @desktop-popup-width); - right: auto; - } - } - - .block-wishlist-management { - &:extend(.abs-add-clearfix-desktop all); - margin-bottom: @indent__base; - - .wishlist { - // Select wish list - &-select { - border-bottom: 1px solid @secondary__color; - display: table; - margin-bottom: 15px; - width: 100%; - - .wishlist-name { - display: table-cell; - margin-right: @indent__s; - padding: @indent__xs @indent__s @indent__s; - vertical-align: top; - white-space: nowrap; - width: 5%; - } - - &-items { - display: table-cell; - padding-right: 160px; - vertical-align: top; - - .item { - display: inline-block; - margin-right: @indent__s; - padding: @indent__xs @indent__s @indent__s; - - &:last-child { - margin-right: 0; - } - } - - .current { - border-bottom: 3px solid @active__color; - font-weight: @font-weight__semibold; - } - } - - .wishlist-name-current { - display: none; - } - } - - &-add.item { - position: absolute; - right: 0; - top: 0; - } - - // Wish list name - &-title { - strong { - .lib-font-size(40); - } - } - - // Wish list info - &-info { - float: left; - } - - // Wish list toolbar - &-toolbar { - float: right; - } - } - } - - .block-wishlist-info-items { - .product-item-photo { - margin-left: 0; - } - } - - .products-grid.wishlist { - .product { - &-item { - &-checkbox { - float: left; - - + .product-item-name { - margin-left: @indent__m; - } - } - } - } - } - - .toolbar-wishlist-results { - &:extend(.abs-pager-toolbar all); - } -} diff --git a/app/design/frontend/Magento/luma/Magento_Reward/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_Reward/web/css/source/_module.less deleted file mode 100644 index 3a7930ca69da3..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_Reward/web/css/source/_module.less +++ /dev/null @@ -1,50 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .block-reward-info { - .reward-balance { - .lib-font-size(18); - margin-bottom: @indent__m; - } - - .reward-rates, - .reward-limit, - .reward-expiring { - &:not(:last-child) { - margin-bottom: @indent__m; - } - - .title { - display: inline-block; - margin-bottom: @indent__s; - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { - .table-wrapper.reward-history { - &:extend(.abs-account-table-margin-mobile all); - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .table-wrapper.reward-history { - &:extend(.abs-account-table-margin-desktop all); - } -} diff --git a/app/design/frontend/Magento/luma/Magento_Rma/web/css/source/_module.less b/app/design/frontend/Magento/luma/Magento_Rma/web/css/source/_module.less deleted file mode 100644 index 24beec58765ad..0000000000000 --- a/app/design/frontend/Magento/luma/Magento_Rma/web/css/source/_module.less +++ /dev/null @@ -1,210 +0,0 @@ -// /** -// * Copyright © Magento, Inc. All rights reserved. -// * See COPYING.txt for license details. -// */ - -// -// Common -// _____________________________________________ - -& when (@media-common = true) { - .order-details-items.rma { - .order-title { - display: none; - - + .toolbar { - display: none; - } - } - } - - .form-create-return { - &:extend(.abs-add-fields all); - - .additional { - &:first-child { - margin-top: 0; - } - } - - .field.comment { - margin-top: 55px; - } - - .actions-toolbar { - &:extend(.abs-add-clearfix all); - } - } - - .return-status { - &:extend(.abs-status all); - } - - .table-wrapper.table-returns { - .returns-details { - &.hidden { - display: none; - } - } - } - - .block-returns-comments { - .returns-comments { - dt, - dd { - margin: 0; - } - - dt { - font-weight: @font-weight__regular; - } - - dd { - margin-bottom: 15px; - - &:last-child { - margin-bottom: 0; - } - } - } - - .fieldset { - margin-bottom: @indent__base; - } - } - - .magento-rma-returns-returns, - .magento-rma-returns-view { - &:extend(.abs-title-orders all); - } - - // - // Guest return view page - // --------------------------------------------- - - .magento-rma-guest-returns { - .column.main { - .block:not(.widget) { - &:extend(.abs-account-blocks all); - } - } - - &:extend(.abs-title-orders all); - } - - .magento-rma-guest-create { - .order-links { - .item { - a { - .lib-button-as-link(@_margin: 0 @indent__l 0 0); - } - } - } - } -} - -// -// Mobile -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) { - .form-create-return { - .additional { - .field:nth-last-child(2) { - margin-bottom: 0; - } - - .field:last-child { - margin-top: @form-field__vertical-indent; - } - } - } - - .magento-rma-returns-returns, - .magento-rma-returns-view { - &:extend(.abs-title-orders-mobile all); - } - - .account { - .column.main { - .returns-details-items { - .block-returns-tracking { - .block-title { - > .action.track { - display: block; - float: none; - margin: @indent__s 0 0; - } - } - } - } - } - } - - .table-wrapper.table-returns { - &:extend(.abs-no-border-top all); - } -} - -// -// Desktop -// _____________________________________________ - -.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { - .form-create-return { - &:extend(.abs-add-fields-desktop all); - &:extend(.abs-form-field-column-2 all); - .fieldset .field { - width: 45%; - } - } - - .return-status { - &:extend(.abs-status-desktop all); - } - - .magento-rma-returns-returns, - .magento-rma-returns-view { - &:extend(.abs-title-orders-desktop all); - } - - .magento-rma-guest-returns { - .column.main .block.block-order-details-view { - &:extend(.abs-add-clearfix-desktop all); - - .block-content:not(.widget) .box { - &:extend(.abs-add-box-sizing-desktop all); - clear: none; - float: left; - width: (100%/4); - } - } - } - - .block-returns-tracking { - .block-title { - .action { - margin: 0 0 0 30px; - } - - .actions-track { - float: right; - margin-top: 12px; - } - } - } -} - -#registrant-options { - .item { - .control { - table { - .col.qty { - .input-qty { - display: none; - } - } - } - } - } -}