-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.css
168 lines (149 loc) · 3.08 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
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
162
163
164
165
166
167
168
/**
* General styles
*/
body {
font-family: Arial, sans-serif;
margin: 16px;
width: 300px;
}
/**
* Button styles
*/
button {
color: white;
padding: 10px 15px;
font-size: 16px;
border: none;
border-radius: 4px;
cursor: pointer;
background-color: #4CAF50; /* Green background for buttons */
}
button:hover {
opacity: 0.8;
}
/**
* 'Mark This Tab' button specific styles
*/
button#markTabButton {
display: flex;
justify-content: center;
align-items: center;
gap: 5px;
padding: 7px 7px;
font-size: 12px;
}
button#markTabButton img {
height: 16px;
width: 16px;
}
/**
* Dropdown and input field styles
*/
#slotSelect, #urlDisplay {
width: 100%;
margin-bottom: 4px;
}
/**
* Shortcut list styles
*/
#shortcutList {
margin-top: 10px;
}
.shortcut-item {
background-color: #f0f0f0;
margin-bottom: 8px;
padding: 10px;
border-radius: 4px;
word-break: break-all;
}
.shortcut-item a {
color: #0645ad;
text-decoration: none;
}
.shortcut-item a:hover {
text-decoration: underline;
}
/**
* Remove button styles
*/
.remove-button {
color: #f44336; /* Red color for remove button text */
background-color: transparent;
padding: 0;
margin-left: 10px;
cursor: pointer;
}
.remove-button:hover {
background-color: #dc3545; /* Red color for removal action */
color: white; /* White text on hover */
border-radius: 50%; /* Circular background on hover */
}
/**
* Guide and support text styles
*/
#supportText {
background-color: #f8f9fa;
border-left: 3px solid #007bff;
padding: 5px;
font-size: 0.9em;
margin-top: 5px;
text-align: center;
}
/**
* Coffee link styles
*/
.coffee-link {
color: #ff6f00;
font-weight: bold;
text-decoration: none;
}
.coffee-link:hover {
text-decoration: underline;
}
/* Drag handle icon styles */
.drag-handle {
cursor: grab;
margin-right: 10px;
user-select: none; /* Prevent text selection */
}
/* Style adjustments for .shortcut-item to accommodate the drag handle */
.shortcut-item {
display: flex;
align-items: center;
gap: 10px; /* Adjust based on your design */
/* Other existing styles... */
}
/* Adjustments for the remove button to ensure it aligns correctly */
.remove-button {
margin-left: auto; /* Pushes the remove button to the right */
/* Other existing styles... */
}
button:disabled {
background-color: #cccccc; /* Gray out the button */
cursor: not-allowed; /* Change cursor to indicate disabled state */
opacity: 0.5; /* Make the button appear faded */
}
#shortcut-instructions {
margin-top: 5px;
padding: 5px;
background-color: #f7f7f7;
border: 1px solid #ddd;
border-radius: 4px;
text-align: center;
}
#shortcut-instructions span {
font-size: 0.9em;
}
kbd {
padding: 2px 4px;
font-size: 90%;
color: #333;
background-color: #f7f7f7;
border: 1px solid #ccc;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #ccc;
margin: 0 2px;
display: inline-block;
min-width: 10px;
text-align: center;
}