summaryrefslogtreecommitdiff
path: root/src/components/ErrorBoundaryFallback.module.scss
diff options
context:
space:
mode:
authorHaishan <[email protected]>2021-06-06 00:32:24 +0800
committerHaishan <[email protected]>2021-06-06 00:33:22 +0800
commit5ff2f89afb71fd2976c487692ec73085241e09c7 (patch)
treefe7a53d8839b1406e4ff31a2fa8a543669c7693f /src/components/ErrorBoundaryFallback.module.scss
parent25dbe5eff483bfdceec677b13ad4ec905c5fe566 (diff)
Stop use postcss-nested postcss-extend-rule
Diffstat (limited to 'src/components/ErrorBoundaryFallback.module.scss')
-rw-r--r--src/components/ErrorBoundaryFallback.module.scss37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/components/ErrorBoundaryFallback.module.scss b/src/components/ErrorBoundaryFallback.module.scss
new file mode 100644
index 0000000..6133568
--- /dev/null
+++ b/src/components/ErrorBoundaryFallback.module.scss
@@ -0,0 +1,37 @@
+.root {
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ overflow: hidden;
+
+ padding: 20px;
+ background: var(--color-background);
+ color: var(--color-text);
+ text-align: center;
+}
+
+.yacd {
+ color: #2a477a;
+ opacity: 0.6;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 40px;
+}
+
+.link {
+ display: inline-flex;
+ align-items: center;
+
+ color: var(--color-text-secondary);
+ &:hover,
+ &:active {
+ color: #387cec;
+ }
+
+ svg {
+ margin-right: 5px;
+ }
+}