mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
0a7a845a42
Change-Id: I0b299c840ede1a1b8552cecfc70c5760ab036181
66 lines
1.9 KiB
CSS
66 lines
1.9 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWGalleryDialog styles.
|
|
*
|
|
* @copyright 2011-2018 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 #c8ccd1;
|
|
margin-bottom: 0.5em;
|
|
cursor: pointer;
|
|
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 );
|
|
/* Override default padding of DraggableElement */
|
|
/* TODO: Remove once T168745 is resolved */
|
|
padding: 0;
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog .ve-ui-mwGalleryDialog-image-container-highlighted {
|
|
border-color: #36c;
|
|
box-shadow: inset 0 0 0 0.1em #36c;
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog .oo-ui-fieldsetLayout + .oo-ui-fieldsetLayout,
|
|
.ve-ui-mwGalleryDialog-remove-button {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog-highlighted-image {
|
|
background-color: #f8f9fa;
|
|
width: 100%;
|
|
/* Matches default height in GalleryImageInfoCache */
|
|
height: 200px;
|
|
background-repeat: no-repeat;
|
|
background-position: 50% 50%;
|
|
background-size: contain;
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog-menuLayout > .oo-ui-menuLayout-menu {
|
|
width: 14em;
|
|
border-left: 1px solid #c8ccd1;
|
|
border-right: 1px solid #c8ccd1;
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog-menuLayout > .oo-ui-menuLayout-content {
|
|
left: 14em;
|
|
right: 14em;
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog-innerMenuLayout > .oo-ui-menuLayout-content {
|
|
bottom: 5em;
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog-innerMenuLayout > .oo-ui-menuLayout-menu {
|
|
height: 5em;
|
|
border-top: 1px solid #eaecf0;
|
|
box-shadow: 0 -1px 0 0 rgba( 0, 0, 0, 0.05 );
|
|
text-align: center;
|
|
}
|