X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=resources%2Fsrc%2Fjquery%2Fjquery.makeCollapsible.css;h=fc52d5173e7664f8b35b293fd264910ef9cdefce;hb=1054deece9c03a448f03cf3fd03493458d9bee09;hp=6364c70743c941ee83d5c18f39c303daa7ff7cc0;hpb=ceb7993e2a624c41e9e325bc8e04a6f6058e3752;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/jquery/jquery.makeCollapsible.css b/resources/src/jquery/jquery.makeCollapsible.css index 6364c70743..fc52d5173e 100644 --- a/resources/src/jquery/jquery.makeCollapsible.css +++ b/resources/src/jquery/jquery.makeCollapsible.css @@ -1,3 +1,9 @@ +/* + * Please do not add any CSS rules here that impact the positioning of the element + * e.g. padding, margin, position or float. + * These instead should live in jquery.makeCollapsible.styles +*/ + /* See also jquery.makeCollapsible.js */ .mw-collapsible-toggle { float: right; @@ -12,17 +18,6 @@ .mw-collapsible-toggle-default:after { content: ']'; } -/* Align the toggle based on the direction of the content language */ -/* @noflip */ -.mw-content-ltr .mw-collapsible-toggle, -.mw-content-rtl .mw-content-ltr .mw-collapsible-toggle { - float: right; -} -/* @noflip */ -.mw-content-rtl .mw-collapsible-toggle, -.mw-content-ltr .mw-content-rtl .mw-collapsible-toggle { - float: left; -} .mw-customtoggle, .mw-collapsible-toggle { @@ -37,17 +32,3 @@ caption .mw-collapsible-toggle, .mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle { float: none; } - -/* list-items go as wide as their parent element, don't float them inside list items */ -li .mw-collapsible-toggle, -.mw-content-ltr li .mw-collapsible-toggle, -.mw-content-rtl li .mw-collapsible-toggle, -.mw-content-rtl .mw-content-ltr li .mw-collapsible-toggle, -.mw-content-ltr .mw-content-rtl li .mw-collapsible-toggle { - float: none; -} - -/* the added list item should have no list-style */ -.mw-collapsible-toggle-li { - list-style: none; -}