stylelint: drop value-keyword-case and make a pass

Add some exceptions for '-@lessVar' bug.

Change-Id: Ifccae9ced695a0968da2a35b453c949a28123357
changes/35/340535/1
Ed Sanders 8 years ago
parent b1436afb11
commit e8f574421c

@ -5,8 +5,6 @@
"no-descending-specificity": null,
"selector-no-id": null,
"value-keyword-case": null
"selector-no-id": null
}
}

@ -11,12 +11,12 @@
* automatically when content is modified.
*/
.mw-body-content {
counter-reset: mw-NumberedExtLink;
counter-reset: mw-numbered-ext-link;
}
.mw-body-content a[rel~='mw:ExtLink']:empty:after {
content: '[' counter( mw-NumberedExtLink ) ']';
counter-increment: mw-NumberedExtLink;
content: '[' counter( mw-numbered-ext-link ) ']';
counter-increment: mw-numbered-ext-link;
}
/**

@ -25,7 +25,7 @@
}
.oo-ui-transition( @value1, @value2: X, ... ) {
@value: ~`'@{arguments}'.replace(/[\[\]]|\,\sX/g, '')`; // stylelint-disable-line function-comma-space-after, function-parentheses-space-inside, function-whitespace-after
@value: ~`'@{arguments}'.replace(/[\[\]]|\,\sX/g, '')`; // stylelint-disable-line function-comma-space-after, function-parentheses-space-inside, function-whitespace-after, value-keyword-case
-webkit-transition: @value;
-moz-transition: @value;
transition: @value;

@ -68,8 +68,8 @@
}
.mw-widget-calendarWidget-body:not( .mw-widget-calendarWidget-old-body ):first-child {
margin-top: -@calendarHeight;
margin-left: -@calendarWidth;
margin-top: -@calendarHeight; /* stylelint-disable-line value-keyword-case */
margin-left: -@calendarWidth; /* stylelint-disable-line value-keyword-case */
}
.mw-widget-calendarWidget-body:not( .mw-widget-calendarWidget-old-body ):last-child {
@ -94,7 +94,7 @@
height: @calendarHeight;
.mw-widget-calendarWidget-body:first-child {
margin-left: -@calendarWidth !important;
margin-left: -@calendarWidth !important; /* stylelint-disable-line value-keyword-case */
margin-top: 0 !important;
.transition( margin-left 500ms );
}
@ -125,7 +125,7 @@
.mw-widget-calendarWidget-body:first-child {
margin-left: 0 !important;
margin-top: -@calendarHeight !important;
margin-top: -@calendarHeight !important; /* stylelint-disable-line value-keyword-case */
.transition( margin-top 500ms );
}
}

Loading…
Cancel
Save