aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/reindeer/textfield/textfield.css
blob: cf42c645297816b30d67ef920932930e81d4b397 (plain)
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
.v-textfield {
	line-height: normal;
	height: 19px;
	border: 1px solid #bcbdbe;
	border-top-color: #a2a3a4;
	border-bottom-color: #d2d3d4;
	background: #fff;
	background-repeat: repeat-x;
	background-image: url(img/bg.png); /** sprite-ref: verticals; sprite-alignment: repeat; sprite-margin-bottom: 22px */
	border-radius: 3px;
	-moz-border-radius: 3px;
}
/* Need more specific selector because of #2384 fixes in base/common/common.css */
.v-app input.v-textfield {
	padding: 3px 3px 0 3px;
}
/* Textfield on blue background */
.blue .v-textfield {
	border-color: #92a2aa;
	border-top-color: #7c8a90;
	border-bottom-color: #a1b3bc;
}
.v-app .v-textfield-focus,
.v-window .v-textfield-focus,
.v-popupview-popup .v-textfield-focus {
	border-color: #5b97d0;
	border-top-color: #4f83b4;
	border-bottom-color: #5ca0df;
	outline: none;
}
input.v-textfield-prompt {
	font-style: normal;
	color: #999;
}
/* Capable browsers get fancier border images */
.v-sa input.v-textfield,
.v-ff35 input.v-textfield {
	border-radius: 0;
	-moz-border-radius: 0;
	border: none;
	background: transparent;
	border-width: 0 3px 0 3px;
	padding: 4px 0 0 0;
	height: 20px;
	-webkit-border-image: url(img/bg-border-image.png) 0 3 0 3 stretch stretch;
	-moz-border-image: url(img/bg-border-image.png) 0 3 0 3 stretch stretch;
	-o-border-image: url(img/bg-border-image.png) 0 3 0 3 stretch stretch;
}
.v-sa input.v-textfield-focus,
.v-ff35 input.v-textfield-focus {
	-webkit-border-image: url(img/bg-border-image-focus.png) 0 3 0 3 stretch stretch;
	-moz-border-image: url(img/bg-border-image-focus.png) 0 3 0 3 stretch stretch;
	-o-border-image: url(img/bg-border-image-focus.png) 0 3 0 3 stretch stretch;
}
/* Small style textfield */
.v-app input.v-textfield-small,
.v-sa input.v-textfield-small,
.v-ff35 input.v-textfield-small {
	font-size: 11px;
	height: 15px;
}
.v-sa input.v-textfield-small,
.v-ff35 input.v-textfield-small {
	height: 16px;
}
.v-table input.v-textfield {
	margin-top: -3px;
	height: 15px;
	line-height: normal;
}
.v-ie .v-table input.v-textfield {
	padding-top: 1px;
}
/* Textfield on black background */
.black .v-textfield {
	border-color: #343536;
	border-top-color: #2a2a2b;
	border-bottom-color: #3a3b3c;
	background: #1b1d1e;
	background-image: url(img/bg-black.png); /** sprite-ref: black-verticals; sprite-alignment: repeat; sprite-margin-bottom: 22px */
	color: #c9ccce;
	text-shadow: #000 0 0 1px;
}
.v-app .black .v-textfield-focus,
.v-window .black .v-textfield-focus,
.v-popupview-popup .black .v-textfield-focus {
	border-color: #4e6a80;
	border-top-color: #3a5163;
	border-bottom-color: #557086;
}
/* Capable browsers get fancier border images */
.v-sa .black input.v-textfield,
.v-ff35 .black input.v-textfield {
	-webkit-border-image: url(img/bg-border-image-black.png) 0 3 0 3 stretch stretch;
	-moz-border-image: url(img/bg-border-image-black.png) 0 3 0 3 stretch stretch;
	-o-border-image: url(img/bg-border-image-black.png) 0 3 0 3 stretch stretch;
}
.v-sa .black input.v-textfield-focus,
.v-ff35 .black input.v-textfield-focus {
	-webkit-border-image: url(img/bg-border-image-black-focus.png) 0 3 0 3 stretch stretch;
	-moz-border-image: url(img/bg-border-image-black-focus.png) 0 3 0 3 stretch stretch;
	-o-border-image: url(img/bg-border-image-black-focus.png) 0 3 0 3 stretch stretch;
}
.black input.v-textfield-prompt {
	color: #5f6366;
}

/* Readonly */
input.v-textfield-readonly,
.v-sa input.v-textfield-readonly,
.v-ff35 input.v-textfield-readonly,
.black input.v-textfield-readonly,
.v-sa .black input.v-textfield-readonly,
.v-ff35 .black input.v-textfield-readonly {
	border: none;
	background: transparent;
	-webkit-border-image: none;
	-moz-border-image: none;
	-o-border-image: none;
	border-width: 0;
}