MediaWiki:Vector.less: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 1:
@import '../../variables.less';
@import 'mediawiki.mixins.less';
/**
* Styling for namespace tabs (page, discussion) and views (read, edit, view history, watch and other actions)
*/
background-image: url( images/tab-separator.png );▼
background-color: #6153A2;▼
}▼
/* Namespaces and Views */
Line 18 ⟶ 10:
// Tab separator: Outer start border (left in LTR) of tab row.
background-position: left bottom;
float:
height: 2.5em;
padding-left: @border-width-base;
Line 28 ⟶ 20:
ul {
float:
height:
list-style: none none;
margin: 0;
Line 65 ⟶ 57:
}
}
.new {
a,
a:visited {
color: @color-link-new;
}
}
.selected {
// Replace tab fade with flat color (matching top of would-be fade).
// Overwrite above in browsers that support `rgba()`.
background: rgba( 255, 255, 255, 1 ); // stylelint-disable-line declaration-block-no-shorthand-property-overrides
a,
a:visited {
color: @color-link-selected;
text-decoration: none;
}
}
.icon {
a {
background-position: right bottom;
}
}
▲}
|