mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-15 03:35:58 +00:00
a80e2f9d2b
Inspired by Ia244a5070 Change-Id: I16319fe49b1c359bc6b57fbaa8deea8154847d7c
116 lines
2.1 KiB
CSS
116 lines
2.1 KiB
CSS
/*
|
|
* CSS for WikiEditor jQuery plugin
|
|
*/
|
|
|
|
.wikiEditor-ui {
|
|
float: left;
|
|
position: relative;
|
|
clear: both;
|
|
width: 100%;
|
|
background-color: #E0EEf7;
|
|
border: 1px solid silver;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.wikiEditor-ui textarea {
|
|
width: 100%;
|
|
}
|
|
.wikiEditor-ui textarea:focus {
|
|
outline: none;
|
|
}
|
|
.wikiEditor-ui .wikiEditor-ui-text {
|
|
line-height: 0;
|
|
}
|
|
.wikiEditor-ui .wikiEditor-ui-top {
|
|
position: relative;
|
|
border-bottom: 1px solid silver;
|
|
}
|
|
.wikiEditor-ui .wikiEditor-ui-left {
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
.wikiEditor-ui .wikiEditor-ui-right {
|
|
float: right;
|
|
background: #F3F3F3;
|
|
overflow: hidden;
|
|
}
|
|
.wikiEditor-wikitext {
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
.wikiEditor-ui-controls {
|
|
float: left;
|
|
width: 100%;
|
|
background-color: white;
|
|
margin-top: -1px;
|
|
border-bottom: 1px solid silver;
|
|
}
|
|
.wikiEditor-ui-tabs {
|
|
float: left;
|
|
height: 2.5em;
|
|
margin-left: -1px;
|
|
background-color: white;
|
|
border-left: 1px solid silver;
|
|
border-top: 1px solid silver;
|
|
}
|
|
.wikiEditor-ui-buttons {
|
|
float: right;
|
|
height: 2.5em;
|
|
margin-right: -1px;
|
|
background-color: white;
|
|
padding-left: 1em;
|
|
border-top: 1px solid white;
|
|
}
|
|
.wikiEditor-ui-buttons button {
|
|
margin-left: 0.5em;
|
|
}
|
|
.wikiEditor-ui-tabs div {
|
|
float: left;
|
|
height: 2.5em;
|
|
background-color: #f3f3f3;
|
|
border-right: 1px solid silver;
|
|
border-bottom: 1px solid silver;
|
|
}
|
|
.wikiEditor-ui-tabs div.current {
|
|
border-bottom: 1px solid white;
|
|
background-color: white;
|
|
}
|
|
.wikiEditor-ui-tabs div a {
|
|
display: inline-block;
|
|
padding: 0 0.75em;
|
|
line-height: 2.5em;
|
|
color: #0645AD;
|
|
}
|
|
.wikiEditor-ui-tabs div.current a {
|
|
color: #333333;
|
|
}
|
|
.wikiEditor-ui-tabs div.current a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.wikiEditor-view-wikitext {
|
|
line-height: 1em;
|
|
}
|
|
.wikiEditor-ui-loading {
|
|
background: #f3f3f3;
|
|
z-index: 10;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
text-align: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
border: 1px solid silver;
|
|
margin: -1px;
|
|
}
|
|
.wikiEditor-ui-loading span {
|
|
display: block;
|
|
height: 24px;
|
|
width: 24px;
|
|
/* @embed */
|
|
background: url(images/toolbar/loading.gif) 0 0 no-repeat;
|
|
text-indent: -9999px;
|
|
margin: 0 auto;
|
|
}
|