144 lines
2.8 KiB
CSS
144 lines
2.8 KiB
CSS
/**
|
|
* This file provides styles for the edit view (?do=edit), preview
|
|
* and section edit buttons.
|
|
*/
|
|
|
|
/* edit view
|
|
********************************************************************/
|
|
|
|
.dokuwiki div.editBox {
|
|
}
|
|
|
|
/*____________ toolbar ____________*/
|
|
|
|
.dokuwiki div.toolbar {
|
|
margin-bottom: .5em;
|
|
}
|
|
#draft__status {
|
|
float: right;
|
|
color: var(--text_alt, #999);
|
|
background-color: inherit;
|
|
}
|
|
[dir=rtl] #draft__status {
|
|
float: left;
|
|
}
|
|
#tool__bar {
|
|
float: left;
|
|
}
|
|
[dir=rtl] #tool__bar {
|
|
float: right;
|
|
}
|
|
|
|
/* buttons inside of toolbar */
|
|
.dokuwiki div.toolbar button.toolbutton {
|
|
background-color: #eee;
|
|
}
|
|
/* picker popups (outside of .dokuwiki) */
|
|
div.picker {
|
|
width: 300px;
|
|
border: 1px solid var(--border, #ccc);
|
|
background-color: #eee;
|
|
color: inherit;
|
|
}
|
|
/* picker for headlines */
|
|
div.picker.pk_hl {
|
|
width: auto;
|
|
}
|
|
|
|
/* buttons inside of picker */
|
|
div.picker button.pickerbutton,
|
|
div.picker button.toolbutton {
|
|
padding: .1em .35em;
|
|
border-width: 0;
|
|
background-color: #eee;
|
|
color: black;
|
|
}
|
|
|
|
/*____________ edit textarea ____________*/
|
|
|
|
.dokuwiki textarea.edit {
|
|
width: 100%;
|
|
margin-bottom: .5em;
|
|
}
|
|
|
|
/*____________ below the textarea ____________*/
|
|
|
|
.dokuwiki div.editBar {
|
|
overflow: hidden;
|
|
margin-bottom: .5em;
|
|
}
|
|
|
|
/* size and wrap controls */
|
|
#size__ctl {
|
|
float: right;
|
|
}
|
|
[dir=rtl] #size__ctl {
|
|
float: left;
|
|
}
|
|
#size__ctl img {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* edit buttons */
|
|
.dokuwiki .editBar .editButtons {
|
|
display: inline;
|
|
margin-right: 1em;
|
|
}
|
|
[dir=rtl] .dokuwiki .editBar .editButtons {
|
|
margin-right: 0;
|
|
margin-left: 1em;
|
|
}
|
|
.dokuwiki .editBar .editButtons button {
|
|
}
|
|
|
|
/* summary input and minor changes checkbox */
|
|
.dokuwiki .editBar .summary {
|
|
display: inline;
|
|
}
|
|
.dokuwiki .editBar .summary label {
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
}
|
|
.dokuwiki .editBar .summary label span {
|
|
vertical-align: middle;
|
|
}
|
|
.dokuwiki .editBar .summary input {
|
|
}
|
|
/* change background colour if summary is missing */
|
|
.dokuwiki .editBar .summary input.missing {
|
|
color: var(--text, #333);
|
|
background-color: #ffcccc;
|
|
}
|
|
|
|
/* preview
|
|
********************************************************************/
|
|
|
|
.dokuwiki div.preview {
|
|
border: dotted var(--border, #ccc);
|
|
border-width: .2em 0;
|
|
padding: 1.4em 0;
|
|
margin-bottom: 1.4em;
|
|
}
|
|
|
|
/* section edit buttons
|
|
********************************************************************/
|
|
|
|
.dokuwiki .secedit {
|
|
float: right;
|
|
margin-top: -1.4em;
|
|
}
|
|
[dir=rtl] .dokuwiki .secedit {
|
|
float: left;
|
|
}
|
|
.dokuwiki .secedit button {
|
|
font-size: 75%;
|
|
margin-top: 1.3em;
|
|
}
|
|
|
|
/* style for section highlighting */
|
|
.dokuwiki div.section_highlight {
|
|
margin: 0 -1em; /* negative side margin = side padding + side border */
|
|
padding: 0 .5em;
|
|
border: solid var(--background_neu, #ddd);
|
|
border-width: 0 .5em;
|
|
}
|