From 12787c3996e2537539e5b11733317511c3d799e8 Mon Sep 17 00:00:00 2001 From: Iurii Ivashchenko Date: Mon, 6 Mar 2017 15:32:04 +0200 Subject: [PATCH] MAGETWO-65547: Adjust styles of fraud protection configuration page --- .../web/css/source/_module.less | 10 ++------ .../web/css/source/module/_config.less | 23 +++++++++++++++++++ .../web/css/source/module/_order.less | 23 +++++++++++++++++++ 3 files changed, 48 insertions(+), 8 deletions(-) create mode 100644 app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/module/_config.less create mode 100644 app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/module/_order.less diff --git a/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/_module.less b/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/_module.less index 7449dce5e2ebb..ced4b40053035 100644 --- a/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/_module.less +++ b/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/_module.less @@ -3,11 +3,5 @@ // * See COPYING.txt for license details. // */ -// -// Order Case Info -// --------------------------------------------- - -.order-case-table { - &:extend(.abs-order-tables all); - &:extend(.abs-order-tbody-border all); -} +@import 'module/_order.less'; +@import 'module/_config.less'; diff --git a/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/module/_config.less b/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/module/_config.less new file mode 100644 index 0000000000000..fca1da0f6ffa1 --- /dev/null +++ b/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/module/_config.less @@ -0,0 +1,23 @@ +// /** +// * Copyright © 2013-2017 Magento, Inc. All rights reserved. +// * See COPYING.txt for license details. +// */ + +@image-signifyd-logo-path: '../Magento_Signifyd/images/logo.png'; + +// +// Outer slider of configuration +// +.signifyd-logo-header { + > .entry-edit-head { + > a:after {content: url(@image-signifyd-logo-path)} + } + + ul { + margin-left: 5em; + } + + .webhook-url { + word-break: break-all; + } +} diff --git a/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/module/_order.less b/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/module/_order.less new file mode 100644 index 0000000000000..994a26c12095c --- /dev/null +++ b/app/design/adminhtml/Magento/backend/Magento_Signifyd/web/css/source/module/_order.less @@ -0,0 +1,23 @@ +// /** +// * Copyright © 2013-2017 Magento, Inc. All rights reserved. +// * See COPYING.txt for license details. +// */ + +// +// Order Case Info +// --------------------------------------------- + +.order-case-table { + &:extend(.abs-order-tables all); + &:extend(.abs-order-tbody-border all); +} + +// +// Layout +// --------------------------------------------- +.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { + .case-information { + float: left; + #mix-grid .width(6,12); + } +}