MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 454: | Line 454: | ||
} | } | ||
/* Apply Adishila only to text, not | /* Apply Adishila only to text links, not the whole TOC */ | ||
.vector-toc .vector-toc-link, | .vector-toc .vector-toc-link, | ||
.vector-toc .vector-toc-text, | .vector-toc .vector-toc-text, | ||
| Line 470: | Line 470: | ||
} | } | ||
/* | /* Toggle button — strip box but preserve icon mask rendering */ | ||
.vector-toc .vector-toc-toggle { | .vector-toc .cdx-button.vector-toc-toggle { | ||
background: none !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
outline: none !important; | |||
padding: 0 !important; | |||
margin: 0 0 0 4px !important; | |||
min-width: 0 !important; | |||
min-height: 0 !important; | |||
width: 1.2em !important; | |||
height: 1.2em !important; | |||
vertical-align: middle !important; | vertical-align: middle !important; | ||
display: inline-flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
cursor: pointer !important; | |||
opacity: 0.6; | |||
} | } | ||
| Line 491: | Line 501: | ||
} | } | ||
/* Active | /* Active highlight — orange matching adhyaya headings */ | ||
.vector-toc .vector-toc-list-item-active > .vector-toc-link, | .vector-toc li.vector-toc-list-item-active > a, | ||
.vector-toc .vector-toc-list-item-active > | .vector-toc li.vector-toc-list-item-active > .vector-toc-link, | ||
.vector-toc .vector-toc-list-item-active .vector-toc-link, | |||
.vector-toc .vector-toc-level-1-active > .vector-toc-link { | |||
color: #f57c00 !important; | color: #f57c00 !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||