/
formElements.css
58 lines (48 loc) · 981 Bytes
/
formElements.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
body {
margin: 0;
padding: 0;
}
.radios input, .checks input, .selects select {
display: none;
}
.check_on, .check_off {
padding: 0 0 0 25px;
cursor: pointer;
}
.check_on label, .check_off label {
cursor: pointer;
}
.radios .check_on {
display: inline-block;
background: url('radio_on.png') no-repeat;
}
.radios .check_off {
display: inline-block;
background: url('radio_off.png') no-repeat;
}
.checks .check_on {
display: inline-block;
background: url('check_on.png') no-repeat;
}
.checks .check_off {
display: inline-block;
background: url('check_off.png') no-repeat;
}
.selected-index-wrap {
cursor: pointer;
width: 150px;
overflow: hidden;
display: inline-block;
}
.select-options-wrap {
position: absolute;
display: none;
cursor: pointer;
list-style-type: none;
padding: 0;
width: 150px;
overflow: hidden;
}
.select-options-wrap li:hover {
background: #5a8ea6;
}