mediawiki-skins-Vector/resources/skins.vector.styles/components/ArticleToolbar.less
bwang 7b34e14d25 Page toolbar visual tweaks and code clean up
Visual changes: 11 expected in Pixel
- Elements on the right side of page toolbar are now flush with the rest of the content

Change-Id: Id02cd379687fa292188a447c85951e7a87ade509
2022-07-27 17:10:22 +00:00

40 lines
816 B
Plaintext

@import '../../common/variables.less';
@border-base-ems: unit( @border-width-base / @font-size-browser / @font-size-base, em );
.mw-article-toolbar-container {
// clearfix for #left-navigation and #right-navigation
display: flow-root;
border-bottom: @border-bottom-tabs;
/* Targets #left-navigation and #right-navigation */
& > div {
font-size: @font-size-tabs;
}
.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;
}
}
}