mediawiki-extensions-Popups/.storybook/mocks/less/custom.less

36 lines
852 B
Plaintext
Raw Normal View History

/**
* These are custom styles designed to supplement styles produced
* by ResourceLoad or MediaWiki-core.
**/
@import '../../../../../resources/src/mediawiki.ui/components/icons.less';
html, body {
height: 100%;
font-family: sans-serif;
}
/**
* Stopping the fade animation to avoid the animation appearing
* whenever a user types into the "knob" fields and the popup rerenders.
* NOTE: To test the animation, remove these rules.
*/
.mwe-popups-fade-in-up {
-webkit-animation: none;
animation: none;
}
.mwe-popups-fade-in-down {
-webkit-animation: none;
animation: none;
}
/* show popups by default */
.mwe-popups {
display: block;
}
/* Settings icon generated by resourceLoader */
.mw-ui-icon-popups-settings:before {
background: linear-gradient(transparent,transparent), url('../../../resources/ext.popups.images/cog.svg');
}