mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
734ac36f1e
max-width should actually be one smaller than the threshold Additional changes: * Also rename to @width-breakpoint-mobile and rename @width-breakpoint-desktop for desktop variable in anticipation of T171365 Bug: T176286 Change-Id: Ia37bceb46a6b780f473828ff38749543bdfcc9f6
126 lines
2 KiB
Plaintext
126 lines
2 KiB
Plaintext
@import 'minerva.variables';
|
|
@import 'minerva.mixins';
|
|
|
|
// hide menu items when not possible to use
|
|
.client-nojs #ca-watch,
|
|
#ca-talk.selected {
|
|
// Important as this is not negotiable.
|
|
display: none !important;
|
|
}
|
|
|
|
.client-nojs #ca-edit {
|
|
// This is negotiable as non-JS editing might be enabled.
|
|
display: none;
|
|
}
|
|
|
|
#page-actions .nojs-edit {
|
|
display: inline-block;
|
|
}
|
|
|
|
.heading-holder {
|
|
@pageActionsHeight: @pageActionFontSize + (2 * @iconGutterWidth);
|
|
padding: @titleSectionSpacingTop 0 (@pageActionsHeight + 0.5em);
|
|
overflow: hidden;
|
|
position: relative;
|
|
|
|
.tagline {
|
|
color: @colorGray5;
|
|
font-size: 0.85em;
|
|
margin: 4px 0 0;
|
|
|
|
&:first-letter {
|
|
text-transform: capitalize;
|
|
}
|
|
}
|
|
}
|
|
|
|
#section_0 {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
#page-actions {
|
|
font-size: @pageActionFontSize;
|
|
float: none;
|
|
border: 0;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
border-top: 1px solid @colorGray14;
|
|
border-bottom: 1px solid @colorGray12;
|
|
|
|
padding: 0.5em 0;
|
|
|
|
li {
|
|
display: inline-block;
|
|
// Needed for non-JavaScript users
|
|
position: relative;
|
|
cursor: pointer;
|
|
// Override .hlist rule.
|
|
margin-right: 0;
|
|
margin-bottom: 0;
|
|
float: right;
|
|
|
|
// FIXME: use .cloaked class
|
|
// file inputs are notoriously difficult to style
|
|
input {
|
|
opacity: 0;
|
|
}
|
|
|
|
input,
|
|
a,
|
|
span,
|
|
button {
|
|
// Needed for non-JavaScript users
|
|
position: absolute;
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
// needed for ContentOverlay pointer arrow
|
|
margin: 0 0 8px;
|
|
}
|
|
|
|
button {
|
|
text-indent: inherit;
|
|
outline: 0;
|
|
}
|
|
a,
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&:first-child {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
|
|
.language-selector {
|
|
float: left;
|
|
margin-left: -@iconGutterWidth;
|
|
|
|
&.disabled {
|
|
cursor: default;
|
|
opacity: 0.25;
|
|
}
|
|
}
|
|
|
|
#ca-edit {
|
|
margin-right: -@iconGutterWidth;
|
|
}
|
|
}
|
|
|
|
// On small devices that don't support Javascript, hide the page actions bar
|
|
@media all and ( max-width: @width-breakpoint-mobile - 1 ) {
|
|
.client-nojs {
|
|
#page-actions {
|
|
display: none;
|
|
}
|
|
|
|
#section_0 {
|
|
border: 0;
|
|
}
|
|
}
|
|
}
|