From f59ffac8ce23a78f62393716a6a498052ccc7f09 Mon Sep 17 00:00:00 2001 From: Dmitrii Fediuk Date: Mon, 22 Apr 2024 08:38:23 +0100 Subject: [PATCH] https://github.com/thehcginstitute-com/m1/issues/576 --- .../default/hcg/css/compiled/sumoselect.css | 35 +++++++++---------- .../hcg/css/compiled/sumoselect.css.map | 2 +- .../default/hcg/css/source/sumoselect.scss | 16 ++++----- 3 files changed, 24 insertions(+), 29 deletions(-) diff --git a/skin/adminhtml/default/default/hcg/css/compiled/sumoselect.css b/skin/adminhtml/default/default/hcg/css/compiled/sumoselect.css index acee3d88c7..a7a78e506b 100644 --- a/skin/adminhtml/default/default/hcg/css/compiled/sumoselect.css +++ b/skin/adminhtml/default/default/hcg/css/compiled/sumoselect.css @@ -29,22 +29,11 @@ } .SumoSelect { + display: inline-block; min-width: 50px; width: 100%; -} -.SumoSelect p { - margin: 0; -} -.SumoSelect .hidden { - display: none; -} -.SumoSelect .search-txt { - display: none; outline: none; -} -.SumoSelect .no-match { - display: none; - padding: 6px; + position: relative; } .SumoSelect.open > .search > span, .SumoSelect.open > .search > label { visibility: hidden; @@ -63,6 +52,20 @@ box-sizing: border-box; border-radius: 5px; } +.SumoSelect p { + margin: 0; +} +.SumoSelect .hidden { + display: none; +} +.SumoSelect .search-txt { + display: none; + outline: none; +} +.SumoSelect .no-match { + display: none; + padding: 6px; +} .SumoSelect > .optWrapper > .options li.opt label, .SumoSelect > .CaptionCont, .SumoSelect .select-all > label { user-select: none; -o-user-select: none; @@ -71,12 +74,6 @@ -webkit-user-select: none; } -.SumoSelect { - display: inline-block; - position: relative; - outline: none; -} - .SumoSelect:focus > .CaptionCont, .SumoSelect:hover > .CaptionCont, .SumoSelect.open > .CaptionCont { box-shadow: 0 0 2px #7799D0; border-color: #7799D0; diff --git a/skin/adminhtml/default/default/hcg/css/compiled/sumoselect.css.map b/skin/adminhtml/default/default/hcg/css/compiled/sumoselect.css.map index 2ecee133fb..d99169f5fc 100644 --- a/skin/adminhtml/default/default/hcg/css/compiled/sumoselect.css.map +++ b/skin/adminhtml/default/default/hcg/css/compiled/sumoselect.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["../source/sumoselect/_top-rules.scss","../source/sumoselect.scss"],"names":[],"mappings":"AAEA;EAIC;;;AAED;EAAiB;;;AACjB;EAAc;;;AAGd;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACxBD;EAIC;EAAiB;;AACjB;EAAG;;AACH;EAAS;;AACT;EAAa;EAAe;;AAC5B;EAAW;EAAe;;AAEd;EAAiB;;AAC5B;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACC;EACA;EACA;EACA;EACA;;;AAGF;EACC;EACA;EACA;;;AAED;EACC;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;AACD;AAAA;AAAA;EAGC;;;AAED;AACA;EACC;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;AACA;AAAA;AAAA;EAGC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;AACA;AAAA;AAAA;EAGC;EACA;;;AAED;EACC;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;AACA;EACA;AACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;EACA;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;;;AAED;AAAA;AAAA;AAGA;EAAiD;;;AACjD;EACC;EACA;AACD;AAAA;AAAA;EAGC;;;AAED;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;AACA;EACC;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;AACA;EACC;EACA;;;AAED;AAAA;EAEC;EACA;EACA;EACA;EACA;EACA;;;AAED;AAAA;EAEC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;;;AAED;AACA;EACC;;;AAED;AACA;EACC;;;AAED;EACC;;;AAED;AAAA;AAAA;EAGC;EACA;EACA;EACA;EACA;EACA;;;AAED;AACA;EACC;EACA;;;AAED;EACC;EACA;;;AAED;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;AACA;EACC;EACA;;;AAED;EACC;EACA;;;AAED;EACC;EACA;;;AAED;EACC;EACA;EACA;;;AAED;EACC;;;AAED;EACC","file":"sumoselect.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["../source/sumoselect/_top-rules.scss","../source/sumoselect.scss"],"names":[],"mappings":"AAEA;EAIC;;;AAED;EAAiB;;;AACjB;EAAc;;;AAGd;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;ACxBD;EACC;EAIA;EAAiB;EACjB;EACA;;AAEY;EAAiB;;AAC5B;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EAAG;;AACH;EAAS;;AACT;EAAa;EAAe;;AAC5B;EAAW;EAAe;;AAC1B;EACC;EACA;EACA;EACA;EACA;;;AAGF;EACC;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;AACD;AAAA;AAAA;EAGC;;;AAED;AACA;EACC;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;AACA;AAAA;AAAA;EAGC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;AACA;AAAA;AAAA;EAGC;EACA;;;AAED;EACC;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;AACA;EACA;AACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;EACA;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;;;AAED;AAAA;AAAA;AAGA;EAAiD;;;AACjD;EACC;EACA;AACD;AAAA;AAAA;EAGC;;;AAED;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;AACA;EACC;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;AACA;EACC;EACA;;;AAED;AAAA;EAEC;EACA;EACA;EACA;EACA;EACA;;;AAED;AAAA;EAEC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;EACC;EACA;EACA;EACA;;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;;;AAED;EACC;;;AAED;EACC;EACA;;;AAED;EACC;;;AAED;AACA;EACC;;;AAED;AACA;EACC;;;AAED;EACC;;;AAED;AAAA;AAAA;EAGC;EACA;EACA;EACA;EACA;EACA;;;AAED;AACA;EACC;EACA;;;AAED;EACC;EACA;;;AAED;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;;AAED;EACC;;;AAED;EACC;;;AAED;AACA;EACC;EACA;;;AAED;EACC;EACA;;;AAED;EACC;EACA;;;AAED;EACC;EACA;EACA;;;AAED;EACC;;;AAED;EACC","file":"sumoselect.css"} \ No newline at end of file diff --git a/skin/adminhtml/default/default/hcg/css/source/sumoselect.scss b/skin/adminhtml/default/default/hcg/css/source/sumoselect.scss index e292d5205e..b349c610ca 100644 --- a/skin/adminhtml/default/default/hcg/css/source/sumoselect.scss +++ b/skin/adminhtml/default/default/hcg/css/source/sumoselect.scss @@ -2,14 +2,13 @@ // "Refactor `HemantNegi/jquery.sumoselect`": https://github.com/thehcginstitute-com/m1/issues/576 @import 'sumoselect/_top-rules'; .SumoSelect { + display: inline-block; // 2024-04-22 Dmitrii Fediuk https://upwork.com/fl/mage2pro // 1) "Upgrade `HemantNegi/jquery.sumoselect`": https://github.com/thehcginstitute-com/m1/issues/553 // 2) https://github.com/thehcginstitute-com/m1/blob/2024-04-22/skin/adminhtml/default/default/iwd/ordergrid/sumoselect.css#L2 min-width: 50px; width: 100%; - p {margin: 0;} - .hidden {display: none;} - .search-txt {display: none; outline: none;} - .no-match {display: none; padding: 6px;} + outline: none; + position: relative; &.open { > .search {> span, > label {visibility: hidden;}} .search-txt { @@ -27,6 +26,10 @@ border-radius: 5px; } } + p {margin: 0;} + .hidden {display: none;} + .search-txt {display: none; outline: none;} + .no-match {display: none; padding: 6px;} > .optWrapper > .options li.opt label, > .CaptionCont, .select-all > label { user-select: none; -o-user-select: none; @@ -35,11 +38,6 @@ -webkit-user-select: none; } } -.SumoSelect { - display: inline-block; - position: relative; - outline: none; -} .SumoSelect:focus > .CaptionCont, .SumoSelect:hover > .CaptionCont, .SumoSelect.open > .CaptionCont { box-shadow: 0 0 2px #7799D0; border-color: #7799D0;