/
form.css
175 lines (150 loc) · 4.12 KB
/
form.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/* FORM STYLES */
form {font:1em/1 Verdana,Geneva,Kalimati,sans-serif; color:#333;}
fieldset {border:1px solid #999;}
fieldset fieldset {border:none;}
fieldset fieldset legend {font:bold 1em/1 Verdana,Geneva,Kalimati,sans-serif; color:#000;}
legend {font:1.5em/1 "Trebuchet MS",Helvetica,Jamrul,sans-serif; color:#000;}
.textfield input, .file input, .dropdown select, .textarea textarea, div input.innertextfield {font:1em/1 Verdana,Geneva,Kalimati,sans-serif; color:#000; border:1px solid #999; background:#ececec;}
.textfield input:hover, .file input:hover, .dropdown select:hover, .textarea textarea:hover, div input.innertextfield:hover {border-color:orange;}
.textfield input:focus, .file input:focus, .dropdown select:focus, .textarea textarea:focus, div input.innertextfield:hover {border-color:#333;}
.textfield input:active, .file input:active, .dropdown select:active, .textarea textarea:active, div input.innertextfield:active {border-color:#333;}
.textfield input:focus:hover, .file input:focus:hover, .dropdown select:focus:hover, .textarea textarea:focus:hover, div input.innertextfield:focus:hover {border-color:orange;}
.checkbox input, .radio input {border:none; background:transparent;}
button {font:1.2em/1 Verdana,Geneva,Kalimati,sans-serif; border:1px solid #666; background:#666; color:#fff;}
.filter-form button{background: transparent; border:0px solid black;}
button:hover {border-color:#000; color:orange;}
optgroup {font:bold 1em/1 Verdana,Geneva,Kalimati,sans-serif;}
option {font:1em/1 Verdana,Geneva,Kalimati,sans-serif;}
/* FORM LAYOUT */
form {}
fieldset {margin-bottom:3em; padding:10px;}
fieldset fieldset {padding:0;}
legend {margin-bottom:1em;}
.textfield, .textarea, .file, .dropdown, .radio, .checkbox, .buttons, fieldset fieldset {margin-bottom:1em;}
.textfield input, .file input, .dropdown select, .textarea textarea, input.innertextfield {padding:2px 5px;}
.textfield input, .file input, .dropdown select, .textarea textarea {width:250px;}
textarea {height:6em;}
.textfield input, .file input, .dropdown select, .textarea textarea {display:block; margin:0.1em 0 0 0;}
.checkbox input, .radio input {margin-right:5px;}
div input.innertextfield {display:inline; margin-right:0;}
.buttons {}
button {padding:4px;}
optgroup {}
option {padding:1px 3px;}
label{
float:left;
width:100px;
}
.config label{
float:left;
padding-right:10px;
text-align:left;
width:100px;
}
.config select{
width:140px;
}
input{
margin:1px;
}
.select .checkbox{
float:left;
margin:1px;
padding:1px;
}
.checkbox{
clear: both;
}
.filter-form label{
float:none;
padding-right:10px;
}
.box.tasks textarea{
clear: both;
float: left;
width: 98%;
}
.input.select{
clear:both;
}
/**
time picker
*/
select.timePicker{
width:48px;
margin-bottom:10px;
}
/**
date picker
*/
.calBox {
background-color: #928d81;
padding: 2px;
-moz-border-radius: 4px;
text-align: center;
color: white;
width:240px;
margin-bottom:5px;
margin-top:5px;
}
.calElement {
margin: 1px;
display: inline-block;
overflow:hidden;
}
.calYear {
font-size: 20px;
border-bottom: 1px dashed #666;
padding-bottom: 5px;
margin-bottom: 5px
}
.calYear .calElement {
border: 1px solid #999999;
}
.calMonth {
border-bottom: 1px dashed #666;
padding-bottom: 5px;
margin-bottom: 5px;
}
.calMonth .calElement {
font-size: 14px;
border: 1px solid #999999;
}
.calDay {
}
.calDay .calElement {
font-size: 12px;
border: 1px solid #999999;
}
.calDay .calElement.prev {
background: transparent url(images/prev.png) no-repeat 0 18px;
width: 6px;
height: 35px
}
.calDay .calElement.next {
background: transparent url(images/next.png) no-repeat 0 18px;
width: 6px;
height: 35px;
}
span.calElement.next:hover, span.calElement.prev:hover {
border: 1px solid #999999;
cursor: pointer;
}
.calDay .calElement .dayNumber {
font-size: 20px;
}
.calElement.selected {
background-color: #404040;
border: 1px solid #404040;
-moz-border-radius: 3px
}
span.calElement:hover {
background-color: #404040;
border: 1px solid #404040;
-moz-border-radius: 3px;
cursor: pointer;
}
.calElement.today {
border: 1px solid #e0e000;
-moz-border-radius: 3px
}