-
Notifications
You must be signed in to change notification settings - Fork 1
/
admin-compass.css
109 lines (93 loc) · 1.91 KB
/
admin-compass.css
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
101
102
103
104
105
106
107
108
109
#admin-compass-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 99998;
display: flex;
justify-content: center;
align-items: flex-start;
padding-top: 10vh;
}
.admin-compass-hidden {
display: none !important;
}
#admin-compass-modal {
z-index: 99999;
}
.admin-compass-container {
width: 600px;
max-width: 90%;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
overflow: hidden;
}
#admin-compass-input {
width: 100%;
padding: 20px;
font-size: 18px;
border: none;
border-bottom: 1px solid #e0e0e0;
outline: none;
background-color: #f8f8f8;
}
#admin-compass-results {
max-height: 400px;
overflow-y: auto;
}
.result-thumbnail {
width: 30px;
height: 30px;
object-fit: cover;
margin-right: 10px;
border-radius: 4px;
}
.result-item {
display: flex;
align-items: center;
padding: 12px 20px;
cursor: pointer;
transition: background-color 0.2s;
}
.result-item:hover, .result-item.active {
background-color: #f0f0f0;
}
.result-title {
flex-grow: 1;
font-size: 16px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.result-type {
font-size: 12px;
color: #888;
background-color: #f0f0f0;
padding: 3px 6px;
border-radius: 4px;
margin-left: 10px;
flex-shrink: 0;
}
.no-results {
padding: 20px;
color: #888;
text-align: center;
font-style: italic;
}
/* Scrollbar styles for webkit browsers */
#admin-compass-results::-webkit-scrollbar {
width: 8px;
}
#admin-compass-results::-webkit-scrollbar-track {
background: #f1f1f1;
}
#admin-compass-results::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
#admin-compass-results::-webkit-scrollbar-thumb:hover {
background: #555;
}