diff --git a/core/modules/system/system.theme-rtl.css b/core/modules/system/system.theme-rtl.css index 354f218f66e..97def54c6bb 100644 --- a/core/modules/system/system.theme-rtl.css +++ b/core/modules/system/system.theme-rtl.css @@ -41,12 +41,12 @@ th { /** * Collapsible fieldsets. */ -html.js fieldset.collapsible .fieldset-legend { +html.js fieldset.collapsible > legend .fieldset-legend { background-position: 98% 75%; padding-left: 0; padding-right: 15px; } -html.js fieldset.collapsed .fieldset-legend { +html.js fieldset.collapsed > legend .fieldset-legend { background-image: url(../../misc/menu-collapsed-rtl.png); background-position: 98% 50%; } diff --git a/core/modules/system/system.theme.css b/core/modules/system/system.theme.css index 786d1f532f6..1993d176d74 100644 --- a/core/modules/system/system.theme.css +++ b/core/modules/system/system.theme.css @@ -173,11 +173,11 @@ abbr.form-required, abbr.tabledrag-changed, abbr.ajax-changed { * * @see collapse.js */ -html.js fieldset.collapsible .fieldset-legend { +html.js fieldset.collapsible > legend .fieldset-legend { background: url(../../misc/menu-expanded.png) 5px 65% no-repeat; /* LTR */ padding-left: 15px; /* LTR */ } -html.js fieldset.collapsed .fieldset-legend { +html.js fieldset.collapsed > legend .fieldset-legend { background-image: url(../../misc/menu-collapsed.png); /* LTR */ background-position: 5px 50%; /* LTR */ }