From cf00e9c662cc9c756bf01ad1f390061561bfa07d Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 25 Oct 2023 14:50:53 +0200 Subject: [PATCH] handling InputControl button colors in editor --- resources/css/admin-style.css | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/resources/css/admin-style.css b/resources/css/admin-style.css index 49ec54b..819039c 100644 --- a/resources/css/admin-style.css +++ b/resources/css/admin-style.css @@ -19,3 +19,39 @@ .block-editor-block-list__block { background-color: yellow !imporatant; */ /* } */ + +.homegrade-blocks-components-image__panel-body { + .components-tip { + margin: 10px 0; + } + + .media-replace-container { + .components-dropdown .components-toolbar__control { + background-color: #e04d42; + color: white; + } + } + img { + display: block; + } + .components-dropdown { + display: block; + width: fit-content; + } + .media-replace-container { + padding: 10px 0; + display: flex; + gap: 10px; + align-items: center; + } + + .components-toggle-group-control-option-base { + outline: transparent; + } + + .components-toggle-group-control { + div[role='presentation'] { + background-color: #e04d42; + } + } +}