summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/runo/button/button.css
blob: 5515db5aec209ae1479322c867ce2c943a370e05 (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
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
.v-button {
	padding: 1px;
	border: none;
	background: transparent;
	}

.v-button:focus {
	outline: none;
	}

.v-button:focus .v-button-wrap {
	border-color: #57a7ed;
	border-top-color: #60aef1;
	border-bottom-color: #4c9adf;
	-webkit-box-shadow: 0 0 2px #57a7ed;
	-moz-box-shadow:  0 0 2px #57a7ed;
	}
	
.v-button:active .v-button-wrap,
.v-button.v-pressed .v-button-wrap {
	background-position: 0 -79px;
	background-color: #e7e9e9;
	border-color: #b8bdbe;
	border-top-color: #9da1a2;
	border-bottom-color: #babfc0;
	border-color: rgba(146,151,152,.9);
	border-top-color: rgba(146,151,152,1);
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4) inset;
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.4) inset;;
	text-shadow: none;
	}

.v-button .v-button-wrap,
.v-disabled.v-button .v-button-wrap {
	display: block;
	font-size: 12px;
	border: 1px solid #bdc1c2;
	border-top-color: #cbcfd0;
	border-bottom-color: #b6bbbb;
	border-color: rgba(146,151,152,.8);
	border-top-color: rgba(146,151,152,.6);
	background: #e6e8e8 url(img/bg.png) repeat-x;
	-webkit-background-origin: padding;
	-moz-background-origin: padding;
	padding: 3px 15px;
	-webkit-border-radius: 11px;
	-moz-border-radius: 11px;
	border-radius: 11px;
	line-height: 14px;
	min-height: 14px;
	-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 0 rgba(0,0,0,.15);
	text-shadow: 0 1px 0 #fff;
	color: #464f52;
	overflow: hidden;
	text-overflow: ellipsis;
	}

/* Small style */
.v-button-small .v-button-wrap,
.v-disabled.v-button-small .v-button-wrap {
	font-size: 11px;
	line-height: 13px;
	padding: 1px 12px;
	min-height: 13px;
	}


/* Big style */
.v-button-big .v-button-wrap,
.v-disabled.v-button-big .v-button-wrap {
	font-size: 15px;
	line-height: 18px;
	padding: 4px 18px;
	min-height: 18px;
	-webkit-border-radius: 14px;
	-moz-border-radius: 14px;
	border-radius: 14px;
	}



/* Default style */
.v-button-default:focus .v-button-wrap {
	background-color: #60839a;
	background-position: 0 -158px;
	text-shadow: 0 -1px 0 #657883;
	}

.v-button-default:active .v-button-wrap,
.v-button-default.v-pressed .v-button-wrap {
	background-position: 0 -79px;
	background-color: #8f9898;
	border-color: #737e81;
	border-top-color: #576063;
	border-bottom-color: #747f82;
	color: #f0f2f2;
	text-shadow: 0 -1px 0 #5d6969;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4) inset;;
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.4) inset;;
	}

.v-button-default .v-button-wrap,
.v-disabled.v-button-default .v-button-wrap {
	border-color: #899395;
	border-top-color: #a4abae;
	border-bottom-color: #727b7d;
	background: #869090 url(img/bg-default.png) repeat-x;
	text-shadow: 0 -1px 0 #797e7e;
	color: #fff;
	font-weight: bold;
	-webkit-box-shadow: 0 1px 0 rgba(0,0,0,.22);
	-moz-box-shadow: 0 1px 0 rgba(0,0,0,.22);
	}




/* Link style */
.v-button-link,
.v-disabled.v-button-link {
	padding: 0;
	}

.v-button-link .v-button-wrap,
.v-disabled.v-button-link .v-button-wrap,
.v-button-link:active .v-button-wrap,
.v-disabled.v-button-pressedv-button-link .v-button-wrap {
	border: none;
	background: transparent;
	padding: 0;
	font-size: 13px;
	-webkit-box-shadow: none;
	-mox-box-shadow: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	text-shadow: none;
	}

.v-button-link:focus {
	outline: 1px dotted #4897dc;
	}

.v-button-link:focus .v-button-wrap {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	}




/* Checkbox styles */
.v-checkbox .v-errorindicator {
	padding-left: 10px;
	}