2016-03-08 21:14:12 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWGalleryDialog styles.
|
|
|
|
*
|
|
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
.ve-ui-mwGalleryDialog .ve-ui-mwGalleryDialog-image-container {
|
|
|
|
width: 100%;
|
|
|
|
height: 100px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
cursor: pointer;
|
|
|
|
/* stylelint-disable no-unsupported-browser-features */
|
|
|
|
background-size: contain;
|
|
|
|
-webkit-transition: border 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ), box-shadow 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 );
|
|
|
|
-moz-transition: border 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ), box-shadow 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 );
|
|
|
|
transition: border 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 ), box-shadow 200ms cubic-bezier( 0.39, 0.575, 0.565, 1 );
|
|
|
|
/* stylelint-enable no-unsupported-browser-features */
|
|
|
|
}
|
|
|
|
|
2016-10-14 23:49:01 +00:00
|
|
|
.ve-ui-mwGalleryDialog .ve-ui-mwGalleryDialog-image-container-highlighted {
|
2016-09-19 22:25:45 +00:00
|
|
|
border-color: #36c;
|
|
|
|
box-shadow: inset 0 0 0 0.1em #36c;
|
2016-03-08 21:14:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwGalleryDialog-highlighted-image {
|
|
|
|
background-color: #f9f9f9;
|
|
|
|
width: 100%;
|
|
|
|
/* Matches default height in requestImages */
|
|
|
|
height: 200px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-size: contain; /* stylelint-disable-line no-unsupported-browser-features */
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwGalleryDialog-remove-button {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
|
2016-11-30 21:48:37 +00:00
|
|
|
.ve-ui-mwGalleryDialog-menuLayout > .oo-ui-menuLayout-menu {
|
2016-03-08 21:14:12 +00:00
|
|
|
width: 14em;
|
|
|
|
border-left: 1px solid #ccc;
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
|
2016-11-30 21:48:37 +00:00
|
|
|
.ve-ui-mwGalleryDialog-menuLayout > .oo-ui-menuLayout-content {
|
2016-03-08 21:14:12 +00:00
|
|
|
left: 14em;
|
|
|
|
right: 14em;
|
|
|
|
}
|
2016-11-30 21:48:37 +00:00
|
|
|
|
|
|
|
.ve-ui-mwGalleryDialog-innerMenuLayout > .oo-ui-menuLayout-content {
|
|
|
|
bottom: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwGalleryDialog-innerMenuLayout > .oo-ui-menuLayout-menu {
|
|
|
|
height: 5em;
|
|
|
|
border-top: 1px solid #e6e6e6;
|
|
|
|
box-shadow: 0 -1px 0 0 rgba( 0, 0, 0, 0.05 ); /* stylelint-disable-line no-unsupported-browser-features */
|
|
|
|
text-align: center;
|
|
|
|
}
|