summaryrefslogtreecommitdiffstats
path: root/WebContent/ITMILL/themes/base/button/button.css
blob: ce0e0d430f0147647739af7059f336c1c67c2019 (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
.i-button {
	cursor: pointer;
	white-space: nowrap;
	margin: 0;
}
.i-button span {
	white-space: nowrap;
}
.i-checkbox input {
	vertical-align: middle;
}
.i-button img,
.i-checkbox img {
	display: inline;
	vertical-align: middle;
	margin-right: 3px;
}
.i-button span,
.i-checkbox label {
	vertical-align: middle;
}
.i-button-link {
	border: none;
	text-align: left;
	background: none;
	padding: 0;
}
/* Inset Safari focus outline a bit */
.i-sa .i-button-link:focus {
	outline-offset: -3px;
}
.i-button-link span {
	text-decoration: underline;
}
.i-checkbox {
	white-space: nowrap;	
}
.i-checkbox .i-errorindicator {
	float: none;
	display: inline;
	padding-left: 1em;
	background-position: left;
}
/* Fixes streched buttons in IE6 and IE7*/
.i-ie6 .i-button {
	width: 1px;
}
.i-ie6 .i-button,
.i-ie7 .i-button,
.i-ie8 .i-button {
	overflow: visible;
	padding-left: 1em;
	padding-right: 1em;
}
/* Error indicator on checkbox fix for IE6 */
.i-ie6 .i-checkbox * {
	float: left;
	display: inline; /* In effect, does nothing, since float:left forces block-rendering, but will fix "double-float-margin-bug" */
}
.i-ie6 .i-checkbox .i-errorindicator {
	background-position: right;
	display: inline;
	float: left;
	padding-left: 0; 
	padding-right: 0.4em;
}
/* Error indicator on checkbox fix for IE7 */
.i-ie7 .i-checkbox *,
.i-ie8 .i-checkbox * {
	float: left;
}
.i-ie7 .i-checkbox .i-errorindicator,
.i-ie8 .i-checkbox .i-errorindicator {
	background-position: right;
	float: left;
	padding-left: 0;
	padding-right: 0.7em;
}
/* Error indicator on button fix for IE */
.i-ie6 button .i-errorindicator,
.i-ie7 button .i-errorindicator,
.i-ie8 button .i-errorindicator {
	display: inline;
	padding-right: 0.5em;
}
/* Disabled by default
.i-checkbox-error {
	background: #ffe0e0;
}
*/
/* Disabled by default
.i-checkbox-required {
	background: #ffe0e0;
}
*/