2023-09-27 00:17:21 +00:00
|
|
|
/* stylelint-disable selector-max-id */
|
2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.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 {
|
2023-04-09 13:49:29 +00:00
|
|
|
color: @color-subtle;
|
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
|
|
|
.language-selector.disabled {
|
2019-02-25 19:50:56 +00:00
|
|
|
cursor: default;
|
|
|
|
opacity: 0.25;
|
|
|
|
}
|
|
|
|
|
2023-11-17 17:49:21 +00:00
|
|
|
#p-views {
|
2019-04-04 21:20:39 +00:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2019-02-25 19:50:56 +00:00
|
|
|
.page-actions-menu {
|
2022-05-16 16:55:54 +00:00
|
|
|
box-sizing: border-box;
|
2023-04-09 13:49:29 +00:00
|
|
|
border-top: @border-width-base @border-style-base #eaecf0;
|
|
|
|
border-bottom: @border-subtle;
|
|
|
|
margin-top: -@border-width-base; // Offset top border.
|
2019-02-25 19:50:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.page-actions-menu__list {
|
|
|
|
display: flex;
|
2023-04-09 13:49:29 +00:00
|
|
|
height: @size-icon * 2;
|
2019-02-25 19:50:56 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-actions-menu__list-item {
|
|
|
|
display: flex;
|
2019-09-11 12:19:47 +00:00
|
|
|
justify-content: flex-end;
|
2019-02-25 19:50:56 +00:00
|
|
|
align-items: center;
|
2019-10-23 12:44:52 +00:00
|
|
|
min-width: 0;
|
|
|
|
overflow: hidden;
|
2023-08-23 20:43:55 +00:00
|
|
|
|
|
|
|
.cdx-button {
|
|
|
|
color: @icon-color !important;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
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;
|
2023-08-09 21:49:19 +00:00
|
|
|
.cdx-mixin-button-layout-flush( 'start', true );
|
2019-09-11 12:19:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// position the last icon with the edge of the content container
|
|
|
|
.page-actions-menu__list-item:last-child {
|
2023-08-09 21:49:19 +00:00
|
|
|
.cdx-mixin-button-layout-flush( 'end', true );
|
2019-02-25 19:50:56 +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 {
|
2023-11-17 17:49:21 +00:00
|
|
|
#p-views {
|
2017-07-12 15:12:40 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2022-04-01 15:23:00 +00:00
|
|
|
.mw-first-heading {
|
2017-07-12 15:12:40 +00:00
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|