-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.css
101 lines (92 loc) · 2.37 KB
/
popup.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
body {
font-family: Arial, sans-serif;
max-width: 250px;
overflow-x: hidden; /* Prevents horizontal scroll on the entire body */
margin: 0;
padding: 0;
}
body, #tabsList, #closedTabsList {
margin: 0;
padding: 0;
width: 100%;
overflow-x: hidden;
box-sizing: border-box;
}
/* Flex container for list items to prevent content cutoff */
.tab-item, .closed-tab-item, .history-item, .online-result {
display: flex;
align-items: center;
padding: 8px;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
text-align: left;
box-sizing: border-box;
}
.tab-item, .closed-tab-item, .history-item, .online-result {
padding: 8px;
cursor: pointer;
white-space: nowrap; /* Prevents text wrapping, if needed */
overflow: hidden; /* Cuts off overflow text */
text-overflow: ellipsis; /* Adds "..." to overflowing text */
box-sizing: border-box; /* Includes padding in width */
width: 100%; /* Ensures items take the full container width */
}
#searchInput {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
#tabsList {
list-style-type: none;
padding: 0;
margin: 0;
}
#tabsList li {
padding: 8px;
cursor: pointer;
}
#tabsList li:hover {
background-color: #ddd;
}
.tab-item.selected {
background-color: #ddd;
}
.closed-tab-item {
color: gray;
}
.tab-item.selected, .closed-tab-item.selected {
background-color: #ddd;
}
#tabsList, #closedTabsList {
list-style-type: none; /* Removes bullet points */
padding: 0; /* Removes default padding */
margin: 0; /* Removes default margin */
}
.section-heading {
font-weight: bold;
padding: 8px 0;
color: #4CAF50; /* Green color for the headings */
}
.tab-item, .closed-tab-item {
padding: 8px;
cursor: pointer;
}
.tab-item {
position: relative;
padding-right: 20px; /* Adjust padding to fit the icon */
}
.audio-icon {
color: green; /* Set color for visibility */
font-size: 0.9em; /* Adjust size if needed */
margin-left: 5px; /* Space between title and icon */
}
.tab-item.selected, .closed-tab-item.selected {
background-color: #ddd;
}
.selected {
background-color: #ddd;
color: #333; /* Ensure text is clearly visible */
}