MediaWiki:Vector.less: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 1:
@import '../../variables.less';
// Tab Separators
@import 'mediawiki.mixins.less';
// `.vectorTabs`: Outer start border (left in LTR) of tab row.
 
// `.vectorTabs a`: Border between tabs and outer end (right in LTR) border.
/**
// `#mw-head .vector-menu-dropdown h3`: // Outer end (right in LTR) border of "Actions" menu.
* Styling for namespace tabs (page, discussion) and views (read, edit, view history, watch and other actions)
.vector-menu-tabs,
*/
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown h3 {
background-image: url( images/tab-separator.png );
background-color: #6153A2;
background-repeat: no-repeat;
radius: 0.5em 0.5em 0 0;
// Contain gradient to 1px × 100% size and draw from top to bottom-left or -right corner.
background-size: @border-width-base 100%;
 
/* Namespaces and Views */
Line 18 ⟶ 10:
// Tab separator: Outer start border (left in LTR) of tab row.
background-position: left bottom;
float: rightleft;
height: 2.5em;
padding-left: @border-width-base;
Line 28 ⟶ 20:
 
ul {
float: leftright;
height: 100400%;
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).
background-image: url( images/tab-separatorcurrent-fade.png );
// 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;
background-colorrepeat: #6153A2no-repeat;
}
}