textbox.css
1.74 KB
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
.textbox {
position: relative;
border: 1px solid #D3D3D3;
background-color: #fff;
vertical-align: middle;
display: inline-block;
overflow: hidden;
white-space: nowrap;
margin: 0;
padding: 0;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
}
.textbox .textbox-text {
font-size: 12px;
border: 0;
margin: 0;
padding: 4px;
white-space: normal;
vertical-align: top;
outline-style: none;
resize: none;
-moz-border-radius: 5px 5px 5px 5px;
-webkit-border-radius: 5px 5px 5px 5px;
border-radius: 5px 5px 5px 5px;
}
.textbox .textbox-prompt {
font-size: 12px;
color: #aaa;
}
.textbox-button,
.textbox-button:hover {
position: absolute;
top: 0;
padding: 0;
vertical-align: top;
-moz-border-radius: 0 0 0 0;
-webkit-border-radius: 0 0 0 0;
border-radius: 0 0 0 0;
}
.textbox-button-right,
.textbox-button-right:hover {
border-width: 0 0 0 1px;
}
.textbox-button-left,
.textbox-button-left:hover {
border-width: 0 1px 0 0;
}
.textbox-addon {
position: absolute;
top: 0;
}
.textbox-icon {
display: inline-block;
width: 18px;
height: 20px;
overflow: hidden;
vertical-align: top;
background-position: center center;
cursor: pointer;
opacity: 0.6;
filter: alpha(opacity=60);
text-decoration: none;
outline-style: none;
}
.textbox-icon-disabled,
.textbox-icon-readonly {
cursor: default;
}
.textbox-icon:hover {
opacity: 1.0;
filter: alpha(opacity=100);
}
.textbox-icon-disabled:hover {
opacity: 0.6;
filter: alpha(opacity=60);
}
.textbox-focused {
-moz-box-shadow: 0 0 3px 0 #D3D3D3;
-webkit-box-shadow: 0 0 3px 0 #D3D3D3;
box-shadow: 0 0 3px 0 #D3D3D3;
}
.textbox-invalid {
border-color: #ffa8a8;
background-color: #fff3f3;
}