Reveal edit icon and style top level headings on desktop Minerva

Bug: T179356
Change-Id: I414040658eeb8a24d41f6496dd634ef47e3e9952
This commit is contained in:
jdlrobson 2017-11-01 11:28:06 -07:00 committed by Jdlrobson
parent dfabc67d95
commit a7ab80335a
1 changed files with 10 additions and 1 deletions

View File

@ -222,16 +222,20 @@ input.search {
.edit-page {
display: inline-block;
}
.collapsible-heading .edit-page {
visibility: hidden;
}
.open-block {
.collapsible-heading.open-block {
// Restrict to child so that child section edit links do not get revealed.
.edit-page {
visibility: visible;
}
}
.mw-parser-output > h2,
.section-heading {
width: 100%;
border-bottom: 1px solid @colorGray14;
@ -243,6 +247,11 @@ input.search {
}
}
.mw-parser-output > h1,
.mw-parser-output > h2,
.mw-parser-output > h3,
.mw-parser-output > h4,
.mw-parser-output > h5,
.section-heading,
.in-block {
// Safari needs this. @see T106347