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