mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
Merge "Improved the appearance of the warning at the top of the editor"
This commit is contained in:
commit
fa9e02cfad
|
@ -1,5 +1,5 @@
|
||||||
<!-- VisualEditor Sandbox -->
|
<!-- VisualEditor Sandbox -->
|
||||||
<div id="es-warning" class="es-warning">This an experimental deployment of the current visual editor codebase. It is still highly unstable and should be expected to break at any time.
|
<div id="es-warning" class="es-warning">WARNING: This an experimental deployment of the current visual editor codebase. It is still highly unstable and should be expected to break at any time.
|
||||||
<a href="#" id="es-warning-dismiss">Dismiss</a></div>
|
<a href="#" id="es-warning-dismiss">Dismiss</a></div>
|
||||||
<div id="es-docs" style="visibility: hidden">
|
<div id="es-docs" style="visibility: hidden">
|
||||||
|
|
||||||
|
|
|
@ -257,4 +257,25 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
display: none;
|
display: none;
|
||||||
|
border: solid 1px #ffbbbb;
|
||||||
|
padding: 0.5em 0.75em;
|
||||||
|
-webkit-border-radius: 0.25em;
|
||||||
|
-moz-border-radius: 0.25em;
|
||||||
|
-o-border-radius: 0.25em;
|
||||||
|
border-radius: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#es-warning-dismiss {
|
||||||
|
float: right;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#es-warning-dismiss:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
color: silver;
|
||||||
|
}
|
||||||
|
|
||||||
|
#es-warning-dismiss:after {
|
||||||
|
content: ' ✖';
|
||||||
|
color: black;
|
||||||
}
|
}
|
Loading…
Reference in a new issue