aboutsummaryrefslogtreecommitdiff
path: root/static/widgets/search/index.css
blob: 2bb940ea2873aab7f6efc85a0567967b49cf59a1 (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
:host {
	position: fixed;
	top: 0;
	left: 0;
}

#container {
	position: fixed;
	top: -200px;
	left: 5px;
	right: 5px;
	height: 100px;
	background: #fff9;
	backdrop-filter: blur(10px);
	border-radius: var(--border-radius);
	transition: top 0.1s ease;
	padding: 10px;
	display: grid;
	gap: 10px;
	box-shadow: var(--shadow);
}

#container.visible {
	top: 5px;
}

#title {
	font-size: 1.2em;
	align-content: center;
	padding-left: 5px;
	user-select: none;
}

#search-box {
	width: 100%;
	display: grid;
	grid-template-columns: auto 50px;
}

input {
	border-top-right-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
}

button {
	width: 50px;
	border-top-left-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
	height: 42px;
}