summaryrefslogtreecommitdiff
path: root/web/css/menu.css
blob: 581aaf977948fc69f6da183f2c1f5774fb303bd7 (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
ul.menu {
	box-shadow: var(--shadow-small);
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: var(--bg-color-menu);
	position: fixed;
	top: 0;
	width: 100%;
	height: 50px;
	z-index: 2147483646;
}

ul.menu li.menu-logo {
	line-height: 50px;
	margin-top: -2px;
	margin-left: 16px;
	float: left;
}

ul.menu li.menu-right-items {
	float: right;
}

ul.menu img {
	vertical-align: middle;
	margin-right: 10px;
	height: 20px;
}

ul.menu li a.menu-item {
	line-height: 50px;
	outline: none;
	cursor: pointer;
	border-left: var(--border-black-thin);
	display: inline-block;
	color: var(--fg-color-normal);
	padding-left: 16px;
	padding-right: 16px;
	text-decoration: none;
}

ul.menu li a.menu-item:hover:not(.active) {
	background-color: var(--bg-color-hovered);
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	/* iPad 8 */
	ul.menu li a.menu-item:hover:not(.active) {
		background-color: var(--bg-color-menu) !important;
	}
}

ul.menu li a.menu-item-selected {
	box-shadow: 0 5px 0 var(--border-color-intensive) inset;
	background-color: var(--bg-color-selected) !important;
}

ul.menu li div.menu-item-content {
	visibility: hidden;
	overflow: hidden;
	white-space: nowrap;
	border: var(--border-intensive-2px);
	border-top: var(--border-dark-thin);
	border-radius: 0 0 8px 8px;
	position: absolute;
	background-color: var(--bg-color-menu);
	min-width: 180px;
	box-shadow: var(--shadow-big);
	z-index: 2147483645;
}

ul.menu li div.menu-item-content-buttons {
	background-color: var(--bg-color-normal);
}

ul.menu li div.menu-item-content-text {
	margin: 10px 15px 10px 15px;
	font-size: 14px;
}

ul.menu li div.menu-item-content button, select {
	text-align: left;
	padding: 0 16px;
}

ul.menu li div.menu-item-content hr {
	margin: 0;
	display: block;
	height: 0px;
	padding: 0;
	border: none;
	border-top: var(--border-dark-thin);
}