2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../minerva.less/minerva.mixins.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
.heading-holder {
|
2019-02-07 20:29:00 +00:00
|
|
|
padding: @titleSectionSpacingTop 0 0;
|
2017-07-12 15:12:40 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.tagline {
|
|
|
|
color: @colorGray5;
|
2019-01-10 22:59:56 +00:00
|
|
|
font-size: @taglineFontSize;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-19 10:20:25 +00:00
|
|
|
.page-heading {
|
|
|
|
margin-bottom: 12px;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
|
2019-02-25 19:50:56 +00:00
|
|
|
// used to disable the languages icon.
|
2019-06-24 17:59:11 +00:00
|
|
|
.mw-ui-icon-element.disabled,
|
|
|
|
.language-selector.disabled {
|
2019-02-25 19:50:56 +00:00
|
|
|
cursor: default;
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
|
2019-04-04 21:20:39 +00:00
|
|
|
#page-actions {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2019-02-25 19:50:56 +00:00
|
|
|
.page-actions-menu {
|
2019-04-04 21:20:39 +00:00
|
|
|
.box-sizing( border-box );
|
2019-02-25 19:50:56 +00:00
|
|
|
border-top: 1px solid @colorGray14;
|
|
|
|
border-bottom: 1px solid @colorGray12;
|
2019-07-22 11:42:12 +00:00
|
|
|
margin-top: -1px; // Offset top border.
|
2019-02-25 19:50:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-actions-menu__list {
|
|
|
|
display: flex;
|
2019-08-30 17:23:55 +00:00
|
|
|
height: @iconSize * 2;
|
2019-02-25 19:50:56 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-actions-menu__list-item {
|
|
|
|
display: flex;
|
|
|
|
flex-basis: 4em;
|
2019-09-11 12:19:47 +00:00
|
|
|
justify-content: flex-end;
|
2019-02-25 19:50:56 +00:00
|
|
|
align-items: center;
|
|
|
|
|
2019-08-30 17:23:55 +00:00
|
|
|
li > *:hover {
|
|
|
|
box-shadow: none;
|
2019-02-25 19:50:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-28 14:21:44 +00:00
|
|
|
// Layout for less than 5 items - one item at the beginning, rest at the end.
|
|
|
|
// |1-----2--3--4|
|
2019-02-25 19:50:56 +00:00
|
|
|
.page-actions-menu__list-item:first-child {
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: flex-start;
|
2019-09-11 12:19:47 +00:00
|
|
|
margin-left: @contentPadding/-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
// position the last icon with the edge of the content container
|
|
|
|
.page-actions-menu__list-item:last-child {
|
|
|
|
margin-right: @contentPadding/-2;
|
2019-02-25 19:50:56 +00:00
|
|
|
}
|
|
|
|
|
2019-06-20 19:17:50 +00:00
|
|
|
.page-actions-overflow-list {
|
2019-04-04 21:20:39 +00:00
|
|
|
// The top of the menu is flush with the bottom of the page actions toolbar.
|
|
|
|
top: 100%;
|
2019-09-16 20:22:52 +00:00
|
|
|
right: -@icon-padding-md;
|
2019-04-04 21:20:39 +00:00
|
|
|
}
|
|
|
|
|
2018-10-10 21:19:55 +00:00
|
|
|
// Watchstar is hidden for anonymous no-js users
|
|
|
|
// While we could link the icon to the login/signup form, this is not
|
|
|
|
// a perfect experience and could be confusing.
|
|
|
|
// In JavaScript this icon will be converted to a watch icon and will point
|
|
|
|
// to a Call to action to sign up/login and explain why that's a good idea.
|
|
|
|
// Thus, anonymous users without JS will never see this icon.
|
|
|
|
// This is a small % of our users, so deemed okay.
|
|
|
|
.client-nojs {
|
|
|
|
.watch-this-article {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2018-10-10 21:19:55 +00:00
|
|
|
.is-authenticated {
|
|
|
|
.watch-this-article {
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
// On small devices that don't support Javascript, hide the page actions bar
|
2017-09-28 14:23:45 +00:00
|
|
|
@media all and ( max-width: @width-breakpoint-mobile - 1 ) {
|
2017-07-12 15:12:40 +00:00
|
|
|
.client-nojs {
|
|
|
|
#page-actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#section_0 {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|