mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-25 08:05:51 +00:00
edd2f4ff85
Separating most LESS files into 2 ResourceLoader modules and a common folder: - skins.vector.styles - skins.vector.styles.legacy - common This changes aims to clearly separate the old (“legacy”), the new (“modern”) and the common styles which were previously all placed under `skins.vector.styles/`. Inside each directory are separate folders for `layouts` and `components`. The entry files, `skin.less` and `skin-legacy.less` are moved into the specific folders and a third, `common.less` entry file is created that contains the common imports for both old and new Vector. Aliases have been added to the Storybook Webpack config to avoid adding the story file changes to this patch. Images coming from CSS `url()`'s have also been temporarily disabled in Storybook until Storybook can be upgraded to use Webpack 5, and use array values for aliases, in a follow-up patch. This patch also slightly changes a footer layout specific rule so that existing `padding` remains unchanged in rendering due to new common and component structure. Bug: T264309 Change-Id: I1cd2681a2b61edb7be56c38f9bb3994827d7e322
19 lines
354 B
Plaintext
19 lines
354 B
Plaintext
@import 'mediawiki.ui/variables.less';
|
|
@import '../resources/common/variables.less';
|
|
|
|
/* mediawiki.notification */
|
|
|
|
.mw-notification-area {
|
|
font-size: @font-size-notification;
|
|
}
|
|
|
|
.mw-notification-area-layout {
|
|
top: 7em;
|
|
}
|
|
|
|
.mw-notification {
|
|
border: @border-base;
|
|
border-radius: @border-radius-base;
|
|
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
|
|
}
|