mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-23 22:03:39 +00:00
minerva-header class is now in cached HTML, remove old header class
This completes the migration from header to minerva-header Bug: T172626 Change-Id: Ibb86359e683e08d86091f855e3813a99e0ad2cee
This commit is contained in:
parent
0d9f6cb13c
commit
ca18ad75d3
|
@ -2,8 +2,7 @@
|
|||
<div id="mw-mf-page-center">
|
||||
<a class="mw-mf-page-center__mask" href="#"></a>
|
||||
<header class="header-container header-chrome">
|
||||
{{! FIXME: header class is present for cached HTML, can be removed 1 week after code in production }}
|
||||
<form class="header minerva-header" action="{{wgScript}}" method="get">
|
||||
<form class="minerva-header" action="{{wgScript}}" method="get">
|
||||
<nav class="navigation-drawer toggle-list view-border-box">
|
||||
<input type="checkbox" id="main-menu-input" class="toggle-list__checkbox" role="button" aria-labelledby="mw-mf-main-menu-button">
|
||||
<label for="main-menu-input" id="mw-mf-main-menu-button"
|
||||
|
|
|
@ -10,7 +10,6 @@ A file for css that optimises the Minerva skin on larger devices.
|
|||
display: none;
|
||||
}
|
||||
|
||||
.header, /* FIXME: Remove once <form class="header"> is no longer in the cache (~1 week) */
|
||||
.minerva-header {
|
||||
.branding-box {
|
||||
width: @brandingBoxWidth;
|
||||
|
@ -91,7 +90,6 @@ A file for css that optimises the Minerva skin on larger devices.
|
|||
@media screen and ( min-width: @width-breakpoint-desktop ) {
|
||||
// stylelint-disable-next-line selector-max-id
|
||||
.banner-container,
|
||||
.header, /* FIXME: Remove once <form class="header"> is no longer in the cache (~1 week) */
|
||||
.minerva-header,
|
||||
.page-header-bar,
|
||||
.overlay-header,
|
||||
|
@ -109,7 +107,6 @@ A file for css that optimises the Minerva skin on larger devices.
|
|||
max-width: @contentMaxWidthTablet;
|
||||
}
|
||||
|
||||
.header, /* FIXME: Remove once <form class="header"> is no longer in the cache (~1 week) */
|
||||
.minerva-header {
|
||||
// Make sure the main menu and secondary button icon images are aligned
|
||||
// with the content.
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.header, /* FIXME: Remove once <form class="header"> is no longer in the cache (~1 week) */
|
||||
.minerva-header {
|
||||
border-top: 0;
|
||||
display: block;
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
@media print {
|
||||
.noprint,
|
||||
.banner-container,
|
||||
.header, /* FIXME: Remove once <form class="header"> is no longer in the cache (~1 week) */
|
||||
.minerva-header,
|
||||
.minerva__tab-container,
|
||||
.page-actions-menu,
|
||||
|
|
|
@ -57,7 +57,6 @@ main {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.header, /* FIXME: Remove once <form class="header"> is no longer in the cache (~1 week) */
|
||||
.minerva-header {
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
@ -122,7 +121,6 @@ main {
|
|||
|
||||
.search-box,
|
||||
/* `.minerva-header .search-box` is needed to override table-cell rules */
|
||||
.header .search-box, /* FIXME: Remove once <form class="header"> is no longer in the cache (~1 week) */
|
||||
.minerva-header .search-box {
|
||||
display: none;
|
||||
width: auto;
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
}
|
||||
|
||||
.search-enabled {
|
||||
.header, /* FIXME: Remove once <form class="header"> is no longer in the cache (~1 week) */
|
||||
.minerva-header {
|
||||
position: relative;
|
||||
|
||||
|
|
Loading…
Reference in a new issue