-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (120 loc) · 2.88 KB
/
style.css
File metadata and controls
129 lines (120 loc) · 2.88 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
127
128
129
/* 'Helper Trigger' Button */
.select-helper-trigger-btn {
display: inline-block;
vertical-align: middle;
margin-left: 4px;
padding: 2px 5px;
border: 1px solid #007bff;
border-radius: 4px;
background-color: #e7f3ff;
color: #0056b3;
font-size: 12px;
cursor: pointer;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
white-space: nowrap;
}
/* Helper Window */
#select-helper-window {
position: absolute;
z-index: 9999;
background-color: #ffffff;
border: 1px solid #c5c5c5;
border-radius: 6px;
padding: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
display: flex;
flex-direction: column;
gap: 8px;
font-family: sans-serif;
max-width: 400px;
}
/* Top Area (Search, Counter) */
.top-area {
position: relative;
display: flex;
align-items: center;
}
#select-helper-window input {
padding: 8px 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
width: 100%;
box-sizing: border-box;
}
.result-counter {
position: absolute;
right: 10px;
font-size: 12px;
color: #777;
pointer-events: none;
}
/* Copy Button */
.copy-button {
align-self: flex-end;
margin-top: -4px;
border: 1px solid #ccc;
background-color: #f0f0f0;
border-radius: 4px;
cursor: pointer;
font-size: 13px; /* Slightly smaller font */
padding: 5px 10px; /* Adjust padding */
display: flex; /* For icon alignment */
align-items: center;
gap: 5px; /* Space between icon and text */
}
.copy-button:hover {
background-color: #e0e0e0;
}
/* Options List */
#select-helper-options-list {
max-height: 300px;
overflow-y: auto;
}
/* Individual Option Item */
.select-helper-option {
display: flex;
align-items: center;
padding: 8px 12px;
font-size: 14px;
cursor: pointer;
border-radius: 4px;
/* white-space, overflow, text-overflow는 자식 요소로 이동 */
}
.select-helper-option:hover {
background-color: #f0f0f0;
}
.select-helper-option.selected {
background-color: #e7f3ff;
font-weight: bold;
color: #0056b3;
}
.select-helper-option .highlight {
background-color: #fffb8f;
font-weight: bold;
color: #000;
padding: 1px 0;
border-radius: 2px;
}
.select-helper-option.keyboard-highlight {
background-color: #d4e8ff; /* 밝은 파란색 배경 */
color: #000;
}
/* 별 아이콘 스타일 */
.favorite-star {
margin-right: 8px; /* 텍스트와의 간격 */
font-size: 16px;
cursor: pointer;
user-select: none; /* 별 아이콘 텍스트가 선택되지 않도록 */
}
/* 옵션 텍스트를 감싸는 span */
.option-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* 즐겨찾기된 항목 스타일 */
.select-helper-option.is-favorite .option-text {
font-weight: 600; /* 텍스트만 굵게 */
color: #0056b3; /* 파란색 계열로 강조 */
}