X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=blobdiff_plain;f=resources%2Fsrc%2Fjquery%2Fjquery.makeCollapsible.styles.less;h=23e86f7c782d0b33d65f48b85fb6b3be35cc1590;hb=97eab7f35b0801cda02c96f65bdb87313ebd43ac;hp=fd6f38cddb85e6be167d83718f172eac16321c71;hpb=bb20894617ccaab0f1ef5c3b85a8f4cbaf2f18c1;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/jquery/jquery.makeCollapsible.styles.less b/resources/src/jquery/jquery.makeCollapsible.styles.less index fd6f38cddb..23e86f7c78 100644 --- a/resources/src/jquery/jquery.makeCollapsible.styles.less +++ b/resources/src/jquery/jquery.makeCollapsible.styles.less @@ -43,9 +43,9 @@ display: none; } + // table.: Where the tbody or thead is the first child of the collapsible table ol.mw-collapsible:not( @{exclude} ):before, ul.mw-collapsible:not( @{exclude} ):before, - // Where the tbody or thead is the first child of the collapsible table table.mw-collapsible:not( @{exclude} ) :first-child tr:first-child th:last-child:before, table.mw-collapsible:not( @{exclude} ) > caption:first-child:after, div.mw-collapsible:not( @{exclude} ):before { @@ -74,9 +74,10 @@ // Use the exclude selector to ensure animations do not break .mw-collapsed:not( @{exclude} ) { // Avoid FOUC/reflows on collapsed elements by making sure they are opened by default (T42812) + // > thead + tbody: 'https://www.mediawiki.org/wiki/Manual:Collapsible_elements/Demo/Simple#Collapsed_by_default' > p, > table, - > thead + tbody, // 'https://www.mediawiki.org/wiki/Manual:Collapsible_elements/Demo/Simple#Collapsed_by_default' + > thead + tbody, tr:not( :first-child ), .mw-collapsible-content { display: none; @@ -124,12 +125,6 @@ li, } } -fieldset.mw-collapsible .mw-collapsible-toggle { - position: absolute; - right: 0; - z-index: 1; -} - // special treatment for list items to match above // !important necessary to override overly-specific float left and right above. ol.mw-collapsible:not( @{exclude} ):before,