1/* TODO: this file is not up to the best standards and will be fixed after an overhaul of the form code */
2
3/**
4 * This file provides styles for forms in general and specifically
5 * for ?do=
6 *   - login
7 *   - resendpwd
8 *   - register
9 *   - profile
10 *   - subscribe
11 */
12
13/* ---------------- forms ------------------------ */
14
15.dokuwiki form {
16  border: none;
17  display: inline;
18}
19
20.dokuwiki label.block {
21  display: block;
22  text-align: right;
23  font-weight: bold;
24}
25[dir=rtl] .dokuwiki label.block {
26    text-align: left;
27}
28
29.dokuwiki label.simple {
30  display: block;
31  text-align: left;
32  font-weight: normal;
33}
34[dir=rtl] .dokuwiki label.simple {
35    text-align: right;
36}
37
38.dokuwiki label.block select,
39.dokuwiki label.block input.edit {
40  width: 50%;
41}
42
43.dokuwiki label span {
44    vertical-align: middle;
45}
46
47.dokuwiki fieldset {
48  width: 400px;
49  text-align: center;
50  border: 1px solid @ini_border;
51  padding: 0.5em;
52  margin: auto;
53}
54
55
56.dokuwiki input.edit,
57.dokuwiki select.edit {
58  vertical-align: middle;
59}
60.dokuwiki select.edit {
61  padding: 0.1em 0;
62}
63
64
65.dokuwiki button {
66    vertical-align: middle;
67}
68/**
69 * Styles for auth forms
70 */
71#dw__login label[for="remember__me"] {
72    margin-left: 50%;
73    margin-bottom: 1.4em;
74}
75#dw__login fieldset,
76#dw__resendpwd fieldset,
77#dw__register fieldset {
78    padding-bottom: 0.7em;
79}
80#dw__profiledelete {
81    display: block;
82    margin-top: 2.8em;
83}
84
85/**
86 * Styles for the subscription page
87 */
88
89#subscribe__form {
90    display: block;
91    width: 400px;
92    text-align: center;
93}
94
95#subscribe__form fieldset {
96    text-align: left;
97    margin: 0.5em 0;
98}
99[dir=rtl] #subscribe__form fieldset {
100    text-align: right;
101}
102
103#subscribe__form label {
104    display: block;
105    margin: 0 0.5em 0.5em;
106}
107