-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent.css
More file actions
126 lines (112 loc) · 2.41 KB
/
Copy pathcontent.css
File metadata and controls
126 lines (112 loc) · 2.41 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/* Overlay - semi-transparent background */
#mscm-search-popup {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 2147483647;
display: flex;
align-items: center;
justify-content: center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
/* Popup box */
#mscm-search-popup .mscm-box {
background: #ffffff;
border-radius: 10px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
width: 420px;
max-height: 500px;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* Header */
#mscm-search-popup .mscm-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 16px;
background: #0a84ff;
color: white;
font-size: 15px;
font-weight: 600;
}
/* Close button */
#mscm-search-popup .mscm-close {
background: none;
border: none;
color: white;
font-size: 16px;
cursor: pointer;
padding: 2px 6px;
border-radius: 4px;
line-height: 1;
}
#mscm-search-popup .mscm-close:hover {
background: rgba(255, 255, 255, 0.2);
}
/* Text input */
#mscm-search-popup .mscm-input {
margin: 14px 16px 10px;
padding: 10px 12px;
border: 2px solid #ddd;
border-radius: 6px;
font-size: 15px;
outline: none;
transition: border-color 0.2s;
}
#mscm-search-popup .mscm-input:focus {
border-color: #0a84ff;
}
#mscm-search-popup .mscm-input.mscm-error {
border-color: #d32f2f;
animation: mscm-shake 0.2s;
}
@keyframes mscm-shake {
0%, 100% { transform: translateX(0); }
25% { transform: translateX(-4px); }
75% { transform: translateX(4px); }
}
/* Scrollable site list */
#mscm-search-popup .mscm-list {
overflow-y: auto;
padding: 6px 10px 12px;
display: flex;
flex-direction: column;
gap: 4px;
}
/* Separator between groups and sites */
#mscm-search-popup .mscm-separator {
height: 1px;
background: #e0e0e0;
margin: 4px 0;
}
/* List items */
#mscm-search-popup .mscm-item {
text-align: left;
padding: 9px 14px;
border: none;
border-radius: 6px;
font-size: 14px;
cursor: pointer;
background: #f5f5f5;
color: #333;
transition: background 0.15s;
}
#mscm-search-popup .mscm-item:hover {
background: #e3f2fd;
color: #0a84ff;
}
/* Group items */
#mscm-search-popup .mscm-item.mscm-group {
background: #f0f7ff;
color: #0060df;
font-weight: 500;
}
#mscm-search-popup .mscm-item.mscm-group:hover {
background: #0a84ff;
color: white;
}