mediawiki-skins-MinervaNeue/resources/skins.minerva.talk.styles/talkpage.less
Volker E 2ac6ee0309 Rename LESS variable for unified naming scheme
Change-Id: I89342b7dd01e9aba1b5761bad6cb44ab930d8ceb
2019-11-25 22:54:30 +00:00

80 lines
1.7 KiB
Plaintext

@import '../../minerva.less/minerva.variables.less';
@border-color-divider: @colorGray14;
.minerva-talk-add-button {
display: block;
width: 100%;
max-width: none;
margin-top: 15px;
margin-bottom: 20px;
}
.minerva-talk-content-explained {
// When .skin-minerva--talk-simplified class is not applied to body, we don't
// want this to show (e.g. on pages without any topics, redundant no content
// messages could show)
display: none;
margin-top: 15px; // setting margin-top in case .minerva-talk-add-button is not present to provide a margin (i.e. when anon user)
padding-bottom: 15px;
border-bottom: 1px solid @border-color-divider;
font-size: @font-size-minerva-small;
font-weight: bold;
color: @colorGray5;
}
.minerva-talk-full-page-button {
display: block;
position: sticky;
position: -webkit-sticky;
bottom: 0;
left: 0;
width: 100%;
padding: 1em;
color: @colorProgressive;
background: @colorGray15;
border-top: 1px solid @border-color-divider;
text-align: center;
}
// Only run on talk pages
.client-js .skin-minerva--talk-simplified {
#toc,
#mf-section-0,
.section-heading + div {
display: none;
}
.minerva-talk-content-explained {
display: block;
}
.section-heading {
position: relative;
border-bottom: 1px solid @border-color-divider;
font-size: 1em;
font-family: @fontFamilyBase;
line-height: 1;
cursor: pointer;
display: block;
margin: 0;
padding: 0.8em 0;
.mw-ui-icon {
display: none;
}
}
.return-link {
margin-bottom: 20px;
}
}
@media screen and ( min-width: @width-breakpoint-tablet ) {
.minerva-talk-full-page-button {
margin-left: auto;
margin-right: auto;
max-width: @contentMaxWidthTablet;
}
}