2023-04-07 18:58:21 +00:00
|
|
|
// Navigation: Main
|
|
|
|
@font-size-nav-main: inherit;
|
|
|
|
@font-size-nav-main-heading: unit( 12 / @font-size-browser, em ); // Equals `0.75em`.
|
|
|
|
@font-size-nav-main-body: unit( 12 / @font-size-browser, em );
|
|
|
|
@margin-start-nav-main-body: 0.5em;
|
|
|
|
@border-color-portal-heading-transparent: rgba( red( @border-color-portal-heading ), green( @border-color-portal-heading ), blue( @border-color-portal-heading ), 0 );
|
|
|
|
// Margin space from the start of the Portal (left edge in LTR
|
|
|
|
// languages).
|
|
|
|
@margin-start-portal: 0.7em;
|
|
|
|
// Margin space from the end of the Portal (right edge in LTR
|
|
|
|
// languages).
|
|
|
|
@margin-end-portal: 0.6em;
|
|
|
|
// Margin space from the start of the Portal body (left edge in LTR languages).
|
|
|
|
@margin-start-portal-body: @margin-start-nav-main-body;
|
|
|
|
|
|
|
|
/* Panel */
|
|
|
|
.vector-legacy-sidebar {
|
|
|
|
font-size: @font-size-nav-main;
|
|
|
|
|
|
|
|
nav:first-child {
|
|
|
|
background-image: none;
|
|
|
|
|
|
|
|
.vector-menu-heading {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vector-menu-content {
|
|
|
|
margin-left: @margin-start-nav-main-body;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-14 21:53:41 +00:00
|
|
|
.vector-legacy-sidebar .vector-menu-portal {
|
2022-10-07 16:45:25 +00:00
|
|
|
margin: 0 @margin-end-portal 0 @margin-start-portal;
|
|
|
|
padding: 0.25em 0;
|
|
|
|
direction: ltr;
|
|
|
|
|
2022-08-12 16:11:41 +00:00
|
|
|
.vector-menu-heading {
|
2022-10-07 16:45:25 +00:00
|
|
|
display: block;
|
2023-04-23 13:48:55 +00:00
|
|
|
color: @color-subtle;
|
2022-10-07 16:45:25 +00:00
|
|
|
margin: 0.5em 0 0 ( @margin-start-nav-main-body / @font-size-nav-main-heading );
|
|
|
|
border: 0;
|
|
|
|
padding: 0.25em 0;
|
|
|
|
font-size: @font-size-nav-main-heading;
|
|
|
|
font-weight: normal;
|
|
|
|
cursor: default;
|
2022-08-12 16:11:41 +00:00
|
|
|
background-image: linear-gradient( to right, @border-color-portal-heading-transparent 0, @border-color-portal-heading 33%, @border-color-portal-heading 66%, @border-color-portal-heading-transparent 100% ); // Standard (Firefox 16+, IE 10+, Safari 6.1+, Chrome 26+)
|
|
|
|
background-position: center bottom;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% @border-width-base;
|
|
|
|
}
|
2022-10-07 16:45:25 +00:00
|
|
|
|
|
|
|
.vector-menu-content {
|
|
|
|
margin-left: @margin-start-portal-body;
|
|
|
|
padding-top: 0;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding-top: 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.25em 0;
|
2023-03-28 15:26:22 +00:00
|
|
|
font-size: @font-size-nav-main-body;
|
2022-10-07 16:45:25 +00:00
|
|
|
line-height: @line-height-nav;
|
|
|
|
word-wrap: break-word;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: @color-link;
|
|
|
|
|
|
|
|
&:visited {
|
|
|
|
color: @color-link--visited;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-12 16:11:41 +00:00
|
|
|
}
|