-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
161 lines (140 loc) · 2.76 KB
/
styles.css
File metadata and controls
161 lines (140 loc) · 2.76 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/* Hide filtered results */
.filtered-result {
display: none !important;
}
/* Filter controls container */
.filter-controls {
position: absolute;
right: -36px;
top: 50%;
transform: translateY(-50%);
}
/* Pacman button styling */
.filter-button {
cursor: pointer;
background: none;
border: none;
padding: 4px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #9aa0a6;
transition: all 0.2s ease;
}
.filter-button:hover {
background: #f1f3f4;
color: #1a73e8;
}
.filter-button.active {
color: #1a73e8;
}
.filter-button svg {
width: 20px;
height: 20px;
transform: rotate(45deg);
transition: transform 0.3s ease;
}
.filter-button.active svg {
transform: rotate(225deg);
}
/* Filtered domains pills container */
.filtered-domains-pills {
display: flex;
flex-wrap: wrap;
gap: 8px;
padding: 8px 20px;
background: white;
min-height: 24px;
align-items: center;
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid #dfe1e5;
margin-bottom: 12px;
box-shadow: 0 1px 6px rgba(32,33,36,0.08);
transition: max-height 0.3s ease-in-out;
}
/* Show more pill specific styling */
.show-more-pill {
cursor: pointer;
background: #e8f0fe;
border-color: #1a73e8;
color: #1a73e8;
}
.show-more-pill:hover {
background: #d2e3fc;
}
.show-more-pill svg {
transition: transform 0.3s;
}
/* Hidden pills container */
.hidden-pills {
display: none;
width: 100%;
margin-top: 8px;
}
/* Show hidden pills when expanded */
.filtered-domains-pills.expanded .hidden-pills {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
/* Rotate arrow when expanded */
.filtered-domains-pills.expanded .show-more-pill svg {
transform: rotate(180deg);
}
/* Container when empty */
.filtered-domains-pills:empty {
display: none;
}
/* Empty state message */
.filtered-domains-empty {
color: #666;
font-size: 13px;
font-style: italic;
}
/* Individual pill style */
.domain-pill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 10px 6px 12px;
background: #f1f3f4;
border-radius: 16px;
font-size: 13px;
color: #202124;
border: 1px solid #dadce0;
transition: all 0.2s;
cursor: default;
user-select: none;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.domain-pill:hover {
background: #e8eaed;
}
/* Close button in pill */
.domain-pill-close {
display: flex;
align-items: center;
justify-content: center;
width: 16px;
height: 16px;
border-radius: 50%;
cursor: pointer;
padding: 2px;
color: #5f6368;
}
.domain-pill-close:hover {
background: rgba(0,0,0,0.1);
}
/* Filter icon in pill */
.domain-pill svg {
width: 14px;
height: 14px;
color: #5f6368;
}
/* Make search results container relative for absolute positioning */
div.g {
position: relative;
}