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
81 lines (71 loc) · 1.73 KB
/
Copy pathauto-suggest.css
File metadata and controls
81 lines (71 loc) · 1.73 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
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
.auto-suggest {
position: relative;
z-index: 1;
font-size: 1em;
}
.auto-suggest-list {
background-color: rgb(var(--theme-gray-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-list);
display: flex;
flex-direction: row;
flex-wrap: wrap;
box-shadow: var(--layout-shadow-large);
}
.auto-suggest-list-item {
flex-basis: 33.3333333333%;
}
.auto-suggest-list-item:not(:last-child) {
margin-bottom: 0;
}
.auto-suggest-link {
padding: 0.5em;
border: 0;
border-radius: var(--theme-radius);
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
transition: background-color var(--layout-timing-extra-fast), color var(--layout-timing-extra-fast), border-color var(--layout-timing-extra-fast), box-shadow var(--layout-timing-extra-fast);
}
.auto-suggest-link:link,
.auto-suggest-link:visited {
color: rgb(var(--theme-gray-16));
text-decoration: none;
}
.auto-suggest-link:hover {
background-color: rgb(var(--theme-gray-03));
color: rgb(var(--form-input-text-hover));
outline: none;
text-decoration: none;
box-shadow: var(--form-hover-ring);
}
.auto-suggest-link:focus {
background-color: rgb(var(--theme-gray-01));
color: rgb(var(--form-input-text-focus-active));
outline: none;
text-decoration: none;
box-shadow: var(--form-focus-ring-accent);
}
.auto-suggest-link:active {
color: rgb(var(--theme-style-text));
}
.auto-suggest-icon {
font-size: 2em;
}
.auto-suggest-icon-text {
color: rgb(var(--theme-gray-08));
margin-top: 0.5em;
font-size: 0.6em;
text-align: center;
}