Merge "Remove backwards compatible CSS"

This commit is contained in:
jenkins-bot 2019-02-13 05:36:17 +00:00 committed by Gerrit Code Review
commit a2173b0061
3 changed files with 2 additions and 23 deletions

View file

@ -28,7 +28,7 @@
<main id="content" class="mw-body">
{{#hasheadingholder}}
{{{prebodyhtml}}}
<div class="pre-content heading-holder heading-holder--new">
<div class="pre-content heading-holder">
{{{headinghtml}}}
{{{taglinehtml}}}
{{#tabs}}

View file

@ -46,8 +46,6 @@
@titleSectionSpacingBottom: 25px;
// Page actions
@pageActionsGutter: 0.5em;
@pageActionsHeight: @pageActionFontSize + (2 * @iconGutterWidth);
@tabBorderSize: ( 1em / 16px ) * 2;
@taglineFontSize: 0.85em;

View file

@ -2,28 +2,9 @@
@import '../../minerva.less/minerva.mixins';
.heading-holder {
@pageActionsGutter: 0.5em;
@pageActionsHeight: @pageActionFontSize + (2 * @iconGutterWidth);
// FIXME: padding-bottom can be removed when work on T212216
// has been deployed and varnish cache cleared.
padding: @titleSectionSpacingTop 0 (@pageActionsHeight + @pageActionsGutter);
padding: @titleSectionSpacingTop 0 0;
position: relative;
// FIXME: Can be made default when work on T212216
// has been deployed and varnish cache cleared.
&--new {
padding-bottom: 0;
}
// FIXME: Can be removed when work on T212216
// has been deployed and varnish cache cleared.
&--no-page-actions {
padding-bottom: @pageActionsGutter;
&--new {
padding-bottom: 0;
}
}
.tagline {
color: @colorGray5;
font-size: @taglineFontSize;