mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-18 05:01:25 +00:00
9823538683
This will help with the encapsulation/reusability of each component. * Stylesheets were renamed to reflect their respective component name (e.g. search.less became SearchBox.less) * Styles were isolated to each component: * navigation.less now only contains classes that are relevant to Navigation.mustache. * personalNavigation.less, search.less, and tabs.less imports were removed and made first-class styles. * several selectors were moved into common.less * #p-logo was moved into sidebar * tabs.less was renamed to VectorTabs.less and styles specific to VectorMenu.less were put into VectorMenu.less * Storybook was updated to reflect changes Bug: T243281 Change-Id: Idf90ee2a0f1c1d08a31cf50099c0bebc7b67e619
41 lines
614 B
Plaintext
41 lines
614 B
Plaintext
@import '../../variables.less';
|
|
|
|
/* Logo */
|
|
#p-logo {
|
|
width: 10em;
|
|
height: 160px;
|
|
|
|
a {
|
|
background-position: center center;
|
|
background-repeat: no-repeat;
|
|
display: block;
|
|
width: 10em;
|
|
height: 160px;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
/* Panel */
|
|
#mw-panel {
|
|
position: absolute;
|
|
top: 0;
|
|
width: 10em;
|
|
left: 0;
|
|
font-size: @font-size-nav-main;
|
|
|
|
/* First sidebar portlet. Not using :first-of-type for IE<=8 support. */
|
|
#p-logo + .portal {
|
|
background-image: none;
|
|
margin-top: 1em;
|
|
|
|
h3 {
|
|
display: none;
|
|
}
|
|
|
|
.body {
|
|
background-image: none;
|
|
margin-left: @margin-left-nav-main-body;
|
|
}
|
|
}
|
|
}
|