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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
|
/* We serve simpler buttons for IE6, since it doesn't support the adjacent
* sibling selector (+) that is needed to position .v-icon properly.
*/
div > .v-button,
.v-ie7 .v-button {
height: 26px;
padding: 0 0 0 6px;
background-color: transparent;
background-repeat: no-repeat;
background-image: url(img/left.png); /** sprite-ref: buttons */
border: none;
cursor: default;
}
div > .v-button span,
.v-ie7 .v-button span {
display: inline-block;
height: 22px;
padding: 4px 15px 0 9px;
background-color: transparent;
background-repeat: no-repeat;
background-position: right top;
background-image: url(img/right.png); /** sprite-ref: buttons; sprite-alignment: right */
text-shadow: #fff 0 1px 0;
font-weight: bold;
font-size: 11px;
line-height: 16px;
float: none;
}
.v-sa .v-button span {
height: 21px;
padding-top: 5px;
}
.v-button:focus {
background-image: url(img/left-focus.png); /** sprite-ref: buttons */
outline: none;
}
.v-button:focus span {
background-image: url(img/right-focus.png); /** sprite-ref: buttons; sprite-alignment: right */
outline: none;
}
.v-button:active,
.v-ie7 .v-button.v-pressed {
background-image: url(img/left-pressed.png); /** sprite-ref: buttons */
outline: none;
}
.v-button:active span,
.v-ie7 .v-button.v-pressed span {
background-image: url(img/right-pressed.png); /** sprite-ref: buttons; sprite-alignment: right */
outline: none;
}
.v-ie7 .v-button.v-pressed span {
position: relative;
}
/* FF3 & FF2 */
.v-button::-moz-focus-inner {
border: none;
padding: 0;
}
.v-ff2 .v-button span {
display: -moz-inline-box;
padding-top: 6px;
height: 20px;
}
/* IE7 */
.v-ie7 .v-button.v-pressed .v-icon {
position: relative;
z-index: 2;
}
/* Opera */
.v-op .v-button:active span {
margin-top: -1px;
margin-left: -1px;
}
/* Modifications for buttons with icons */
div > .v-button .v-icon,
.v-ie7 .v-button .v-icon {
display: inline-block;
width: 16px;
height: 16px;
overflow: hidden;
position: relative;
margin: 0 3px 0 0;
}
.v-ff2 .v-button .v-icon {
display: block;
float: left;
margin-top: 4px;
}
.v-ff2 .v-button-link .v-icon {
margin: 0;
}
.v-button .v-icon + span,
.v-button .v-icon + .v-errorindicator + span {
margin-left: -19px;
padding-left: 19px;
}
.v-ie7 .v-button .v-icon + span,
.v-ie7 .v-button .v-icon + .v-errorindicator + span {
margin-left: -23px;
padding-left: 23px;
}
/* Buttons with error indicator */
div > .v-button .v-errorindicator,
.v-ie7 .v-button .v-errorindicator {
display: inline;
position: absolute;
width: 5px;
height: 26px;
background: transparent url(../../default/icons/16/error.png) no-repeat 50%;
overflow: hidden;
}
.v-ie6 .v-button .v-errorindicator {
position: absolute;
width: 5px;
height: 18px;
background: transparent url(../../default/icons/16/error.gif) no-repeat 50%;
overflow: hidden;
margin-left: -10px;
}
/* Link style buttons */
.v-button.v-button-link,
.v-ie7 .v-button-link.v-pressed {
background: transparent;
height: auto;
padding: 0;
cursor: pointer;
}
.v-button.v-button-link span,
.v-ie7 .v-button-link.v-pressed span {
background: transparent;
height: auto;
padding: 0;
display: inline;
font-weight: normal;
color: #1b699f;
}
.v-button.v-button-link .v-icon + span {
margin: 0;
padding: 0;
}
.v-button-link:focus {
outline: 1px dotted #1b699f;
}
/**
* Default action button style --------------------------
*/
div > .v-button-primary,
.v-ie7 .v-button-primary {
background-image: url(img/primary-left.png); /** sprite-ref: buttons */
}
div > .v-button-primary span,
.v-ie7 .v-button-primary span {
background-image: url(img/primary-right.png); /** sprite-ref: buttons; sprite-alignment: right */
}
.v-button-primary:focus {
background-image: url(img/primary-left-focus.png); /** sprite-ref: buttons */
}
.v-button-primary:focus span {
background-image: url(img/primary-right-focus.png); /** sprite-ref: buttons; sprite-alignment: right */
}
.v-button-primary:active,
.v-ie7 .v-button-primary.v-pressed {
background-image: url(img/primary-left-pressed.png); /** sprite-ref: buttons */
}
.v-button-primary:active span,
.v-ie7 .v-button-primary.v-pressed span {
background-image: url(img/primary-right-pressed.png); /** sprite-ref: buttons; sprite-alignment: right */
}
/*
* Small-style --------------------------
*/
div > .v-button-small,
.v-ie7 .v-button-small {
background-image: url(img/small-left.png); /** sprite-ref: buttons */
height: 20px;
}
div > .v-button-small span,
.v-ie7 .v-button-small span {
background-image: url(img/small-right.png); /** sprite-ref: buttons; sprite-alignment: right */
height: 19px;
padding: 1px 11px 0 5px;
font-weight: normal;
}
.v-ff2 .v-button-small span {
height: 17px;
padding-top: 3px;
}
.v-sa .v-button-small span {
height: 18px;
padding-top: 2px;
}
.v-button-small:focus {
background-image: url(img/small-left-focus.png); /** sprite-ref: buttons */
}
.v-button-small:focus span {
background-image: url(img/small-right-focus.png); /** sprite-ref: buttons; sprite-alignment: right */
}
.v-button-small:active,
.v-ie7 .v-button-small.v-pressed {
background-image: url(img/small-left-pressed.png); /** sprite-ref: buttons */
}
.v-button-small:active span,
.v-ie7 .v-button-small.v-pressed span {
background-image: url(img/small-right-pressed.png); /** sprite-ref: buttons; sprite-alignment: right */
}
/**
* IE6 buttons --------------------------
*/
.v-ie6 .v-button {
border: 1px solid #b3b3b3;
border-bottom-color: #9a9a9a;
background: #d8d8d8 url(img/right.png) no-repeat 0 -1px;
padding: 3px 15px 2px 15px;
font-weight: bold;
font-size: 11px;
line-height: 16px;
height: 16px;
outline: none;
}
.v-ie6 .v-button-primary {
background-image: url(img/primary-right.png);
}
.v-ie6 .v-button-small {
font-weight: normal;
padding: 1px 11px 0 11px;
height: 12px;
line-height: normal;
background-image: url(img/small-right.png);
}
.v-ie6 .v-button.v-pressed {
background: transparent url(img/right-pressed.png) no-repeat 0 -1px;
}
/* Buttons on blue background */
.v-ie6 .blue .v-button {
border-color: #84949c;
border-top-color: #83939b;
border-bottom-color: #888d91;
}
|