From 3175f0f68cf8db3e6fb7029ea55367b5c3110afb Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Fri, 2 Dec 2022 11:52:06 +0100 Subject: [PATCH] Specify for edit, capture, ok and plus icons: background is always blue The previously success color (which is green) is doesn't fit the v2 design --- .../css/admin/v2/components/tables.scss | 7 +++++ .../css/admin/v2/plugins/powertip.scss | 27 +++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/app/webpacker/css/admin/v2/components/tables.scss b/app/webpacker/css/admin/v2/components/tables.scss index 8e8799ae1b..dc1d9893ab 100644 --- a/app/webpacker/css/admin/v2/components/tables.scss +++ b/app/webpacker/css/admin/v2/components/tables.scss @@ -71,6 +71,13 @@ table td.actions { } } } + .icon-edit:hover, + .icon-capture:hover, + .icon-ok:hover, + .icon-plus:hover { + background-color: $v2-blue; + color: $color-1; + } } table#listing_orders { diff --git a/app/webpacker/css/admin/v2/plugins/powertip.scss b/app/webpacker/css/admin/v2/plugins/powertip.scss index dedef2bf60..b496967f20 100644 --- a/app/webpacker/css/admin/v2/plugins/powertip.scss +++ b/app/webpacker/css/admin/v2/plugins/powertip.scss @@ -28,4 +28,31 @@ &.sw:before { border-right-color: $v2-blue; } + + &.edit, + &.green, + &.capture, + &.save, + &.add { + background-color: $v2-blue; + + &.n:before, + &.ne:before, + &.nw:before { + border-top-color: $v2-blue; + } + &.e:before, + &.nw:before, + &.sw:before { + border-right-color: $v2-blue; + } + &.s:before, + &.se:before, + &.sw:before { + border-bottom-color: $v2-blue; + } + &.w:before { + border-left-color: $v2-blue; + } + } }