| 1 |
@import 'mediawiki.mixins'; |
| 2 |
@import 'mediawiki.skin.variables.less'; |
| 3 |
|
| 4 |
/* |
| 5 |
* CSS for WikiEditor jQuery plugin |
| 6 |
*/ |
| 7 |
|
| 8 |
.wikiEditor-ui { |
| 9 |
position: relative; |
| 10 |
clear: both; |
| 11 |
width: 100%; |
| 12 |
|
| 13 |
textarea { |
| 14 |
width: 100%; |
| 15 |
border: 0; |
| 16 |
|
| 17 |
&:focus { |
| 18 |
outline: 0; |
| 19 |
} |
| 20 |
} |
| 21 |
|
| 22 |
.wikiEditor-ui-clear { |
| 23 |
clear: both; |
| 24 |
} |
| 25 |
|
| 26 |
.wikiEditor-ui-view { |
| 27 |
border: @border-subtle; |
| 28 |
} |
| 29 |
|
| 30 |
.wikiEditor-ui-top { |
| 31 |
position: relative; |
| 32 |
border-bottom: @border-subtle; |
| 33 |
} |
| 34 |
|
| 35 |
.wikiEditor-ui-left { |
| 36 |
float: left; |
| 37 |
width: 100%; |
| 38 |
} |
| 39 |
|
| 40 |
.wikiEditor-ui-right { |
| 41 |
float: right; |
| 42 |
background: @background-color-neutral-subtle; |
| 43 |
overflow: hidden; |
| 44 |
} |
| 45 |
} |
| 46 |
|
| 47 |
.wikiEditor-wikitext { |
| 48 |
float: left; |
| 49 |
width: 100%; |
| 50 |
} |
| 51 |
|
| 52 |
.wikiEditor-ui-controls { |
| 53 |
float: left; |
| 54 |
width: 100%; |
| 55 |
background-color: @background-color-base; |
| 56 |
} |
| 57 |
|
| 58 |
.wikiEditor-ui-tabs { |
| 59 |
float: left; |
| 60 |
height: 2.5em; |
| 61 |
margin-right: -1px; |
| 62 |
background-color: @background-color-base; |
| 63 |
border-left: @border-subtle; |
| 64 |
border-top: @border-subtle; |
| 65 |
|
| 66 |
div { |
| 67 |
float: left; |
| 68 |
height: 2.5em; |
| 69 |
background-color: @background-color-interactive-subtle; |
| 70 |
border-right: @border-subtle; |
| 71 |
border-bottom: @border-subtle; |
| 72 |
|
| 73 |
a { |
| 74 |
display: inline-block; |
| 75 |
padding: 0 0.75em; |
| 76 |
line-height: 2.5em; |
| 77 |
color: @color-progressive; |
| 78 |
} |
| 79 |
|
| 80 |
&.current { |
| 81 |
border-bottom: 1px solid #fff; |
| 82 |
background-color: @background-color-base; |
| 83 |
|
| 84 |
a { |
| 85 |
color: @color-base; |
| 86 |
|
| 87 |
&:hover { |
| 88 |
text-decoration: none; |
| 89 |
} |
| 90 |
} |
| 91 |
} |
| 92 |
} |
| 93 |
} |
| 94 |
|
| 95 |
.wikiEditor-ui-buttons { |
| 96 |
float: right; |
| 97 |
height: 2.5em; |
| 98 |
margin-right: -1px; |
| 99 |
background-color: @background-color-base; |
| 100 |
padding-left: 1em; |
| 101 |
border-top: 1px solid #fff; |
| 102 |
|
| 103 |
button { |
| 104 |
margin-left: 0.5em; |
| 105 |
} |
| 106 |
} |
| 107 |
|
| 108 |
.wikiEditor-view-wikitext { |
| 109 |
line-height: 1em; |
| 110 |
} |