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