summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/components/label/label.css
blob: f2d8e8ef69ebc3fe6ad40ddc01b2019cf78d8b87 (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
/*******************************************************************************
 * Different headers
 ******************************************************************************/
.v-label-h1,
.v-label h1,
.v-label-h2,
.v-label h2,
.v-label-h3,
.v-label h3,
.v-label-h4,
.v-label h4 {
	margin: 0;
	font-weight: bold;
	}

.v-label-h1,
.v-label h1 {
	padding: .75em 0 .5em 0;
	font-size: 1.85em;
	}

.v-label-h2,
.v-label h2 {
	padding: .67em 0 .33em 0;
	font-size: 1.4em;
	}

.v-label-h3,
.v-label h3 {
	margin: .71em 0 .29em 0;
	font-size: 1.1em;
	}

.v-label-h4,
.v-label h4 {
	padding: .23em 0;
	font-size: 1em;
	}


/*******************************************************************************
 * Big
 ******************************************************************************/
.v-label-big {
	font-size: 1.2em;
	}


/*******************************************************************************
 * Small
 ******************************************************************************/
.v-label-small {
	font-size: 0.9em;
	line-height: 1.3;
	opacity: .8;
	filter: alpha(opacity=80);
	}


/*******************************************************************************
 * Tiny
 ******************************************************************************/
.v-label-tiny {
	font-size: 0.85em;
	line-height: 1.2;
	opacity: .7;
	filter: alpha(opacity=70);
	}


/*******************************************************************************
 * Warning & error
 ******************************************************************************/
body .v-label-warning,
body .v-label-error {
	color: #574734;
	background: #fffec8 url(../../img/label-warning-icon.png) no-repeat .2em 50%;
	white-space: nowrap;
	padding: .3em 1em .3em 2.4em;
	overflow: hidden;
	width: auto !important;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	text-shadow: none;
	}

body .v-label-error {
	color: #fff;
	font-weight: bold;
	background: #c22f24 url(../../img/label-error-icon.png) no-repeat .2em 50%;
	text-shadow: 0 1px 0 #8f2e27;
	}


/*******************************************************************************
 * Big warning & big error
 ******************************************************************************/
.v-label-big.v-label-warning,
.v-label-big.v-label-error {
	background-image: url(../../img/label-warning-icon-big.png);
	background-position: 0 50%;
	padding: .5em 1em .5em 3em;
	}

.v-label-big.v-label-error {
	background-image: url(../../img/label-error-icon-big.png);
	}


/*******************************************************************************
 * Loading
 ******************************************************************************/
body .v-label-loading {
	height: 32px;
	line-height: 32px;
	background-image: url(../../../base/common/img/loading-indicator.gif);
	background-repeat: no-repeat;
	background-position: 0 50%;
	white-space: nowrap;
	padding: .3em 1em .3em 36px;
	overflow: hidden;
	width: auto !important;
	border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	}