1/** 2 * This file provides styles for the edit view (?do=edit), preview 3 * and section edit buttons. 4 */ 5 6/* edit view 7********************************************************************/ 8 9.dokuwiki div.editBox { 10} 11 12/*____________ toolbar ____________*/ 13 14.dokuwiki div.toolbar { 15 margin-bottom: .5em; 16 overflow: hidden; 17} 18#draft__status { 19 float: right; 20 color: __text_alt__; 21 background-color: inherit; 22} 23[dir=rtl] #draft__status { 24 float: left; 25} 26 27#tool__bar { 28 float: left; 29} 30[dir=rtl] #tool__bar { 31 float: right; 32} 33 34/* buttons inside of toolbar */ 35.dokuwiki div.toolbar button.toolbutton { 36} 37/* picker popups (outside of .dokuwiki) */ 38div.picker { 39 width: 300px; 40 border: 1px solid __border__; 41 background-color: __background_alt__; 42 color: inherit; 43} 44/* picker for headlines */ 45div.picker.pk_hl { 46 width: auto; 47} 48/* buttons inside of picker */ 49div.picker button.pickerbutton, 50div.picker button.toolbutton { 51 padding: .1em .35em; 52 border-width: 0; 53} 54 55/*____________ edit textarea ____________*/ 56 57.dokuwiki textarea.edit { 58 /* should just be "width: 100%", but IE8 doesn't like it, see FS#1910 + FS#1667 */ 59 width: 700px; 60 min-width: 100%; 61 max-width: 100%; 62 margin-bottom: .5em; 63} 64 65/*____________ below the textarea ____________*/ 66 67.dokuwiki #wiki__editbar, /* old, until 2012-01-25 */ 68.dokuwiki div.editBar /* new */ { 69 overflow: hidden; 70 margin-bottom: .5em; 71} 72 73/* size and wrap controls */ 74#size__ctl { 75 float: right; 76} 77[dir=rtl] #size__ctl { 78 float: left; 79} 80#size__ctl img { 81 cursor: pointer; 82} 83 84/* edit buttons */ 85.dokuwiki #wiki__editbar .editButtons, /* old, until 2012-01-25 */ 86.dokuwiki div.editBar .editButtons /* new */ { 87 display: inline; 88 margin-right: 1em; 89} 90[dir=rtl] .dokuwiki #wiki__editbar .editButtons, /* old, until 2012-01-25 */ 91[dir=rtl] .dokuwiki .editBar .editButtons /* new */ { 92 margin-right: 0; 93 margin-left: 1em; 94} 95.dokuwiki #wiki__editbar .editButtons input, /* old, until 2012-01-25 */ 96.dokuwiki div.editBar .editButtons input /* new */ { 97} 98 99/* summary input and minor changes checkbox */ 100.dokuwiki #wiki__editbar .summary, /* old, until 2012-01-25 */ 101.dokuwiki div.editBar .summary /* new */ { 102 display: inline; 103} 104.dokuwiki #wiki__editbar .summary label, /* old, until 2012-01-25 */ 105.dokuwiki div.editBar .summary label /* new */ { 106 vertical-align: middle; 107 white-space: nowrap; 108} 109.dokuwiki #wiki__editbar .summary label span, /* old, until 2012-01-25 */ 110.dokuwiki div.editBar .summary label span /* new */ { 111 vertical-align: middle; 112} 113.dokuwiki #wiki__editbar .summary input, /* old, until 2012-01-25 */ 114.dokuwiki div.editBar .summary input /* new */ { 115} 116/* change background colour if summary is missing */ 117.dokuwiki #wiki__editbar .summary input.missing, /* old, until 2012-01-25 */ 118.dokuwiki div.editBar .summary input.missing /* new */ { 119 color: __text__; 120 background-color: #ffcccc; 121} 122 123/* preview 124********************************************************************/ 125 126.dokuwiki div.preview { 127 border: dotted __border__; 128 border-width: .2em 0; 129 padding: 1.4em 0; 130 margin-bottom: 1.4em; 131} 132 133/* section edit buttons 134********************************************************************/ 135 136.dokuwiki .secedit { 137 float: right; 138 margin-top: -1.4em; 139} 140[dir=rtl] .dokuwiki .secedit { 141 float: left; 142} 143.dokuwiki .secedit input.button { 144 font-size: 75%; 145} 146 147/* style for section highlighting */ 148.dokuwiki div.section_highlight { 149 margin: 0 -1em; /* negative side margin = side padding + side border */ 150 padding: 0 .5em; 151 border: solid __background_alt__; 152 border-width: 0 .5em; 153} 154