mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "Fix link inspector css in new version of chrome. Chrome engine modifies CSS names to lowercase when inside iframe..."
This commit is contained in:
commit
bf886937bf
|
@ -9,7 +9,7 @@ ve.ui.LinkInspector = function( toolbar, context ) {
|
|||
// Inheritance
|
||||
ve.ui.Inspector.call( this, toolbar, context );
|
||||
// Properties
|
||||
this.$clearButton = $( '<div class="es-inspector-button es-inspector-clearButton"></div>' )
|
||||
this.$clearButton = $( '<div class="es-inspector-button es-inspector-clear-button"></div>' )
|
||||
.prependTo( this.$ );
|
||||
this.$.prepend(
|
||||
$( '<div class="es-inspector-title"></div>' )
|
||||
|
|
|
@ -41,17 +41,18 @@
|
|||
filter:alpha(opacity=25);
|
||||
opacity: 0.25;
|
||||
}
|
||||
.es-inspector-closeButton {
|
||||
|
||||
.es-inspector-close-button {
|
||||
right: 0.25em;
|
||||
background-image: url(images/close.png);
|
||||
}
|
||||
|
||||
.es-inspector-acceptButton {
|
||||
.es-inspector-accept-button {
|
||||
right: 2.25em;
|
||||
background-image: url(images/accept.png);
|
||||
}
|
||||
|
||||
.es-inspector-clearButton {
|
||||
.es-inspector-clear-button {
|
||||
right: 4.25em;
|
||||
background-image: url(images/clear.png);
|
||||
}
|
||||
|
|
|
@ -213,6 +213,7 @@ ve.ui.Context.prototype.addInspector = function( name, inspector ) {
|
|||
.attr({
|
||||
'rel': 'stylesheet',
|
||||
'type': 'text/css',
|
||||
'media': 'screen',
|
||||
'href': ve.ui.getStylesheetPath() + 've.ui.Inspector.css'
|
||||
});
|
||||
|
||||
|
|
|
@ -18,9 +18,9 @@ ve.ui.Inspector = function( toolbar, context ) {
|
|||
this.context = context;
|
||||
this.$ = $( '<div class="es-inspector"></div>' );
|
||||
//
|
||||
this.$closeButton = $( '<div class="es-inspector-button es-inspector-closeButton"></div>' )
|
||||
this.$closeButton = $( '<div class="es-inspector-button es-inspector-close-button"></div>' )
|
||||
.appendTo( this.$ );
|
||||
this.$acceptButton = $( '<div class="es-inspector-button es-inspector-acceptButton"></div>' )
|
||||
this.$acceptButton = $( '<div class="es-inspector-button es-inspector-accept-button"></div>' )
|
||||
.appendTo( this.$ );
|
||||
this.$form = $( '<form></form>' ).appendTo( this.$ );
|
||||
|
||||
|
|
Loading…
Reference in a new issue