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 {
|
2024-01-31 15:06:56 +00:00
|
|
|
padding: @top-spacing-title-section 0 0;
|
2017-07-12 15:12:40 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.tagline {
|
2024-06-10 20:52:01 +00:00
|
|
|
color: @color-subtle;
|
2024-01-31 15:06:56 +00:00
|
|
|
font-size: @font-size-tag-line;
|
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.
|
2024-05-13 21:53:31 +00:00
|
|
|
.cdx-button.language-selector.disabled {
|
2019-02-25 19:50:56 +00:00
|
|
|
cursor: default;
|
2024-05-13 21:53:31 +00:00
|
|
|
// has to be !important to override the cdx-button selector
|
|
|
|
color: @color-disabled !important;
|
2019-02-25 19:50:56 +00:00
|
|
|
}
|
|
|
|
|
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;
|
2024-06-10 20:52:01 +00:00
|
|
|
border-top: @border-width-base @border-style-base @border-color-muted;
|
2023-04-09 13:49:29 +00:00
|
|
|
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;
|
2024-09-25 00:23:04 +00:00
|
|
|
|
|
|
|
.disabled .minerva-icon {
|
|
|
|
background: @color-disabled;
|
|
|
|
}
|
2019-02-25 19:50:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2024-06-10 20:52:01 +00:00
|
|
|
color: @color-subtle !important;
|
2023-08-23 20:43:55 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-11-07 09:03:29 +00:00
|
|
|
// On feature phone devices that don't support JavaScript, hide the page actions bar.
|
|
|
|
@media all and ( max-width: @min-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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|