/**
 * This file provides styles for the edit view (?do=edit), preview
 * and section edit buttons.
 */

/* edit view
********************************************************************/



/*____________ toolbar ____________*/

.dokuwiki div.toolbar {
  margin-bottom: .5em;
  overflow: hidden;
}
#draft__status {
  float: right;
  color: __text_alt__;
  background-color: inherit;
}
[dir=rtl] #draft__status {
  float: left;
}

#tool__bar {
  float: left;
}
[dir=rtl] #tool__bar {
  float: right;
}

/* buttons inside of toolbar */

/* picker popups (outside of .dokuwiki) */
div.picker {
  width: 300px;
  color: inherit;
  background-color: __background_alt__;
  border: 1px solid __border__;
}
/* 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;
}

/*____________ edit textarea ____________*/

.dokuwiki textarea.edit {
  /* should just be "width: 100%", but IE8 doesn't like it, see FS#1910 + FS#1667 */
  width: 700px;
  min-width: 100%;
  max-width: 100%;
  margin-bottom: .5em;
}

/*____________ below the textarea ____________*/

.dokuwiki #wiki__editbar, /* old, until 2012-01-25 */
.dokuwiki div.editBar /* new */ {
  margin-bottom: .5em;
  overflow: hidden;
}

/* size and wrap controls */
#size__ctl {
  float: right;
}
[dir=rtl] #size__ctl {
  float: left;
}
#size__ctl img {
  cursor: pointer;
}

/* edit buttons */
.dokuwiki #wiki__editbar .editButtons, /* old, until 2012-01-25 */
.dokuwiki div.editBar .editButtons /* new */ {
  display: inline;
  margin-right: 1em;
}
[dir=rtl] .dokuwiki #wiki__editbar .editButtons, /* old, until 2012-01-25 */
[dir=rtl] .dokuwiki .editBar .editButtons /* new */ {
  margin-right: 0;
  margin-left: 1em;
}


/* summary input and minor changes checkbox */
.dokuwiki #wiki__editbar .summary, /* old, until 2012-01-25 */
.dokuwiki div.editBar .summary /* new */ {
  display: inline;
}
.dokuwiki #wiki__editbar .summary label, /* old, until 2012-01-25 */
.dokuwiki div.editBar .summary label /* new */ {
  white-space: nowrap;
  vertical-align: middle;
}
.dokuwiki #wiki__editbar .summary label span, /* old, until 2012-01-25 */
.dokuwiki div.editBar .summary label span /* new */ {
  vertical-align: middle;
}

/* change background colour if summary is missing */
.dokuwiki #wiki__editbar .summary input.missing, /* old, until 2012-01-25 */
.dokuwiki div.editBar .summary input.missing /* new */ {
  color: __text__;
  background-color: #fcc;
}

/* preview
********************************************************************/

.dokuwiki div.preview {
  padding: 1.4em 0;
  margin-bottom: 1.4em;
  border: dotted __border__;
  border-width: .2em 0;
}

/* section edit buttons
********************************************************************/

.dokuwiki .secedit {
  float: right;
  margin-top: -1.4em;
}

/* style for section highlighting */
.dokuwiki div.section_highlight {
  padding: 0 .5em;
  margin: 0 -1em; /* negative side margin = side padding + side border */
  border: solid __background_alt__;
  border-width: 0 .5em;
}
