diff --git a/src/sidepanel.ts b/src/sidepanel.ts
index a0d606d..e7d2730 100644
--- a/src/sidepanel.ts
+++ b/src/sidepanel.ts
@@ -44,7 +44,6 @@ class ArgoViewer extends LitElement {
.search-container {
margin: 16px 12px;
height: 32px;
- background: #ece7f8;
border-radius: 9999px;
display: flex;
align-items: center;
@@ -53,8 +52,6 @@ class ArgoViewer extends LitElement {
.search-field {
width: 100%;
- --md-filled-text-field-container-color: transparent;
- --md-ref-shape-corner-radius: 9999px;
overflow: hidden;
}
@@ -94,35 +91,40 @@ class ArgoViewer extends LitElement {
justify-content: space-between;
}
- .status-title {
- font-size: 12px;
- font-weight: 500;
- color: #6b6b6b;
- margin-bottom: 4px;
+ .status-container {
+ display: flex;
+ gap: 8px;
+ align-items: center;
+ justify-content: start;
+ margin-bottom: 8px;
}
- .status-ready {
- font-size: 11px;
+ .status-title {
+ display: block;
+ font-size: 12px;
font-weight: 500;
color: #6b6b6b;
margin-bottom: 4px;
}
- .status-page-title {
+ .status-content {
font-size: 14px;
font-weight: 500;
color: #000;
- margin-bottom: 8px;
}
img.favicon {
- width: 20px !important;
- height: 20px !important;
+ width: var(--md-icon-size) !important;
+ height: var(--md-icon-size) !important;
flex: 0 0 auto;
object-fit: cover;
border-radius: 4px;
filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.6));
}
+
+ md-icon[filled] {
+ font-variation-settings: "FILL" 1;
+ }
`,
];
@@ -570,7 +572,7 @@ class ArgoViewer extends LitElement {
}
get notRecordingMessage() {
- return "Not Archiving this Tab";
+ return "Archiving Disabled";
}
renderStatusCard() {
@@ -605,7 +607,7 @@ class ArgoViewer extends LitElement {
// @ts-expect-error - TS2339 - Property 'pageUrl' does not exist on type 'ArgoViewer'.
this.pageTitle
? html`
-
+

-
${
//@ts-expect-error - TS2339 - Property 'pageTitle' does not exist on type 'ArgoViewer'.
truncateString(this.pageTitle)
@@ -644,7 +646,7 @@ class ArgoViewer extends LitElement {
// @ts-expect-error - TS2339 - Property 'status' does not exist on type 'ArgoViewer'.
this.status?.numPending || 0,
)}
- style="--md-sys-color-primary: #7b1fa2; width: 100%; margin-bottom: 0.5rem;"
+ style="width: 100%; margin-bottom: 0.5rem;"
>
`
: ""
@@ -652,7 +654,12 @@ class ArgoViewer extends LitElement {
${
// @ts-expect-error - TS2339 - Property 'status' does not exist on type 'ArgoViewer'. | TS2339 - Property 'status' does not exist on type 'ArgoViewer'.
!this.status?.numPending
- ? html`All resources archived`
+ ? html`
+ check_circle
+ All resources archived
+
`
: ""
}
`;
@@ -695,30 +702,43 @@ class ArgoViewer extends LitElement {
if (this.pageUrl?.startsWith(this.extRoot)) {
return html`
Status
-
- This page is part of the extension. You can view existing archived
- items from here. To start a new archiving session, click the
- Start Archiving button and enter
- a new URL.
+
+ This page is part of the extension.
`;
}
return html`
Status
-
-
Can't archive this page.
`;
+
+ folder_off
+ Can't archive this page.
+
`;
}
// @ts-expect-error - TS2339 - Property 'waitingForStart' does not exist on type 'ArgoViewer'.
if (this.waitingForStart) {
return html`
Status
-
-
Archiving will start after the page reloads...
`;
+
+ folder_off
+ Archiving will start after page reloads…
+
`;
}
- return html`
Status
-
-
${this.notRecordingMessage}
`;
+ return html`
+
Status
+
+ folder_off
+ ${this.notRecordingMessage}
+
+ `;
}
renderSearch() {
@@ -774,11 +794,7 @@ class ArgoViewer extends LitElement {
!this.recording
? html`
- pause
+ pause
Pause Archiving
`
diff --git a/static/sidepanel.html b/static/sidepanel.html
index 394f34b..26abcea 100644
--- a/static/sidepanel.html
+++ b/static/sidepanel.html
@@ -19,6 +19,56 @@
--md-sys-color-background: white;
--md-sys-color-surface-container: white;
--md-elevated-card-container-color: white;
+ --md-icon-size: 20px;
+
+ --md-sys-color-primary: rgb(220, 101, 3);
+ --md-sys-color-surface-tint: rgb(154 70 0);
+ --md-sys-color-on-primary: rgb(255 255 255);
+ --md-sys-color-primary-container: rgb(188 87 0);
+ --md-sys-color-on-primary-container: rgb(255 251 255);
+ --md-sys-color-secondary: rgb(136 80 45);
+ --md-sys-color-on-secondary: rgb(255 255 255);
+ --md-sys-color-secondary-container: rgb(253 179 136);
+ --md-sys-color-on-secondary-container: rgb(120 67 33);
+ --md-sys-color-tertiary: rgb(98 98 0);
+ --md-sys-color-on-tertiary: rgb(255 255 255);
+ --md-sys-color-tertiary-container: rgb(177 176 49);
+ --md-sys-color-on-tertiary-container: rgb(66 66 0);
+ --md-sys-color-error: rgb(186 26 26);
+ --md-sys-color-on-error: rgb(255 255 255);
+ --md-sys-color-error-container: rgb(255 218 214);
+ --md-sys-color-on-error-container: rgb(147 0 10);
+ --md-sys-color-on-background: rgb(36 25 19);
+ /* --md-sys-color-surface: rgb(255 248 245); */
+ --md-sys-color-on-surface: rgb(36 25 19);
+ --md-sys-color-surface-variant: rgb(252 220 204);
+ --md-sys-color-on-surface-variant: rgb(87 66 55);
+ --md-sys-color-outline: rgb(139 114 101);
+ --md-sys-color-outline-variant: rgb(222 192 177);
+ --md-sys-color-shadow: rgb(0 0 0);
+ --md-sys-color-scrim: rgb(0 0 0);
+ --md-sys-color-inverse-surface: rgb(59 46 39);
+ --md-sys-color-inverse-on-surface: rgb(255 237 229);
+ --md-sys-color-inverse-primary: rgb(255 182 140);
+ --md-sys-color-primary-fixed: rgb(255 219 201);
+ --md-sys-color-on-primary-fixed: rgb(50 18 0);
+ --md-sys-color-primary-fixed-dim: rgb(255 182 140);
+ --md-sys-color-on-primary-fixed-variant: rgb(117 52 0);
+ --md-sys-color-secondary-fixed: rgb(255 219 201);
+ --md-sys-color-on-secondary-fixed: rgb(50 18 0);
+ --md-sys-color-secondary-fixed-dim: rgb(255 182 140);
+ --md-sys-color-on-secondary-fixed-variant: rgb(108 57 24);
+ --md-sys-color-tertiary-fixed: rgb(234 232 100);
+ --md-sys-color-on-tertiary-fixed: rgb(29 29 0);
+ --md-sys-color-tertiary-fixed-dim: rgb(205 204 75);
+ --md-sys-color-on-tertiary-fixed-variant: rgb(74 73 0);
+ --md-sys-color-surface-dim: rgb(235 214 203);
+ --md-sys-color-surface-bright: rgb(255 248 245);
+ --md-sys-color-surface-container-lowest: rgb(255 255 255);
+ --md-sys-color-surface-container-low: rgb(255 241 235);
+ /* --md-sys-color-surface-container: rgb(255 234 223); */
+ --md-sys-color-surface-container-high: rgb(250 228 217);
+ --md-sys-color-surface-container-highest: rgb(244 222 211);
--md-linear-progress-track-height: 8px;
}