| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
@import 'mediawiki.mixins.less'; |
| 3 |
|
| 4 |
/* Element colours */ |
| 5 |
@bold-bkg: #f3f3f3; |
| 6 |
@bold-border: #e0e0e0; |
| 7 |
@soft-bkg: #f9f9f9; |
| 8 |
@soft-border: #eee; |
| 9 |
|
| 10 |
@text-grey: #666; |
| 11 |
@link-grey: #444; |
| 12 |
@fluff-grey: #888; |
| 13 |
|
| 14 |
@header-grey: @link-grey; |
| 15 |
|
| 16 |
@smaller-text: 90%; |
| 17 |
@link-normal: #06c; |
| 18 |
@link-red: #c35; |
| 19 |
@link-ext: #53c; |
| 20 |
|
| 21 |
/* Not exactly variables */ |
| 22 |
.widths() { |
| 23 |
max-width: 1050px; |
| 24 |
*width: 900px; |
| 25 |
} |
| 26 |
|
| 27 |
.hidden() { |
| 28 |
position: absolute; |
| 29 |
top: -99999px; |
| 30 |
left: -99999px; |
| 31 |
} |
| 32 |
|
| 33 |
.generic-dropdown() { |
| 34 |
position: absolute; |
| 35 |
background: #fff; |
| 36 |
top: 100%; |
| 37 |
left: 0; |
| 38 |
padding: 0.75em 2em; |
| 39 |
border: solid 1px @soft-border; |
| 40 |
box-shadow: 0 2px 4px rgba( 0, 0, 0, 0.05 ); |
| 41 |
width: 10em; |
| 42 |
text-align: left; |
| 43 |
line-height: 1.1em; |
| 44 |
z-index: @z-index-dropdown; |
| 45 |
|
| 46 |
ul { |
| 47 |
margin: 0.75em 0; |
| 48 |
padding: 0; |
| 49 |
list-style: none; |
| 50 |
} |
| 51 |
|
| 52 |
a { |
| 53 |
display: block; |
| 54 |
padding-top: 0.65em; |
| 55 |
padding-bottom: 0.65em; |
| 56 |
} |
| 57 |
} |