|
|
| Line 1: |
Line 1: |
| /* =================================================================== | | /* WikiDeal Common.css |
| WikiDeal — navigation always visible (AI-Admin-Assistant, 2026-06-13)
| | Note: a previous attempt to force the Vector-2022 left menu open by |
| Goal (Théo): left nav menu (Gov · Market · User Groups · Recent | | default broke the header layout — removed 2026-06-13. |
| changes · Get started + Key links) must be visible BY DEFAULT on
| | Navigation is provided by: (1) the ☰ main menu, (2) the top key-links |
| Vector-2022 desktop, without clicking the ☰ button.
| | bar (MediaWiki:Sitenotice), which works on desktop and mobile. */ |
| | |
| How: Vector-2022 keeps the main-menu markup inside an "unpinned"
| |
| dropdown that is hidden via the checkbox-hack. On wide screens we | |
| force that dropdown open and lay it out as a static left column
| |
| (instead of a floating panel). Reversible: delete this block.
| |
| | |
| Mobile (Minerva/MobileFrontend) is a different skin and ignores | |
| this; mobile nav is covered by MediaWiki:Sitenotice (top link bar).
| |
| =================================================================== */
| |
| @media screen and (min-width: 1000px) {
| |
| /* Force the main-menu dropdown content open and inline it */
| |
| .vector-main-menu-dropdown .vector-dropdown-content {
| |
| opacity: 1 !important;
| |
| visibility: visible !important;
| |
| height: auto !important;
| |
| position: static !important;
| |
| box-shadow: none !important;
| |
| background: transparent !important;
| |
| max-width: none !important;
| |
| max-height: none !important;
| |
| overflow: visible !important;
| |
| padding: 4px 0 0 0 !important;
| |
| }
| |
| /* The ☰ toggle button is now redundant on wide screens — hide it */
| |
| #vector-main-menu-dropdown-checkbox,
| |
| .vector-main-menu-dropdown .vector-dropdown-label {
| |
| display: none !important;
| |
| }
| |
| /* Hide the "Main menu / move to sidebar / hide" pinnable header row
| |
| (it only makes sense in the collapsible flow) */
| |
| .vector-main-menu-pinnable-header {
| |
| display: none !important;
| |
| }
| |
| }
| |