File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -141,23 +141,23 @@ class RecWindowUI extends LitElement
141
141
bottom: 0px;
142
142
right: 0px;
143
143
margin-right: -4px;
144
- margin-bottom: -4px ;
145
- border: 1px solid black ;
146
- border-radius: 3px ;
144
+ margin-bottom: -3px ;
145
+ border: 2px solid white ;
146
+ border-radius: 4px ;
147
147
font-size: 9px;
148
148
color: white;
149
149
}
150
150
151
151
.overlay-idle {
152
- background-color: #64e986 ;
152
+ background-color: #4D7C0F ;
153
153
}
154
154
155
155
.overlay-waiting {
156
- background-color: #bb9f08 ;
156
+ background-color: #C5A802 ;
157
157
}
158
158
159
159
.overlay-auto {
160
- background-color: #3298dc ;
160
+ background-color: #0891B2 ;
161
161
}
162
162
163
163
` ) ;
@@ -202,7 +202,7 @@ class RecWindowUI extends LitElement
202
202
${ this . recording ? html `
203
203
${ this . autorun ? html `< span class ="overlay overlay-auto "> </ span > ` :
204
204
! this . numPending ? html `
205
- < span class ="overlay overlay-idle "> </ span > ` : html `
205
+ < span class ="overlay overlay-idle "> ✓ </ span > ` : html `
206
206
< span class ="overlay overlay-waiting "> ${ this . numPending } </ span >
207
207
` } ` : "" }
208
208
</ span >
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const disabledCSPTabs = new Set();
27
27
// ===========================================================================
28
28
29
29
function main ( ) {
30
- chrome . action . setBadgeBackgroundColor ( { color : "#64e986 " } ) ;
30
+ chrome . action . setBadgeBackgroundColor ( { color : "#4D7C0F " } ) ;
31
31
32
32
chrome . contextMenus . create ( { "id" : "toggle-rec" , "title" : "Start Recording" , "contexts" : [ "browser_action" ] } ) ;
33
33
chrome . contextMenus . create ( { "id" : "view-rec" , "title" : "View Web Archives" , "contexts" : [ "all" ] } ) ;
Original file line number Diff line number Diff line change @@ -186,27 +186,27 @@ class BrowserRecorder extends Recorder {
186
186
if ( this . running ) {
187
187
if ( this . behaviorState === BEHAVIOR_RUNNING ) {
188
188
title = "Archiving: Autopilot Running!" ;
189
- color = "#3298dc " ;
190
- text = " " ;
189
+ color = "#0891B2 " ;
190
+ text = "" ;
191
191
192
192
} else if ( this . numPending === 0 ) {
193
193
title = "Archiving: No URLs pending, can continue" ;
194
- color = "#64e986 " ;
195
- text = " " ;
194
+ color = "#4D7C0F " ;
195
+ text = "✓ " ;
196
196
197
197
} else {
198
198
title = `Archiving: ${ this . numPending } URLs pending, please wait` ;
199
- color = "#bb9f08 " ;
199
+ color = "#C5A802 " ;
200
200
text = "" + this . numPending ;
201
201
}
202
202
} else if ( this . failureMsg ) {
203
203
title = "Error: Can't Archive this page" ;
204
204
text = "X" ;
205
- color = "#F00 " ;
205
+ color = "#D30808 " ;
206
206
} else {
207
207
title = "Not Archiving" ;
208
208
text = "" ;
209
- color = "#64e986 " ;
209
+ color = "#4D7C0F " ;
210
210
}
211
211
212
212
chrome . action . setTitle ( { title, tabId} ) ;
You can’t perform that action at this time.
0 commit comments