mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-18 02:00:53 +00:00
Merge "[Storybook] Remove unused Less file in Storybook folder."
This commit is contained in:
commit
325789197b
|
@ -1,35 +0,0 @@
|
||||||
/**
|
|
||||||
* 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');
|
|
||||||
}
|
|
|
@ -6,7 +6,6 @@
|
||||||
*/
|
*/
|
||||||
// NOTE: The following import overrides the webpack config for this specific LESS file in order to
|
// NOTE: The following import overrides the webpack config for this specific LESS file in order to
|
||||||
// omit the 'style-loader' and import the content as a string.
|
// omit the 'style-loader' and import the content as a string.
|
||||||
// The "./mocks/less" path is hard-coded and should be kept in sync with the path in webpack.config.js
|
|
||||||
import PopupsCSSString from '../../src/ui/index.less';
|
import PopupsCSSString from '../../src/ui/index.less';
|
||||||
import '../mocks/custom.less';
|
import '../mocks/custom.less';
|
||||||
// The CSSJanus library is used to transform CSS for RTL languages.
|
// The CSSJanus library is used to transform CSS for RTL languages.
|
||||||
|
|
Loading…
Reference in a new issue