From 4076d99948ac574b35ebdb67b0a45bd24ddfc785 Mon Sep 17 00:00:00 2001 From: Ariel Date: Tue, 22 Oct 2024 15:06:10 -0400 Subject: push of changes to bookmark --- extension/src/Bookmark.tsx | 1 - 1 file changed, 1 deletion(-) (limited to 'extension/src') diff --git a/extension/src/Bookmark.tsx b/extension/src/Bookmark.tsx index 42ea8a8..e3b4569 100644 --- a/extension/src/Bookmark.tsx +++ b/extension/src/Bookmark.tsx @@ -13,7 +13,6 @@ function Bookmark(props: {data: BookmarkTreeNode}) { function faviconURL(u: string | undefined) { if (!u) return ""; u = new URL(u).hostname.toString(); - // const url = new URL(`https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=${u}&size=128`) const url = new URL('https://www.google.com/s2/favicons'); url.searchParams.set("sz", "256"); u = u.split(".")[u.split(".").length-2] +"."+ u.split(".")[u.split(".").length-1] -- cgit v1.2.3 From e35181b6f85299e40bd748564cbb4ecc752f6d17 Mon Sep 17 00:00:00 2001 From: sowgro Date: Tue, 29 Oct 2024 12:57:00 -0400 Subject: settings sidebar --- extension/src/index.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'extension/src') diff --git a/extension/src/index.css b/extension/src/index.css index 9b18c8a..4ff40f2 100644 --- a/extension/src/index.css +++ b/extension/src/index.css @@ -2,10 +2,34 @@ box-sizing: border-box; } +html { + margin: 0; + padding: 0; +} + body { background-color: #242424; color: white; font-family: sans-serif; + margin: 0; + padding: 0; +} + +#settings-menu { + position: fixed; + height: 100%; + width: 300px; + background-color: black; + padding: 10px; + display: flex; + flex-direction: column; + right: 0; + animation: slideIn; +} + +@keyframes slideIn { + from { width: 0; } + to {width: 300px} } /* Folder */ -- cgit v1.2.3 From d270842f3ff338c530519eef26229d8a2d35cab8 Mon Sep 17 00:00:00 2001 From: sowgro Date: Tue, 29 Oct 2024 13:01:10 -0400 Subject: settings sidebar animation --- extension/src/index.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'extension/src') diff --git a/extension/src/index.css b/extension/src/index.css index 4ff40f2..20d7bf2 100644 --- a/extension/src/index.css +++ b/extension/src/index.css @@ -24,12 +24,13 @@ body { display: flex; flex-direction: column; right: 0; - animation: slideIn; + animation: slideIn 0.3s ease-in-out; + } @keyframes slideIn { - from { width: 0; } - to {width: 300px} + from { transform: translateX(100%); } + to { transform: translateX( 0% ); } } /* Folder */ -- cgit v1.2.3