Remove unused CSS code

Remove:
* no-edit-js
* .content_block

Document existence of Parsoid selector
* mw-ref

Change-Id: I0cb695dd437f9e070d57adf60170788dd2047137
This commit is contained in:
jdlrobson 2018-04-17 16:58:23 -07:00
parent ea258c8e37
commit 026b1ff305
4 changed files with 2 additions and 25 deletions

View File

@ -1,22 +1,6 @@
@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);

View File

@ -62,7 +62,7 @@ pre {
padding: 1em;
}
.mw-ref,
.mw-ref, // For Parsoid content (e.g. mediawiki.skinning.content.parsoid)
sup {
vertical-align: super;
}
@ -71,7 +71,7 @@ sub {
vertical-align: sub;
}
.mw-ref,
.mw-ref, // For Parsoid content (e.g. mediawiki.skinning.content.parsoid)
sub,
sup {
font-size: 0.75em;

View File

@ -279,8 +279,6 @@
// Make sure we never create two edit links by accident
// FIXME: split the selector and cache it
if ( $caEdit.find( '.edit-page' ).length === 0 ) {
$( '.nojs-edit' ).removeClass( 'nojs-edit' );
if ( isNewPage ||
( leadSection && leadSection.text() ) || page.getSections().length === 0 ) {
// if lead section is not empty, open editor with lead section

View File

@ -49,11 +49,6 @@ A file for css that optimises the Minerva skin on larger devices.
}
}
.content_block {
width: auto;
clear: none;
}
// FIXME: Have a class that identifies all of these selectors
.pre-content,
// Form only pages e.g. Special:MobileOptions