2013-07-03 01:30:10 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface Widget styles.
|
|
|
|
*
|
|
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* ve.ui.MWLinkTargetInputWidget */
|
|
|
|
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-menu {
|
|
|
|
width: 20em;
|
|
|
|
margin-top: -7px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-menu .ve-ui-menuWidget-item {
|
|
|
|
padding: 0.33em 1.25em;
|
|
|
|
color: #0645AD;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-menu .ve-ui-menuItemWidget[rel=newPage] {
|
|
|
|
color: #BA0000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-menu .ve-ui-menuItemWidget[rel=existingPage],
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-menu .ve-ui-menuItemWidget[rel=matchingPage],
|
|
|
|
.ve-ui-mwLinkTargetInputWidget-menu .ve-ui-menuItemWidget[rel=externalLink] {
|
|
|
|
color: #0645AD;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ve.ui.MWCategoryWidget */
|
|
|
|
|
2013-07-25 12:34:25 +00:00
|
|
|
.ve-ui-mwCategoryWidget {
|
2013-07-03 01:30:10 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2013-07-25 12:34:25 +00:00
|
|
|
.ve-ui-mwCategoryWidget-items {
|
2013-07-03 01:30:10 +00:00
|
|
|
/* MDN claims we need to use word-wrap: break-word; and that it's been renamed to
|
|
|
|
* overflow-wrap: break-word; , but the only thing that actually works in practice is
|
|
|
|
* word-break: break-word; (which is not documented in any standard at all). So we just use
|
|
|
|
* all three.
|
|
|
|
*/
|
|
|
|
/*csslint known-properties:false */
|
|
|
|
word-break: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwCategoryInputWidget {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2013-07-25 12:34:25 +00:00
|
|
|
/* ve.ui.MWCategoryItemWidget */
|
2013-07-03 01:30:10 +00:00
|
|
|
|
2013-07-25 12:34:25 +00:00
|
|
|
.ve-ui-mwCategoryItemWidget {
|
2013-07-03 01:30:10 +00:00
|
|
|
position: relative;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2013-07-25 12:34:25 +00:00
|
|
|
.ve-ui-mwCategoryItemButton {
|
2013-07-03 01:30:10 +00:00
|
|
|
position: relative;
|
|
|
|
padding: 0.5em 0.75em 0.5em 1.125em;
|
|
|
|
margin: 0.75em 0.75em 0 0;
|
|
|
|
vertical-align: top;
|
|
|
|
cursor: pointer;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
opacity: 0.8;
|
|
|
|
/* Animation */
|
|
|
|
-webkit-transition: border-color 100ms;
|
|
|
|
-moz-transition: border-color 100ms;
|
|
|
|
-ms-transition: border-color 100ms;
|
|
|
|
-o-transition: border-color 100ms;
|
|
|
|
transition: border-color 100ms;
|
|
|
|
|
|
|
|
/* Gray */
|
|
|
|
border-radius: 1.25em;
|
|
|
|
border: 1px #c9c9c9 solid;
|
|
|
|
background-color: #ffffff;
|
|
|
|
filter: progid:DXImageTransform.Microsoft.gradient(
|
|
|
|
GradientType=0,startColorstr=#ffffff, endColorstr=#f0f0f0
|
|
|
|
);
|
|
|
|
background-image: -webkit-gradient(
|
|
|
|
linear, right top, right bottom, color-stop(0%,#ffffff), color-stop(100%,#f0f0f0)
|
|
|
|
);
|
|
|
|
background-image: -webkit-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
|
|
|
background-image: -moz-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
|
|
|
background-image: -ms-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
|
|
|
background-image: -o-linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
|
|
|
background-image: linear-gradient(top, #ffffff 0%, #f0f0f0 100%);
|
|
|
|
}
|
|
|
|
|
2013-07-25 12:34:25 +00:00
|
|
|
.ve-ui-mwCategoryItemButton:hover {
|
2013-07-03 01:30:10 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2013-07-25 12:34:25 +00:00
|
|
|
.ve-ui-mwCategoryItemButton span {
|
2013-07-03 01:30:10 +00:00
|
|
|
display: block;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
2013-07-25 12:34:25 +00:00
|
|
|
.ve-ui-mwCategoryItemButton:active {
|
2013-07-03 01:30:10 +00:00
|
|
|
border-color: #ddd;
|
|
|
|
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.07);
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2013-07-25 12:34:25 +00:00
|
|
|
.ve-ui-mwCategoryItemControl {
|
2013-07-03 01:30:10 +00:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2013-10-02 00:00:57 +00:00
|
|
|
top: 0.125em;
|
2013-07-03 01:30:10 +00:00
|
|
|
width: 2.25em;
|
|
|
|
height: 2.25em;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ve.ui.MWCategoryInputWidget */
|
|
|
|
|
|
|
|
.ve-ui-mwCategoryInputWidget {
|
|
|
|
float: left;
|
|
|
|
width: 15em;
|
|
|
|
margin-top: 0.75em;
|
|
|
|
margin-right: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwCategoryInputWidget input {
|
|
|
|
border-radius: 2em;
|
|
|
|
font-size: 1.05em;
|
|
|
|
margin-top: 0;
|
|
|
|
padding-left: 0.75em;
|
|
|
|
padding-right: 0.75em;
|
|
|
|
}
|
|
|
|
|
2013-10-02 00:00:57 +00:00
|
|
|
/* ve.ui.MWCategoryPopupWidget */
|
|
|
|
|
|
|
|
.ve-ui-mwCategoryPopupWidget {
|
2013-07-03 01:30:10 +00:00
|
|
|
position: absolute;
|
|
|
|
margin-top: -10px;
|
|
|
|
}
|
|
|
|
|
2013-10-02 00:00:57 +00:00
|
|
|
.ve-ui-mwCategoryPopupWidget-content {
|
|
|
|
padding: 0.75em 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwCategoryPopupWidget .ve-ui-iconButtonWidget {
|
2013-07-03 01:30:10 +00:00
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2013-10-02 00:00:57 +00:00
|
|
|
.ve-ui-mwCategoryPopupWidget label {
|
2013-07-03 01:30:10 +00:00
|
|
|
opacity: .8;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2013-10-02 00:00:57 +00:00
|
|
|
.ve-ui-mwCategoryPopupWidget-title {
|
2013-07-03 01:30:10 +00:00
|
|
|
background-position: left center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
padding: 0.5em 0.5em 0.5em 2.25em;
|
|
|
|
margin: -0.4em 0 1em 0.125em;
|
|
|
|
}
|
|
|
|
|
2013-10-02 00:00:57 +00:00
|
|
|
.ve-ui-mwCategoryPopupWidget .ve-ui-removeButtonLabel:hover {
|
2013-07-03 01:30:10 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
2013-10-02 00:00:57 +00:00
|
|
|
.ve-ui-mwCategoryPopupWidget-removeButton {
|
2013-07-03 01:30:10 +00:00
|
|
|
position: absolute;
|
|
|
|
margin-right: 2px;
|
|
|
|
padding: 0.5em;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
2013-10-02 00:00:57 +00:00
|
|
|
.ve-ui-mwCategoryPopupWidget-sortKeyForm {
|
2013-07-03 01:30:10 +00:00
|
|
|
padding: 0.5em;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2013-10-02 00:00:57 +00:00
|
|
|
.ve-ui-mwCategoryPopupWidget-sortKeyForm .ve-ui-inputLabelWidget {
|
2013-07-03 01:30:10 +00:00
|
|
|
padding: 0 0.125em 0.5em 0.125em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ve.ui.MWMediaResultWidget */
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
padding: 0;
|
|
|
|
margin: 2px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget-error {
|
|
|
|
background-color: #f3f3f3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget-thumbnail {
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0;
|
|
|
|
-webkit-transition: opacity 400ms;
|
|
|
|
-moz-transition: opacity 400ms;
|
|
|
|
-ms-transition: opacity 400ms;
|
|
|
|
-o-transition: opacity 400ms;
|
|
|
|
transition: opacity 400ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget-done .ve-ui-mwMediaResultWidget-thumbnail,
|
|
|
|
.ve-ui-mwMediaResultWidget-error .ve-ui-mwMediaResultWidget-thumbnail {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget-crop {
|
|
|
|
background-size: cover;
|
|
|
|
background-position: center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget-overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
Single-click insertion
Objectives:
* Reduce the number of clicks and mouse maneuvers required to insert
media, references or template parameters
* Make use of highlighting with mouse movement or arrow key presses,
similar to menus, to suggest action when clicked
* Improve the way media search results look and feel
Changes:
ve.ui.SelectWidget.js
* Add mouseleave handler to un-highlight when the mouse exits the widget
* Document highlight events (already being emitted)
ve.ui.SearchWidget.js
* Propagate both select and highlight events from results widget
* Make arrow keys change highlight instead of selection
* Get rid of enter event, make enter key select highlighted item instead
* Provide direct access to results widget through getResults method
ve.ui.MenuWidget.js
* Use the selected item as a starting point if nothing is currently
highlighted when adjusting the highlight position
ve.ui.Dialog.js
* Add footless option to hide the foot element and make the body extend
all the way down to the bottom
* Remove applyButton, which only some dialogs need, and should be creating
themselves, along with other buttons as needed
ve.ui.Widget.css
* Change highlight and selected colors of option widgets to match other
selection colors used elsewhere
* Leave selected and highlighted widget looking selected
ve.ui.Frame.css
* Add background color to combat any color that might have been applied to
the frame body in the imported CSS from the parent frame
ve.ui.Dialog.css
* Add rules for footless mode
ve.ui.MWReferenceResultWidget.js,
ve.ui.MWParameterResultWidget.js,
ve.ui.MWMediaResultWidget.js
* Allow highlighting
ve.ui.MWParamterSearchWidget.js
* Switch from selecting the first item when filtering to highlighting
ve-mw/ve.ui.Widget.js
* Adjust media result widget styling to better match other elements
ve.ui.MWTransclusionDialog.js,
ve.ui.MWReferenceListDialog.js,
ve.ui.MWReferenceEditDialog.js,
ve.ui.MWMetaDialog.js
ve.ui.MWMediaEditDialog.js
* Add apply button, as per it being removed from parent class
ve.ui.MWTransclusionDialog.js,
ve.ui.MWReferenceInsertDialog.js,
ve.ui.MWMediaInsertDialog.js
* Insert parameter/reference/media on select, instead of clicking an
insert button
* Use 'insert' instead of 'apply' as argument for close method
Bug: 50774
Bug: 51143
Change-Id: Ia18e79f1f8df2540f465468edb01f5ce989bf843
2013-07-15 21:07:53 +00:00
|
|
|
box-shadow: inset 0 0 0 1px #ccc;
|
2013-07-03 01:30:10 +00:00
|
|
|
}
|
|
|
|
|
Single-click insertion
Objectives:
* Reduce the number of clicks and mouse maneuvers required to insert
media, references or template parameters
* Make use of highlighting with mouse movement or arrow key presses,
similar to menus, to suggest action when clicked
* Improve the way media search results look and feel
Changes:
ve.ui.SelectWidget.js
* Add mouseleave handler to un-highlight when the mouse exits the widget
* Document highlight events (already being emitted)
ve.ui.SearchWidget.js
* Propagate both select and highlight events from results widget
* Make arrow keys change highlight instead of selection
* Get rid of enter event, make enter key select highlighted item instead
* Provide direct access to results widget through getResults method
ve.ui.MenuWidget.js
* Use the selected item as a starting point if nothing is currently
highlighted when adjusting the highlight position
ve.ui.Dialog.js
* Add footless option to hide the foot element and make the body extend
all the way down to the bottom
* Remove applyButton, which only some dialogs need, and should be creating
themselves, along with other buttons as needed
ve.ui.Widget.css
* Change highlight and selected colors of option widgets to match other
selection colors used elsewhere
* Leave selected and highlighted widget looking selected
ve.ui.Frame.css
* Add background color to combat any color that might have been applied to
the frame body in the imported CSS from the parent frame
ve.ui.Dialog.css
* Add rules for footless mode
ve.ui.MWReferenceResultWidget.js,
ve.ui.MWParameterResultWidget.js,
ve.ui.MWMediaResultWidget.js
* Allow highlighting
ve.ui.MWParamterSearchWidget.js
* Switch from selecting the first item when filtering to highlighting
ve-mw/ve.ui.Widget.js
* Adjust media result widget styling to better match other elements
ve.ui.MWTransclusionDialog.js,
ve.ui.MWReferenceListDialog.js,
ve.ui.MWReferenceEditDialog.js,
ve.ui.MWMetaDialog.js
ve.ui.MWMediaEditDialog.js
* Add apply button, as per it being removed from parent class
ve.ui.MWTransclusionDialog.js,
ve.ui.MWReferenceInsertDialog.js,
ve.ui.MWMediaInsertDialog.js
* Insert parameter/reference/media on select, instead of clicking an
insert button
* Use 'insert' instead of 'apply' as argument for close method
Bug: 50774
Bug: 51143
Change-Id: Ia18e79f1f8df2540f465468edb01f5ce989bf843
2013-07-15 21:07:53 +00:00
|
|
|
.ve-ui-optionWidget-highlighted .ve-ui-mwMediaResultWidget-overlay,
|
2013-07-03 01:30:10 +00:00
|
|
|
.ve-ui-optionWidget-selected .ve-ui-mwMediaResultWidget-overlay {
|
Single-click insertion
Objectives:
* Reduce the number of clicks and mouse maneuvers required to insert
media, references or template parameters
* Make use of highlighting with mouse movement or arrow key presses,
similar to menus, to suggest action when clicked
* Improve the way media search results look and feel
Changes:
ve.ui.SelectWidget.js
* Add mouseleave handler to un-highlight when the mouse exits the widget
* Document highlight events (already being emitted)
ve.ui.SearchWidget.js
* Propagate both select and highlight events from results widget
* Make arrow keys change highlight instead of selection
* Get rid of enter event, make enter key select highlighted item instead
* Provide direct access to results widget through getResults method
ve.ui.MenuWidget.js
* Use the selected item as a starting point if nothing is currently
highlighted when adjusting the highlight position
ve.ui.Dialog.js
* Add footless option to hide the foot element and make the body extend
all the way down to the bottom
* Remove applyButton, which only some dialogs need, and should be creating
themselves, along with other buttons as needed
ve.ui.Widget.css
* Change highlight and selected colors of option widgets to match other
selection colors used elsewhere
* Leave selected and highlighted widget looking selected
ve.ui.Frame.css
* Add background color to combat any color that might have been applied to
the frame body in the imported CSS from the parent frame
ve.ui.Dialog.css
* Add rules for footless mode
ve.ui.MWReferenceResultWidget.js,
ve.ui.MWParameterResultWidget.js,
ve.ui.MWMediaResultWidget.js
* Allow highlighting
ve.ui.MWParamterSearchWidget.js
* Switch from selecting the first item when filtering to highlighting
ve-mw/ve.ui.Widget.js
* Adjust media result widget styling to better match other elements
ve.ui.MWTransclusionDialog.js,
ve.ui.MWReferenceListDialog.js,
ve.ui.MWReferenceEditDialog.js,
ve.ui.MWMetaDialog.js
ve.ui.MWMediaEditDialog.js
* Add apply button, as per it being removed from parent class
ve.ui.MWTransclusionDialog.js,
ve.ui.MWReferenceInsertDialog.js,
ve.ui.MWMediaInsertDialog.js
* Insert parameter/reference/media on select, instead of clicking an
insert button
* Use 'insert' instead of 'apply' as argument for close method
Bug: 50774
Bug: 51143
Change-Id: Ia18e79f1f8df2540f465468edb01f5ce989bf843
2013-07-15 21:07:53 +00:00
|
|
|
box-shadow: inset 0 0 0 1px #a7dcff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget.ve-ui-optionWidget-highlighted {
|
|
|
|
box-shadow: 0 0 0.3em #a7dcff, 0 0 0 white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget.ve-ui-optionWidget-selected {
|
|
|
|
box-shadow: 0 0 0.3em #a7dcff, 0 0 0 white;
|
2013-07-03 01:30:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget-error .ve-ui-mwMediaResultWidget-thumbnail {
|
|
|
|
/* @embed */
|
|
|
|
background-image: url(images/broken-image.png);
|
|
|
|
background-size: auto;
|
|
|
|
background-position: center center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget .ve-ui-labeledElement-label {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0.5em;
|
|
|
|
color: #fff;
|
|
|
|
text-shadow: 1px 1px #000;
|
|
|
|
line-height: 1.125em;
|
|
|
|
background-color: rgba(0,0,0,0.5);
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
Single-click insertion
Objectives:
* Reduce the number of clicks and mouse maneuvers required to insert
media, references or template parameters
* Make use of highlighting with mouse movement or arrow key presses,
similar to menus, to suggest action when clicked
* Improve the way media search results look and feel
Changes:
ve.ui.SelectWidget.js
* Add mouseleave handler to un-highlight when the mouse exits the widget
* Document highlight events (already being emitted)
ve.ui.SearchWidget.js
* Propagate both select and highlight events from results widget
* Make arrow keys change highlight instead of selection
* Get rid of enter event, make enter key select highlighted item instead
* Provide direct access to results widget through getResults method
ve.ui.MenuWidget.js
* Use the selected item as a starting point if nothing is currently
highlighted when adjusting the highlight position
ve.ui.Dialog.js
* Add footless option to hide the foot element and make the body extend
all the way down to the bottom
* Remove applyButton, which only some dialogs need, and should be creating
themselves, along with other buttons as needed
ve.ui.Widget.css
* Change highlight and selected colors of option widgets to match other
selection colors used elsewhere
* Leave selected and highlighted widget looking selected
ve.ui.Frame.css
* Add background color to combat any color that might have been applied to
the frame body in the imported CSS from the parent frame
ve.ui.Dialog.css
* Add rules for footless mode
ve.ui.MWReferenceResultWidget.js,
ve.ui.MWParameterResultWidget.js,
ve.ui.MWMediaResultWidget.js
* Allow highlighting
ve.ui.MWParamterSearchWidget.js
* Switch from selecting the first item when filtering to highlighting
ve-mw/ve.ui.Widget.js
* Adjust media result widget styling to better match other elements
ve.ui.MWTransclusionDialog.js,
ve.ui.MWReferenceListDialog.js,
ve.ui.MWReferenceEditDialog.js,
ve.ui.MWMetaDialog.js
ve.ui.MWMediaEditDialog.js
* Add apply button, as per it being removed from parent class
ve.ui.MWTransclusionDialog.js,
ve.ui.MWReferenceInsertDialog.js,
ve.ui.MWMediaInsertDialog.js
* Insert parameter/reference/media on select, instead of clicking an
insert button
* Use 'insert' instead of 'apply' as argument for close method
Bug: 50774
Bug: 51143
Change-Id: Ia18e79f1f8df2540f465468edb01f5ce989bf843
2013-07-15 21:07:53 +00:00
|
|
|
.ve-ui-mwMediaResultWidget.ve-ui-optionWidget-highlighted .ve-ui-labeledElement-label {
|
|
|
|
background-color: rgba(0,0,0,0.75);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaResultWidget.ve-ui-optionWidget-selected .ve-ui-labeledElement-label {
|
|
|
|
background-color: #000;
|
|
|
|
}
|
|
|
|
|
2013-07-03 01:30:10 +00:00
|
|
|
/* ve.ui.MWReferenceSearchWidget */
|
|
|
|
|
|
|
|
.ve-ui-mwReferenceSearchWidget-citation {
|
|
|
|
float: left;
|
|
|
|
margin-right: 0.75em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwReferenceSearchWidget-name {
|
|
|
|
float: right;
|
|
|
|
margin-left: 0.75em;
|
|
|
|
margin-bottom: 0.75em;
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ve.ui.MWReferenceResultWidget */
|
|
|
|
|
|
|
|
.ve-ui-mwReferenceResultWidget {
|
|
|
|
position: relative;
|
|
|
|
padding: 1em;
|
|
|
|
border-bottom: solid 1px #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwReferenceResultWidget .ve-ui-labeledElement-label {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwReferenceResultWidget-shield {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwReferenceResultWidget-divider {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2013-07-09 23:03:19 +00:00
|
|
|
/* ve.ui.MWParameterSearchWidget */
|
|
|
|
|
|
|
|
.ve-ui-mwParameterSearchWidget .ve-ui-selectWidget {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
2013-09-10 00:27:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterSearchWidget .ve-ui-searchWidget-results {
|
|
|
|
overflow-y: hidden;
|
2013-07-09 23:03:19 +00:00
|
|
|
}
|
|
|
|
|
2013-07-03 01:30:10 +00:00
|
|
|
/* ve.ui.MWParameterResultWidget */
|
|
|
|
|
|
|
|
.ve-ui-mwParameterResultWidget {
|
|
|
|
padding-right: 0.25em;
|
2013-07-09 22:48:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterResultWidget .ve-ui-optionWidget-icon {
|
|
|
|
top: 0.25em;
|
|
|
|
margin-top: 0;
|
2013-07-03 01:30:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterResultWidget.ve-ui-widget-disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2013-07-09 23:03:19 +00:00
|
|
|
.ve-ui-mwParameterResultWidget-label,
|
|
|
|
.ve-ui-mwParameterResultWidget-names,
|
|
|
|
.ve-ui-mwParameterResultWidget-description {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
/* HACK: Based on the expected width of this widget, using % produces unreliable results*/
|
|
|
|
max-width: 33em;
|
|
|
|
}
|
|
|
|
|
2013-07-03 01:30:10 +00:00
|
|
|
.ve-ui-mwParameterResultWidget-label {
|
|
|
|
font-weight: bold;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterResultWidget-names {
|
|
|
|
float: right;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterResultWidget-name {
|
|
|
|
border-radius: 0.3em;
|
|
|
|
padding: 0.125em 0.25em;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
color: #999;
|
|
|
|
background-color: #fff;
|
|
|
|
border: solid 1px #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterResultWidget-names span:not(:first-child) {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwParameterResultWidget-description {
|
|
|
|
clear: both;
|
|
|
|
}
|