-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
102 lines (83 loc) · 1.64 KB
/
Copy pathstyles.css
File metadata and controls
102 lines (83 loc) · 1.64 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* Modal container */
.wiki-modal {
display: flex;
flex-direction: column;
gap: 12px;
max-width: 480px;
}
.wiki-modal label {
font-size: 1.1em;
color: var(--text-normal);
margin-bottom: 2px;
}
.wiki-search-wrapper {
position: relative;
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
}
.wiki-suggestions-hidden {
display: none;
}
.wiki-search-wrapper input {
width: 100%;
box-sizing: border-box;
padding: 8px 10px;
font-size: 1em;
border-radius: var(--radius-s);
border: 1px solid var(--background-modifier-border);
background: var(--background-secondary);
color: var(--text-normal);
}
.wiki-search-wrapper input:focus {
outline: none;
}
.wiki-input-row {
position: relative;
width: 100%;
}
.wiki-suggestions {
}
.wiki-suggestions {
top: calc(100% + 4px);
background: var(--background-primary);
border: 1px solid var(--background-modifier-border);
border-radius: var(--radius-s);
max-height: 220px;
overflow-y: auto;
}
.wiki-suggestion-item {
padding: 8px 10px;
cursor: pointer;
border-bottom: 1px solid var(--background-modifier-border-hover);
}
.wiki-suggestion-item:last-child {
border-bottom: none;
}
.wiki-suggestion-item:hover,
.wiki-suggestion-item.is-selected {
background: var(--background-modifier-hover);
}
.wiki-suggestion-title {
font-size: 0.95em;
color: var(--text-normal);
}
.wiki-suggestion-desc {
display: block;
font-size: 0.8em;
color: var(--text-faint);
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.wiki-modal button {
align-self: flex-end;
padding: 6px 16px;
border: none;
cursor: pointer;
font-weight: 500;
}
.wiki-modal button:hover {
}