summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/button/nativebutton.scss
blob: 724316a34d074cf1e3334eb23edceb1ad3801751 (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
@mixin base-nativebutton($primaryStyleName : v-nativebutton) {


.#{$primaryStyleName} .v-icon {
	vertical-align: middle;
	margin-right: 3px;
	border: none;
	}

.#{$primaryStyleName} .v-errorindicator {
	display: inline-block;
	zoom: 1;
	vertical-align: middle;
	float: none;
}

/* Link style (we really should deprecate this) */
.#{$primaryStyleName}-link {
	border: none;
	text-align: left !important;
	background: transparent;
	padding: 0;
	color: inherit;
	-khtml-user-select: text;
	-moz-user-select: text;
	-ie-user-select: text;
	user-select: text;
}

.#{$primaryStyleName}-link .#{$primaryStyleName}-caption {
	text-decoration: underline;
	color: inherit;
	text-align: left;
	}

.#{$primaryStyleName} {
	text-align: center !important;
	cursor: pointer;
	white-space: nowrap;
	margin: 0;
	color: inherit;
	font: inherit;
	line-height: normal;
	}
.#{$primaryStyleName} .#{$primaryStyleName}-caption {
	vertical-align: middle;
	white-space: nowrap;
	font: inherit;
	color: inherit;
	}

.#{$primaryStyleName} .v-icon {
	vertical-align: middle;
	margin-right: 3px;
	}

.#{$primaryStyleName} .v-errorindicator {
	display: inline-block;
	zoom: 1;
	float: none;
}
/* Fixes stretched buttons in IE7*/
.v-ie .#{$primaryStyleName} {
	overflow: visible;
	padding-left: 1em;
	padding-right: 1em;
}

.v-ie .#{$primaryStyleName}-link {
	padding: 0;
}

}