From 4420a959f1c0555c43c7d5b532f45cf325c1c39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 12 Jan 2021 12:09:24 +0100 Subject: [PATCH] PanelOptionsGroups: Only restore styles from PanelOptionsGroup (#30215) --- public/sass/components/_panel_editor.scss | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/public/sass/components/_panel_editor.scss b/public/sass/components/_panel_editor.scss index 3959b6b8fdc..0189a31cfe5 100644 --- a/public/sass/components/_panel_editor.scss +++ b/public/sass/components/_panel_editor.scss @@ -36,3 +36,39 @@ min-width: 200px; max-width: 300px; } + +/* Used by old angular panels */ +.panel-options-group { + border-bottom: $panel-border; +} + +.panel-options-group__header { + padding: 8px 16px 8px 8px; + position: relative; + display: flex; + align-items: center; + cursor: pointer; + font-weight: 500; + color: $text-color-semi-weak; + + &:hover { + color: $text-color; + + .panel-options-group__icon { + color: $text-color; + } + } +} + +.panel-options-group__icon { + color: $text-color-weak; + margin-right: 8px; +} + +.panel-options-group__title { + position: relative; +} + +.panel-options-group__body { + padding: 8px 16px 16px 32px; +}