From 5c0d8862c6390fb4002cdbe554c06e53269f447e Mon Sep 17 00:00:00 2001 From: Sebastian Zoglowek <55794780+zoglo@users.noreply.github.com> Date: Fri, 10 May 2024 16:36:11 +0200 Subject: [PATCH] Consider more classes for backwards compatibility - Also sort BC css --- .../contao/themes/flexible/styles/basic.css | 35 ++++++++++--------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/core-bundle/contao/themes/flexible/styles/basic.css b/core-bundle/contao/themes/flexible/styles/basic.css index 23c3b366741..a8df2bafac8 100644 --- a/core-bundle/contao/themes/flexible/styles/basic.css +++ b/core-bundle/contao/themes/flexible/styles/basic.css @@ -956,26 +956,10 @@ a.tl_submit { --widget-cols: 6; } - /* Backwards compatibility */ - *:not(.widget-group) > .w50 { - width: calc(50% - 30px); - float: left; - min-height: 80px; - } - .m12 { - margin: 0 15px; padding: 18px 0 16px; } - .cbx { - min-height: 46px; - } - - .cbx.m12 { - min-height: 80px; - } - .tip { max-width: 320px; } @@ -984,6 +968,25 @@ a.tl_submit { margin-top: 0; margin-bottom: 0; } + + /* Backwards compatibility */ + *:not(.widget-group) > .m12 { + margin: 0 15px; + } + + *:not(.widget-group) > .w50 { + width: calc(50% - 30px); + float: left; + min-height: 80px; + } + + *:not(.widget-group) > .cbx { + min-height: 46px; + } + + *:not(.widget-group) > .cbx.m12 { + min-height: 80px; + } } /* Large screens */