mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-27 09:42:11 +00:00
Styles: Replaces deprecated mixins prefixes with unprefixed CSS property
Bug: T308351 Change-Id: I42abaff93661bdab234faacb5830bedc6ec725be
This commit is contained in:
parent
2e4e04fa14
commit
e97ae24dcd
|
@ -15,7 +15,7 @@
|
|||
/* stylelint-enable declaration-no-important */
|
||||
|
||||
input[ type='text' ] {
|
||||
.box-sizing( border-box );
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
input {
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement {
|
||||
border: 1px solid transparent;
|
||||
border-radius: 2px;
|
||||
.transition( ~'border-color 250ms' );
|
||||
transition: border-color 250ms;
|
||||
|
||||
&:hover {
|
||||
border-color: rgba( 0, 0, 0, 0.2 );
|
||||
|
@ -63,7 +63,7 @@
|
|||
.tool.oo-ui-buttonElement-frameless.oo-ui-iconElement {
|
||||
> .oo-ui-buttonElement-button {
|
||||
padding: 2px;
|
||||
.box-sizing( content-box );
|
||||
box-sizing: content-box;
|
||||
|
||||
> .oo-ui-iconElement-icon {
|
||||
margin: 0;
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
.tool-button {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
.transition( ~'background-color 100ms, color 100ms, border-color 100ms, box-shadow 100ms' );
|
||||
transition: background-color 100ms, color 100ms, border-color 100ms, box-shadow 100ms;
|
||||
}
|
||||
|
||||
.tool-button,
|
||||
|
|
|
@ -62,14 +62,14 @@
|
|||
left: 0;
|
||||
width: 16px;
|
||||
height: 32px;
|
||||
.transition( ~'transform 100ms' );
|
||||
transition: transform 100ms;
|
||||
|
||||
body.ltr & {
|
||||
.transform( rotate( -90deg ) );
|
||||
transform: rotate( -90deg );
|
||||
}
|
||||
|
||||
body.rtl & {
|
||||
.transform( rotate( 90deg ) );
|
||||
transform: rotate( 90deg );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -89,7 +89,7 @@
|
|||
&:before {
|
||||
body.ltr &,
|
||||
body.rtl & {
|
||||
.transform( rotate( 0 ) );
|
||||
transform: rotate( 0 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -175,7 +175,7 @@
|
|||
}
|
||||
|
||||
&.options-shown .label:after {
|
||||
.transform( rotate( 180deg ) );
|
||||
transform: rotate( 180deg );
|
||||
}
|
||||
|
||||
.options {
|
||||
|
|
Loading…
Reference in a new issue