forked from zombieFox/nightTab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauto-suggest.css
More file actions
52 lines (47 loc) · 1.17 KB
/
Copy pathauto-suggest.css
File metadata and controls
52 lines (47 loc) · 1.17 KB
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
.auto-suggest {
position: relative;
z-index: 1;
font-size: 1em;
}
.auto-suggest {
background-color: rgb(var(--theme-color-02));
margin-top: 0.5em;
padding: 1em;
position: absolute;
top: 0;
left: 0;
width: 100%;
max-height: 40vh;
border-radius: var(--theme-radius);
overflow-y: auto;
z-index: var(--z-index-auto-suggest);
box-shadow: var(--theme-shadow-bottom-large);
animation: appear var(--layout-transition-extra-fast) 1;
}
.auto-suggest-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(6em, 1fr));
grid-gap: calc(var(--form-wrap-space) / 2);
}
.auto-suggest-item {
padding: 0.5em;
width: 100%;
height: 100%;
min-height: 6em;
display: flex;
position: relative;
white-space: inherit;
flex-direction: column;
justify-content: center;
align-items: center;
transition: background-color var(--layout-transition-extra-fast), color var(--layout-transition-extra-fast), border-color var(--layout-transition-extra-fast), box-shadow var(--layout-transition-extra-fast);
}
.auto-suggest-icon {
font-size: 2em;
}
.auto-suggest-icon-text {
margin-top: 1em;
font-size: 0.6em;
text-align: center;
line-height: 1.6;
}