mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-26 00:25:40 +00:00
b62f7fa4dd
And use `@border-width-base` var. Bug: T313243 Change-Id: Ic5febd54a6f28ef8998f4278589b08c6e5977d9f
67 lines
1.3 KiB
Plaintext
67 lines
1.3 KiB
Plaintext
@import '../../common/variables.less';
|
|
|
|
@border-base-ems: unit( @border-width-base / @font-size-browser / @font-size-base, em );
|
|
|
|
.vector-article-toolbar .mw-article-toolbar-container {
|
|
display: flex;
|
|
border-bottom: @border-bottom-tabs;
|
|
|
|
a {
|
|
// The hover effect is on `li` elements.
|
|
&:hover,
|
|
&:focus {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
@media ( min-width: @min-width-desktop-wide ) {
|
|
padding-right: @padding-horizontal-tabs - 1px;
|
|
}
|
|
|
|
#right-navigation {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
justify-content: end;
|
|
// Layout correction - as it was before introduce of flex box.
|
|
margin-right: -1px;
|
|
|
|
@media ( min-width: @min-width-desktop-wide ) {
|
|
margin-right: -@border-base-ems * 3;
|
|
}
|
|
}
|
|
|
|
#left-navigation {
|
|
display: flex;
|
|
|
|
// Layout correction - as it was before introduce of flex box.
|
|
@media ( min-width: @min-width-desktop-wide ) {
|
|
margin-left: @border-base-ems * 3;
|
|
}
|
|
}
|
|
|
|
.mw-portlet-views {
|
|
display: none;
|
|
|
|
@media ( min-width: @min-width-tablet ) {
|
|
&:not( .emptyPortlet ) {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
|
|
.vector-more-collapsible-item {
|
|
display: block;
|
|
|
|
@media ( min-width: @min-width-tablet ) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// Make sure pcactions is displayed (even if .emptyPortlet present)
|
|
.vector-has-collapsible-items {
|
|
@media ( max-width: @max-width-mobile ) {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|