2019-09-04 17:49:22 +00:00
|
|
|
/**
|
|
|
|
* These are custom styles designed to supplement styles produced
|
|
|
|
* by ResourceLoad or MediaWiki-core.
|
|
|
|
**/
|
|
|
|
@import './mediawiki.ui/components/icons.less';
|
2020-10-27 16:34:01 +00:00
|
|
|
@import './production-icons.less';
|
2019-09-04 17:49:22 +00:00
|
|
|
|
2021-06-25 09:46:29 +00:00
|
|
|
html,
|
|
|
|
body {
|
2019-09-04 17:49:22 +00:00
|
|
|
height: 100%;
|
|
|
|
font-family: sans-serif;
|
2021-06-25 09:46:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#root {
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: flex-start;
|
|
|
|
gap: 50px;
|
|
|
|
padding: 20px;
|
|
|
|
}
|
2019-09-04 17:49:22 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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;
|
2021-06-25 09:46:29 +00:00
|
|
|
// overrides the popups default "position:absolute" styling
|
2021-07-16 18:11:33 +00:00
|
|
|
// so they align naturally within the flexbox parent. Use relative instead of
|
|
|
|
// static so that absolutely positioned children elements can still accurately
|
|
|
|
// position themselves.
|
2021-06-25 09:46:29 +00:00
|
|
|
position: relative;
|
2021-07-16 18:11:33 +00:00
|
|
|
// Override the top, left, bottom, right properties so that the absolute
|
|
|
|
// positioning doesn't take effect in storybook.
|
|
|
|
/* stylelint-disable-next-line declaration-no-important */
|
|
|
|
top: 0 !important;
|
|
|
|
/* stylelint-disable-next-line declaration-no-important */
|
|
|
|
right: 0 !important;
|
|
|
|
/* stylelint-disable-next-line declaration-no-important */
|
|
|
|
bottom: 0 !important;
|
|
|
|
/* stylelint-disable-next-line declaration-no-important */
|
|
|
|
left: 0 !important;
|
2021-06-25 09:46:29 +00:00
|
|
|
}
|