2019-09-04 17:49:22 +00:00
|
|
|
/**
|
|
|
|
* These are custom styles designed to supplement styles produced
|
|
|
|
* by ResourceLoad or MediaWiki-core.
|
|
|
|
**/
|
2020-10-27 16:34:01 +00:00
|
|
|
@import './production-icons.less';
|
2019-09-04 17:49:22 +00:00
|
|
|
|
2023-09-13 23:23:39 +00:00
|
|
|
.mwe-popups-fade-in-up {
|
|
|
|
animation: none !important;
|
|
|
|
}
|
|
|
|
|
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 {
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mwe-popups-fade-in-down {
|
|
|
|
animation: none;
|
|
|
|
}
|
|
|
|
|
2021-08-20 18:32:07 +00:00
|
|
|
.storybook-report {
|
|
|
|
position: absolute;
|
|
|
|
bottom: -20px;
|
|
|
|
opacity: 0.5;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 20px;
|
|
|
|
background: #000;
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
> span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.error {
|
|
|
|
background: #a00;
|
|
|
|
font-weight: bold;
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
> span {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-04 17:49:22 +00:00
|
|
|
/* show popups by default */
|
2021-08-03 22:53:37 +00:00
|
|
|
.popups-storybook-example {
|
|
|
|
border: solid 1px #aaa;
|
|
|
|
padding: 8px;
|
|
|
|
display: flex;
|
|
|
|
width: 500px;
|
|
|
|
height: 550px;
|
2021-06-25 09:46:29 +00:00
|
|
|
position: relative;
|
2021-08-03 22:53:37 +00:00
|
|
|
|
|
|
|
&-tall {
|
|
|
|
width: 500px;
|
|
|
|
height: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-flipped-y > .popups-storybook-link {
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-flipped-x {
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mwe-popups {
|
|
|
|
display: block;
|
|
|
|
}
|
2021-06-25 09:46:29 +00:00
|
|
|
}
|