mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
ecab9df8bb
Aligning instances of `progressive` color to WCAG 2.0 level AA compliant color palette similar to changes in I6fdb90af8b9dc5e5e026eb0c1bd13138c73da4cd Change-Id: I2eda190f0a68de6dc8aa33724f2c8975327a061f
54 lines
1.6 KiB
CSS
54 lines
1.6 KiB
CSS
/*!
|
|
* 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 */
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog-image-container-highlighted {
|
|
border-color: #36c;
|
|
box-shadow: inset 0 0 0 0.1em #36c;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog .oo-ui-menuLayout-menu {
|
|
width: 14em;
|
|
border-left: 1px solid #ccc;
|
|
border-right: 1px solid #ccc;
|
|
}
|
|
|
|
.ve-ui-mwGalleryDialog .oo-ui-menuLayout-content {
|
|
left: 14em;
|
|
right: 14em;
|
|
}
|