2022-06-06 21:39:57 +00:00
|
|
|
@import '../../common/variables.less';
|
2020-02-28 20:06:33 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Styling for namespace tabs (page, discussion) and views (read, edit, view history, watch and other actions)
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Namespaces and Views */
|
2020-05-07 16:51:46 +00:00
|
|
|
.vector-menu-tabs {
|
2020-02-28 20:06:33 +00:00
|
|
|
// Tab separator: Outer start border (left in LTR) of tab row.
|
|
|
|
float: left;
|
|
|
|
height: 2.5em;
|
|
|
|
padding-left: @border-width-base;
|
|
|
|
|
|
|
|
/* Navigation Labels */
|
2022-02-21 15:42:10 +00:00
|
|
|
.vector-menu-heading {
|
2020-02-28 20:06:33 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
float: left;
|
|
|
|
height: 100%;
|
|
|
|
list-style: none none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
// Tab fade background: Fade inside from light grey to white.
|
|
|
|
float: left;
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
line-height: @line-height-nav;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2022-06-06 21:39:57 +00:00
|
|
|
&:first-child a {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child a {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2020-02-28 20:06:33 +00:00
|
|
|
a {
|
|
|
|
// Tab separator: Border between tabs and outer right border.
|
|
|
|
color: @color-link;
|
2022-05-12 20:17:03 +00:00
|
|
|
box-sizing: border-box;
|
2020-02-28 20:06:33 +00:00
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
height: unit( 40 / @font-size-tabs / @font-size-browser, em );
|
|
|
|
position: relative;
|
|
|
|
padding-top: 1.25em;
|
2022-06-06 21:39:57 +00:00
|
|
|
margin: 0 @padding-horizontal-tabs;
|
2020-02-28 20:06:33 +00:00
|
|
|
font-size: @font-size-tabs;
|
|
|
|
cursor: pointer;
|
2022-06-06 21:39:57 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
}
|
2020-02-28 20:06:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.new {
|
|
|
|
a,
|
|
|
|
a:visited {
|
|
|
|
color: @color-link-new;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.selected {
|
2022-06-06 21:39:57 +00:00
|
|
|
a {
|
|
|
|
border-bottom: 1px solid;
|
|
|
|
}
|
2020-02-28 20:06:33 +00:00
|
|
|
|
|
|
|
a,
|
|
|
|
a:visited {
|
|
|
|
color: @color-link-selected;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
a {
|
|
|
|
background-position: right bottom;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|