This repository has been archived by the owner on May 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
11 changed files
with
52 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
export const bgFade = (element: HTMLElement) => { | ||
element.style.backgroundColor = 'var(--border-color)' | ||
element.style.borderRadius = '3px' | ||
element.style.boxShadow = '5px 0px 0 var(--border-color), -5px 0px 0 var(--border-color)' | ||
element.style.backgroundColor = "var(--border-color)"; | ||
element.style.borderRadius = "3px"; | ||
element.style.boxShadow = "5px 0px 0 var(--border-color), -5px 0px 0 var(--border-color)"; | ||
setTimeout(function () { | ||
element.style.transition = 'all 2s cubic-bezier(0.4, 0, 1, 1)' | ||
element.style.backgroundColor = 'var(--toolbar-background-color)' | ||
element.style.boxShadow = '5px 0px 0 var(--toolbar-background-color), -5px 0px 0 var(--toolbar-background-color)' | ||
}) | ||
element.style.transition = "all 2s cubic-bezier(0.4, 0, 1, 1)"; | ||
element.style.backgroundColor = "var(--toolbar-background-color)"; | ||
element.style.boxShadow = "5px 0px 0 var(--toolbar-background-color), -5px 0px 0 var(--toolbar-background-color)"; | ||
}); | ||
setTimeout(function () { | ||
element.removeAttribute("style"); | ||
}, 2001) | ||
} | ||
}, 2001); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters