MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "# Replace the JAVASCRIPT_CODE section with this updated version: →Sidebar collapsible sections: .collapsible-header { cursor: pointer; font-weight: bold; padding: 5px 8px; background: #f8f9fa; border-radius: 4px; margin-bottom: 2px; } .collapsible-content { display: none; margin: 0; padding-left: 15px; } .collapsible-section.active .collapsible-content { display: block; }" Tag: Replaced |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* | /* | ||
. | #mw-panel.collapsed { | ||
width: 0; | |||
overflow: hidden; | |||
} | } | ||
. | #mw-panel.collapsed .portal, | ||
#mw-panel.collapsed .vector-menu-content { | |||
display: none; | display: none; | ||
} | } | ||
*/ | |||
.collapsible- | |||
/* | |||
.vector-menu.mw-portlet li.collapsible-header, | |||
.vector-menu-portal li.collapsible-header { | |||
cursor: pointer; | |||
font-weight: 600; | |||
display: flex; | |||
align-items: center; | |||
} | |||
.mw-collapsible-arrow { | |||
display: inline-block; | |||
width: 1em; | |||
margin-right: 4px; | |||
transform-origin: center; | |||
transition: transform 0.2s ease; | |||
user-select: none; | |||
} | |||
li.collapsible-header.open > .mw-collapsible-arrow { | |||
transform: rotate(90deg); | |||
} | } | ||
*/ |
Latest revision as of 15:30, 26 August 2025
/* #mw-panel.collapsed { width: 0; overflow: hidden; } #mw-panel.collapsed .portal, #mw-panel.collapsed .vector-menu-content { display: none; } */ /* .vector-menu.mw-portlet li.collapsible-header, .vector-menu-portal li.collapsible-header { cursor: pointer; font-weight: 600; display: flex; align-items: center; } .mw-collapsible-arrow { display: inline-block; width: 1em; margin-right: 4px; transform-origin: center; transition: transform 0.2s ease; user-select: none; } li.collapsible-header.open > .mw-collapsible-arrow { transform: rotate(90deg); } */