MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 454: Line 454:
}
}


/* Apply Adishila only to text, not icons */
/* 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:
}
}


/* Expand/collapse toggle use system font and force vertical centering */
/* Toggle button strip box but preserve icon mask rendering */
.vector-toc .vector-toc-toggle {
.vector-toc .cdx-button.vector-toc-toggle {
   font-family: system-ui, sans-serif !important;
   background: none !important;
   font-size: 0.85em !important;
  border: none !important;
   line-height: 1 !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;
   position: relative !important;
   display: inline-flex !important;
   top: -0.1em !important;
   align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  opacity: 0.6;
}
}


Line 491: Line 501:
}
}


/* Active section highlight — orange matching adhyaya headings */
/* 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 > a {
.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;