mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Merge "Some basic link inspector style changes"
This commit is contained in:
commit
467535f1ce
|
@ -29,7 +29,10 @@ ve.ui.LinkInspector = function ( toolbar, context ) {
|
|||
.text( ve.msg( 'visualeditor-linkinspector-title' ) )
|
||||
);
|
||||
// Target
|
||||
this.$locationInput = $( '<input type="text">', context.inspectorDoc ).appendTo( this.$form );
|
||||
this.$locationInput = $( '<input>', context.inspectorDoc )
|
||||
.attr( 'type', 'text' )
|
||||
.prop( 'class', 've-ui-linkInspector-location' )
|
||||
.appendTo( this.$form );
|
||||
|
||||
this.initialValue = null;
|
||||
|
||||
|
|
|
@ -13,10 +13,11 @@
|
|||
-moz-border-radius: 0.25em;
|
||||
-o-border-radius: 0.25em;
|
||||
border-radius: 0.25em;
|
||||
background-color: #fff;
|
||||
background-color: rgba(255, 255, 255, 0.95);
|
||||
-webkit-box-shadow: 0 .15em .5em 0 rgba(0, 0, 0, 0.2);
|
||||
-moz-box-shadow: 0 .15em .5em 0 rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 .15em .5em 0 rgba(0, 0, 0, 0.2);
|
||||
-webkit-box-shadow: 0 0.15em 0.5em 0 rgba(0, 0, 0, 0.2);
|
||||
-moz-box-shadow: 0 0.15em 0.5em 0 rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 0.15em 0.5em 0 rgba(0, 0, 0, 0.2);
|
||||
padding: 0.75em;
|
||||
padding-top: 2.5em;
|
||||
min-width: 15em;
|
||||
|
@ -69,13 +70,31 @@
|
|||
padding: 0.75em 0 0 0;
|
||||
border-top: solid 1px #ddd;
|
||||
white-space: nowrap;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.es-inspector form input {
|
||||
display: inline-block;
|
||||
width: 20em;
|
||||
font-size: 1em;
|
||||
padding: 0.25em;
|
||||
font-family: sans-serif;
|
||||
background-color: #fff;
|
||||
border: solid 1px #cccccc;
|
||||
padding: 0.5em;
|
||||
-webkit-border-radius: 0.25em;
|
||||
-moz-border-radius: 0.25em;
|
||||
-o-border-radius: 0.25em;
|
||||
border-radius: 0.25em;
|
||||
}
|
||||
.es-inspector form input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.ve-ui-linkInspector-location {
|
||||
/* @embed */
|
||||
background-image: url(images/arrow-down.png);
|
||||
background-position: 18.75em center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.es-inspector form label {
|
||||
|
@ -106,26 +125,22 @@
|
|||
background-image: url(images/gray.png);
|
||||
background-position: 8em top;
|
||||
background-repeat: repeat-y;
|
||||
padding: 0.5em 0 0 0;
|
||||
width: 20em;
|
||||
font-size: 1em;
|
||||
margin-top: -1px;
|
||||
font-size: 0.8em;
|
||||
z-index: 101;
|
||||
-webkit-border-bottom-left-radius: 0.25em;
|
||||
-webkit-border-bottom-right-radius: 0.25em;
|
||||
-moz-border-bottom-left-radius: 0.25em;
|
||||
-moz-border-bottom-right-radius: 0.25em;
|
||||
-o-border-bottom-left-radius: 0.25em;
|
||||
-o-border-bottom-right-radius: 0.25em;
|
||||
border-bottom-left-radius: 0.25em;
|
||||
border-bottom-right-radius: 0.25em;
|
||||
background-color: rgba(255,255,255,0.95);
|
||||
-webkit-box-shadow: 0 .15em .5em 0 rgba(0, 0, 0, 0.2);
|
||||
-moz-box-shadow: 0 .15em .5em 0 rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 .15em .5em 0 rgba(0, 0, 0, 0.2);
|
||||
border: solid 1px #ccc;
|
||||
-webkit-border-radius: 0 0 0.25em 0.25em;
|
||||
-moz-border-radius: 0 0 0.25em 0.25em;
|
||||
-o-border-radius: 0 0 0.25em 0.25em;
|
||||
border-radius: 0 0 0.25em 0.25em;
|
||||
-webkit-box-shadow: 0 0.15em 1em 0 rgba(0, 0, 0, 0.2);
|
||||
-moz-box-shadow: 0 0.15em 1em 0 rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 0.15em 1em 0 rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.ve-ui-suggest-container {
|
||||
margin-bottom: 0.5em;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.ve-ui-suggest-label {
|
||||
|
@ -133,11 +148,11 @@
|
|||
width: 6.5em;
|
||||
padding: 0.33em 0.75em;
|
||||
text-align: right;
|
||||
color: rgb(78, 78, 78);
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.ve-ui-suggest-wrap {
|
||||
float:left;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.ve-ui-suggest-dummy-item {
|
||||
|
@ -148,7 +163,7 @@
|
|||
.ve-ui-suggest-item {
|
||||
padding: 0.33em 0.75em;
|
||||
width: 10.5em;
|
||||
|
||||
cursor: pointer;
|
||||
/* CSS Elipsis */
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
@ -159,15 +174,14 @@
|
|||
.ve-ui-suggest-item.new {
|
||||
color: #BA0000;
|
||||
}
|
||||
|
||||
.ve-ui-suggest-item.existing {
|
||||
color: rgb(68, 125, 214);
|
||||
color: #0645AD;
|
||||
}
|
||||
|
||||
.ve-ui-suggest-item.selected {
|
||||
background-color: rgb(68, 125, 214);
|
||||
color: #FFFFFF;
|
||||
background-color: #b3d6f6;
|
||||
}
|
||||
.ve-ui-suggest-item > a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue