aboutsummaryrefslogtreecommitdiff
path: root/static/pages/main/index.css
blob: 421e689431e32b436d9767ea4067811b4b88c21c (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
:host {
	display: grid;
	height: 100%;
	width: 100%;
	background: var(--page-background);
}

#bar {
	position: fixed;
	bottom: 5px;
	left: 5px;
	right: 5px;
	background: #fff9;
	box-shadow: #223223aa 1px 1px 4px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr ;
	height: 50px;
	backdrop-filter: blur(10px);
	border-radius: var(--border-radius);
	transition: bottom 0.1s ease;
}

#bar.hidden {
	bottom: -200px;
}

.menu-button {
	color: var(--fg-disabled);
	width: 18px;
	height: 18px;
	border-radius: 100%;
	margin: auto;
	cursor: pointer;
	user-select: none;
	align-content: center;
	text-align: center;
}

.menu-button.add {
	width: 60px;
	height: 60px;
	margin-top: -20px;
	background: var(--primary);
	transition: width 0.1s ease, height 0.1s ease, margin 0.1s ease;
	color: var(--card-background);
	font-weight: bold;
	font-size: 2em;
}

.menu-button.add .icon {
	width: 30px;
	height: 30px;
	display: grid;
	margin: auto;
}

.menu-button.add .icon .bi-house-fill {
	width: 20px;
	height: 20px;
	margin: auto;
}

.menu-button .icon {
	width: 100%;
	height: 100%;
	display: grid;
	margin: auto;
}