summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/components/textfield/textfield.css
blob: 9c448eee003ea7d79707f4bf126b1cbb374e0069 (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
122
123
124
125
126
127
128
129
130
input.v-textfield,
textarea.v-textarea,
.v-filterselect {
	line-height: normal;
	border: 1px solid #b3b3b3;
	border-top-color: #808080;
	border-color: rgba(0,0,0,.3);
	border-top-color: rgba(0,0,0,.5);
	background: #fff url(../../img/input-bg.png) repeat-x;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.2);
	-moz-box-shadow: 0 1px 0 rgba(255,255,255,.2);
	margin: 0;
	}

input.v-textfield[type="text"],
textarea.v-textarea,
.v-filterselect {
	padding: .2em;
	}

input.v-textfield[type="text"],
.v-filterselect {
	height: 1.2em;
	}

body input.v-textfield,
body textarea.v-textarea,
body input.v-filterselect-input {
	color: #222;
	}

.v-ie input.v-textfield,
.v-ie textarea.v-textarea,
.v-ie .v-filterselect {
	border-top-color: #808080;
	}

body input.v-textfield-prompt,
body textarea.v-textarea-prompt {
	font-style: normal;
	color: #999;
	}

input.v-textfield-focus,
textarea.v-textarea-focus {
	background-color: #fffce1;
	}


/*******************************************************************************
 * Readonly
 ******************************************************************************/
input.v-textfield-readonly,
textarea.v-textarea-readonly {
	border: none;
	background: transparent;
	}


/*******************************************************************************
 * Small
 ******************************************************************************/
body input.v-textfield-small,
body textarea.v-textarea-small,
.v-datefield-small .v-datefield-textfield,
.v-datefield-small .v-datefield-button,
.v-filterselect-small .v-filterselect-input {
	font-size: 0.85em;
	}


/*******************************************************************************
 * Big (and big search)
 ******************************************************************************/
body input.v-textfield-big,
body textarea.v-textarea-big,
.v-datefield-big .v-datefield-textfield,
.v-datefield-big .v-datefield-button,
.v-filterselect-big .v-filterselect-input {
	font-size: 1.2em;
	}

input.v-textfield-big[type=text],
.v-datefield-big input.v-datefield-textfield[type=text] {
	padding: .3em;
	}

textarea.v-textarea,
.v-filterselect-big {
	padding: .3em;
	}

input.v-textfield-big.v-textfield-search,
.v-filterselect-search.v-filterselect-big {
	background-image: url(../../img/magnifier-big.png);
	background-repeat: no-repeat;
	background-position: 4px 50%;
	}

input.v-textfield-big.v-textfield-search[type=text] {
	padding-left: 26px;
	}

.v-filterselect-search.v-filterselect-big {
	padding-left: 26px;
	}


/*******************************************************************************
 * Search
 ******************************************************************************/
input.v-textfield-search,
.v-filterselect-search {
	background-image: url(../../img/magnifier.png);
	background-repeat: no-repeat;
	background-position: 3px 50%;
	}

input.v-textfield-search[type=text],
.v-filterselect-search {
	padding-left: 17px;
	}

.v-ie6 input.v-textfield-search {
	/* Compensate for big style as well, since IE6 doesn't handle the selector */
	padding-left: 21px;
	}