-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
118 lines (101 loc) · 2.32 KB
/
Copy pathstyles.css
File metadata and controls
118 lines (101 loc) · 2.32 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
/* seats.aero button — injected into Google Flights filter bar */
.seats-aero-search-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 16px;
margin-left: 8px;
border: 1px solid #dadce0;
border-radius: 20px;
background-color: #1a73e8;
color: white;
font-family: 'Google Sans', Roboto, Arial, sans-serif;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s, box-shadow 0.2s;
white-space: nowrap;
line-height: 20px;
vertical-align: middle;
}
.seats-aero-search-btn:hover {
background-color: #1557b0;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.seats-aero-search-btn:active {
background-color: #1244a0;
}
.seats-aero-search-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
background-color: #dadce0;
color: #5f6368;
border-color: #dadce0;
}
.seats-aero-search-btn svg {
width: 16px;
height: 16px;
fill: currentColor;
flex-shrink: 0;
}
/* Error state — red outline when extraction fails */
.seats-aero-search-btn.seats-aero-error {
border-color: #d93025;
background-color: white;
color: #d93025;
}
.seats-aero-search-btn.seats-aero-error:hover {
background-color: #fce8e6;
box-shadow: none;
}
/* ── Leg selector dropdown ── */
.seats-aero-dropdown {
position: absolute;
top: 100%;
left: 0;
margin-top: 4px;
background: white;
border: 1px solid #dadce0;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
z-index: 10000;
min-width: 240px;
overflow: hidden;
font-family: 'Google Sans', Roboto, Arial, sans-serif;
font-size: 13px;
}
.seats-aero-dropdown-item {
display: block;
width: 100%;
padding: 10px 14px;
border: none;
background: none;
text-align: left;
cursor: pointer;
color: #202124;
font-family: inherit;
font-size: inherit;
line-height: 1.4;
white-space: nowrap;
}
.seats-aero-dropdown-item:hover {
background-color: #f1f3f4;
}
.seats-aero-dropdown-item:active {
background-color: #e8eaed;
}
.seats-aero-dropdown-sep {
border-top: 1px solid #e8eaed;
}
.seats-aero-dropdown-item .seats-aero-item-hint {
color: #5f6368;
font-size: 12px;
}
/* Button needs relative positioning for dropdown */
.seats-aero-search-btn {
position: relative;
}
/* ── Visibility toggle ── */
body.seats-aero-hide-global #seats-aero-btn {
display: none;
}