mediawiki-skins-Vector/resources/skins.vector.styles/components/ArticleToolbar.less
bwang c4ec68b13c Fix border when title is hidden and when toolbar is empty
Bug: T317930
Change-Id: Iba89a2e642a8377c3603d099fb1157fc2df465d0
2022-09-19 21:37:27 +00:00

41 lines
911 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;
// Use box-shadow instead of border to allow border collapsing between titlebar and toolbar
box-shadow: 0 1px @border-color-base;
/* 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;
}
}
}