Skip to content

Commit 20e8930

Browse files
committed
Component map done with links working, history tab removed
> > Co-authored-by: Nkmai <[email protected]> Co-authored-by: lind-tania <[email protected]> Co-authored-by: rtviner <[email protected]> Co-authored-by: caitlinchan23<[email protected]>
1 parent a22f504 commit 20e8930

File tree

3 files changed

+8
-25
lines changed

3 files changed

+8
-25
lines changed

archive/.pre-v4-demo.gif.icloud

-167 Bytes
Binary file not shown.

src/app/styles/components/_buttons.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
background: $blue-color-gradient;
8888
border-radius: 5px;
8989
}
90+
9091
.play-button:hover {
9192
background: $blue-color-gradient;
9293
transform: translate3d(0, -3px, 0);
@@ -111,6 +112,12 @@
111112
background: $blue-color-gradient;
112113
border-radius: 5px;
113114
}
115+
.play-button:focus,
116+
.backward-button:focus,
117+
.forward-button:focus {
118+
outline: none;
119+
box-shadow: $box-shadow-blue;
120+
}
114121

115122
.forward-button:hover,
116123
.backward-button:hover {

src/extension/contentScript.ts

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,8 @@ window.addEventListener('message', msg => { // runs automatically every second
2222
});
2323

2424
// listening for messages from the UI of the extension
25-
chrome.runtime.onMessage.addListener(request => {
26-
27-
console.log("hello from content script! " + request.action);
28-
25+
chrome.runtime.onMessage.addListener(request => {
2926
const { action }: { action: string } = request;
30-
// DELETE THIS
31-
// switch (action) {
32-
// case 'jumpToSnap':
33-
// // sends single msg to event listeners within the extension
34-
// chrome.runtime.sendMessage(request);
35-
// // message coming from injected script in web page
36-
// // '*' == target window origin required for event to be dispatched, '*' = no preference
37-
// window.postMessage(request, '*');
38-
// break;
39-
// case 'setLock':
40-
// case 'setPause':
41-
// window.postMessage(request, '*');
42-
// break;
43-
// case 'onHover':
44-
// window.postMessage(request, '*');
45-
// default:
46-
// case 'onHoverExit':
47-
// window.postMessage(request, '*');
48-
// break;
49-
// }
50-
// DELETE ABOVE
5127
if (action) {
5228
if (action === 'jumpToSnap') {
5329
// sends single msg to event listeners within the extension

0 commit comments

Comments
 (0)