aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/menubar/menubar.scss
blob: f896e967b56eed1440a4b59b84b504c49b17dc94 (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
@mixin base-menubar($name : v-menubar) {

.#{$name} {
	display: inline-block;
	white-space: nowrap;
	overflow: hidden;
}
.#{$name} .#{$name}-menuitem {
	cursor: default;
	vertical-align: middle;
	white-space: nowrap;
	display: inline;
	display: inline-block;
	zoom: 1;
}
.#{$name} .#{$name}-menuitem-caption .v-icon {
	vertical-align: middle;
	white-space: nowrap;
}
.#{$name}-submenu {
	background: #fff;
}
.#{$name}-menuitem-selected {
	background: #333;
	color: #fff;
}
.#{$name}-submenu .#{$name}-menuitem { 
	cursor: default;
	display: block;
	position: relative;
	padding-right: 1.5em;
}
.#{$name}-submenu .#{$name}-menuitem-caption {
	display: block;
}
.#{$name}-submenu .#{$name}-menuitem *,
.#{$name}-submenu .#{$name}-menuitem-caption * {
	white-space: nowrap;
}
.#{$name}-submenu-indicator {
	display: none;
	/* Arial has the most coverage for geometric entity characters */
	font-family: arial, helvetica, sans-serif;
}
.#{$name}-submenu .#{$name}-submenu-indicator {
	display: block;
	position: absolute;
	right: 0;
	width: 1em;
	height: 1em;
	font-size: 0.9em;
}
.#{$name}-menuitem-disabled,
.#{$name} span.#{$name}-menuitem-disabled:hover,
.#{$name} span.#{$name}-menuitem-disabled:focus,
.#{$name} span.#{$name}-menuitem-disabled:active {
	color: #999;
}
.#{$name}-more-menuitem {
	/* Arial has the most coverage for geometric entity characters */
	font-family: arial, helvetica, sans-serif;
}
.#{$name}-separator {
	overflow: hidden;
}
.#{$name}-separator span {
	display: block;
	text-indent: -9999px;
	font-size: 1px;
	line-height: 1px;
	border-top: 1px solid #ddd;
	margin: 3px 0 2px;
	overflow: hidden;
}
.#{$name} .v-icon,
.#{$name}-submenu .v-icon {
	margin-right: 3px;
}

.#{$name}:focus,
.#{$name}-popup:focus,
.#{$name}-popup .popupContent:focus,
.#{$name}-popup .popupContent .#{$name}-submenu:focus{
	outline: none;	
}
/* Checkboxes for checkable/checked menu items */
/* Checked/unchecked requires combined style selected-(un)checked for IE6 */
.#{$name}-submenu-check-column .#{$name}-menuitem {
	padding-left: 6px;
}
.#{$name}-submenu-check-column .#{$name}-menuitem-caption {
	padding-left: 18px;
}
.#{$name}-submenu .#{$name}-menuitem-checked .#{$name}-menuitem-caption { 
	background: transparent url(img/check.gif) no-repeat left;
}

}