2022-04-27 19:32:19 +00:00
|
|
|
@import '../../common/variables.less';
|
|
|
|
|
|
|
|
.mw-article-toolbar-container {
|
2022-06-06 21:39:57 +00:00
|
|
|
border-bottom: @border-tabs;
|
|
|
|
|
2022-06-22 18:18:41 +00:00
|
|
|
a {
|
|
|
|
// The hover effect is on `li` elements.
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-27 19:32:19 +00:00
|
|
|
.mw-portlet-views {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
@media ( min-width: @width-breakpoint-tablet ) {
|
2022-04-29 18:16:08 +00:00
|
|
|
&:not( .emptyPortlet ) {
|
|
|
|
display: block;
|
|
|
|
}
|
2022-04-27 19:32:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.vector-more-collapsible-item {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
@media ( max-width: @width-breakpoint-tablet ) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Make sure pcactions is displayed (even if .emptyPortlet present)
|
2022-04-29 18:16:08 +00:00
|
|
|
.vector-has-collapsible-items {
|
2022-04-27 19:32:19 +00:00
|
|
|
@media ( max-width: @width-breakpoint-tablet ) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-04-28 21:31:59 +00:00
|
|
|
|
|
|
|
// FIXME: This can be merged with the above when cached HTML contains the vector-article-toolbar class.
|
|
|
|
.vector-article-toolbar .mw-article-toolbar-container {
|
|
|
|
display: flex;
|
|
|
|
@border-base-ems: unit( @border-width-base / @font-size-browser / @font-size-base, em );
|
|
|
|
|
|
|
|
@media ( min-width: @width-breakpoint-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: @width-breakpoint-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: @width-breakpoint-desktop-wide ) {
|
|
|
|
margin-left: @border-base-ems * 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Currently when right navigation is empty and sidebar is open no
|
|
|
|
// border is shown. This can intentionally be removed at a later date but
|
|
|
|
// is preserved to reduce number of UI regressions in current release.
|
|
|
|
@media ( max-width: @width-breakpoint-tablet ) {
|
|
|
|
#mw-sidebar-checkbox:checked ~ .mw-workspace-container #right-navigation.right-navigation-empty {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|