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  padding: 0.3125rem 0.5rem;
42}
43
44.dokuwiki label.block input.edit:focus {
45  outline: none;
46}
47
48.dokuwiki label.block input.edit:disabled {
49  cursor: not-allowed;
50  background-color: var(--color-dark-6);
51  color: var(--color-dark-2);
52}
53
54.dokuwiki label span {
55    vertical-align: middle;
56    margin-right: 0.25rem;
57}
58
59.dokuwiki fieldset {
60  width: 400px;
61  text-align: center;
62  border: 1px solid @ini_border;
63  padding: 0.5em;
64  margin: auto;
65}
66
67
68.dokuwiki input.edit,
69.dokuwiki select.edit {
70  vertical-align: middle;
71}
72.dokuwiki select.edit {
73  padding: 0.1em 0;
74}
75
76
77.dokuwiki button {
78    vertical-align: middle;
79}
80/**
81 * Styles for auth forms
82 */
83#dw__login label[for="remember__me"] {
84    margin-left: 50%;
85    margin-bottom: 1.4em;
86}
87#dw__login fieldset,
88#dw__resendpwd fieldset,
89#dw__register fieldset {
90    padding-bottom: 0.7em;
91}
92#dw__profiledelete {
93    display: block;
94    margin-top: 2.8em;
95}
96
97/**
98 * Styles for the subscription page
99 */
100
101#subscribe__form {
102    display: block;
103    width: 400px;
104    text-align: center;
105}
106
107#subscribe__form fieldset {
108    text-align: left;
109    margin: 0.5em 0;
110}
111[dir=rtl] #subscribe__form fieldset {
112    text-align: right;
113}
114
115#subscribe__form label {
116    display: block;
117    margin: 0 0.5em 0.5em;
118}
119
120#dw__login fieldset,
121#dw__resendpwd fieldset,
122#dw__register fieldset {
123  border-radius: 0.25rem;
124}
125
126/* Admin Config */
127
128#config__manager tr.default .input,
129#config__manager tr .input {
130  background-color: var(--color-dark-7);
131  color: var(--color-dark-0);
132}
133
134#config__manager tr.default input,
135#config__manager tr.default textarea,
136#config__manager tr.default select {
137  background-color: var(--color-dark-6);
138  color: var(--color-dark-0);
139}
140
141#config__manager .selectiondefault {
142  background-color: var(--color-dark-7);
143  color: var(--color-dark-0);
144}
145
146#config__manager td input.edit {
147  padding: 0.3125rem 0.5rem;
148  background-color: var(--color-dark-6);
149  color: var(--color-dark-0);
150}
151
152#config__manager td input.edit:focus {
153  outline: none;
154}