mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge changes Icbf9ac6c,I1e7a1e67
* changes: Prevent visual effect on disabled toolbar buttons Remove use of filter property for CSS opacity
This commit is contained in:
commit
a7844ec34a
|
@ -13,7 +13,6 @@
|
||||||
.ve-ce-surface-textarea {
|
.ve-ce-surface-textarea {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
filter: alpha(opacity=0);
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
@ -55,7 +54,6 @@
|
||||||
display: none;
|
display: none;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
left: 0;
|
left: 0;
|
||||||
filter: alpha(opacity=0);
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
@ -174,7 +174,6 @@
|
||||||
width: 1.5em;
|
width: 1.5em;
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
filter: alpha(opacity=8);
|
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
/* @see ve.init.mw.Icons */
|
/* @see ve.init.mw.Icons */
|
||||||
background-position: left top;
|
background-position: left top;
|
||||||
|
@ -191,7 +190,6 @@
|
||||||
width: 1.5em;
|
width: 1.5em;
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
filter: alpha(opacity=8);
|
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
/* @see ve.init.mw.Icons */
|
/* @see ve.init.mw.Icons */
|
||||||
background-position: right top;
|
background-position: right top;
|
||||||
|
|
|
@ -40,18 +40,17 @@
|
||||||
box-shadow: inset 0 0.07em 0.07em 0 rgba(0, 0, 0, 0.07);
|
box-shadow: inset 0 0.07em 0.07em 0 rgba(0, 0, 0, 0.07);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-widget-disabled.ve-ui-buttonTool:active {
|
.ve-ui-buttonTool.ve-ui-widget-disabled:active {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-widget-disabled.ve-ui-buttonTool {
|
.ve-ui-buttonTool.ve-ui-widget-disabled:hover {
|
||||||
filter: alpha(opacity=25);
|
border-color: transparent;
|
||||||
opacity: 0.25;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-widget-disabled.ve-ui-buttonTool:hover {
|
.ve-ui-buttonTool.ve-ui-widget-disabled {
|
||||||
border-color: transparent;
|
cursor: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-buttonTool-icon {
|
.ve-ui-buttonTool-icon {
|
||||||
|
@ -60,18 +59,15 @@
|
||||||
width: 1.5em;
|
width: 1.5em;
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
filter: alpha(opacity=80);
|
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-buttonTool:hover .ve-ui-buttonTool-icon {
|
.ve-ui-buttonTool:not(.ve-ui-widget-disabled):hover .ve-ui-buttonTool-icon {
|
||||||
filter: alpha(opacity=100);
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-widget-disabled .ve-ui-buttonTool-icon {
|
.ve-ui-widget-disabled .ve-ui-buttonTool-icon {
|
||||||
filter: alpha(opacity=80);
|
opacity: 0.2;
|
||||||
opacity: 0.8;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ve.ui.DropdownTool */
|
/* ve.ui.DropdownTool */
|
||||||
|
@ -111,12 +107,10 @@
|
||||||
/* @see ve.ui.Icons */
|
/* @see ve.ui.Icons */
|
||||||
background-position: 50% 50%;
|
background-position: 50% 50%;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
filter: alpha(opacity=80);
|
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-dropdownTool:hover .ve-ui-dropdownTool-icon {
|
.ve-ui-dropdownTool:hover .ve-ui-dropdownTool-icon {
|
||||||
filter: alpha(opacity=100);
|
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -95,11 +95,9 @@
|
||||||
-ms-transition: opacity 500ms ease-in-out;
|
-ms-transition: opacity 500ms ease-in-out;
|
||||||
-o-transition: opacity 500ms ease-in-out;
|
-o-transition: opacity 500ms ease-in-out;
|
||||||
transition: opacity 500ms ease-in-out;
|
transition: opacity 500ms ease-in-out;
|
||||||
filter: alpha(opacity=12);
|
|
||||||
opacity: 0.125;
|
opacity: 0.125;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ve-ui-toolbar-floating .ve-ui-toolbar-shadow {
|
.ve-ui-toolbar-floating .ve-ui-toolbar-shadow {
|
||||||
filter: alpha(opacity=50);
|
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,7 +85,6 @@
|
||||||
|
|
||||||
.ve-ui-widget-disabled.ve-ui-buttonWidget,
|
.ve-ui-widget-disabled.ve-ui-buttonWidget,
|
||||||
.ve-ui-widget-disabled.ve-ui-buttonWidget:active {
|
.ve-ui-widget-disabled.ve-ui-buttonWidget:active {
|
||||||
filter: alpha(opacity=25);
|
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
|
Loading…
Reference in a new issue