MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,739:
.vector-toc .vector-toc-toggle {
position: absolute !important;
top: 0.4em35em;
right: 0;
width: 1.1rem !important; /* fixed small box — never a wide hit area */
height: auto1.1rem !important;
min-width: 0 !important;
min-height: 0 !important;
width: auto !important;
height: auto !important;
margin: 0 !important;
padding: 0 !important;
border: none !important;
background: none !important;
box-shadow: none !important; /* kill Codex's teal focus ring (the "blue rectangle") */
outline: none !important;
font-size: 0;
}
/* Codex re-applies the ring / background on every interaction state — neutralise
them all so only the bare ▸/▾ glyph ever shows (these come AFTER the section's
.cdx-button:focus rule, so they win the tie). */
.vector-toc .vector-toc-toggle:hover,
.vector-toc .vector-toc-toggle:focus,
.vector-toc .vector-toc-toggle:focus-visible,
.vector-toc .vector-toc-toggle:active {
background: none !important;
widthborder: autonone !important;
box-shadow: none !important;
outline: none !important;
}
.vector-toc .vector-toc-toggle .vector-icon { display: none; }