From 7dac1d44c7b13184e4a1cbdb4113df2bb8db9d7e Mon Sep 17 00:00:00 2001 From: Haishan Date: Sun, 14 Apr 2019 22:56:14 +0800 Subject: refactor: replace sass with postcss --- src/components/ErrorBoundaryFallback.module.css | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/components/ErrorBoundaryFallback.module.css (limited to 'src/components/ErrorBoundaryFallback.module.css') diff --git a/src/components/ErrorBoundaryFallback.module.css b/src/components/ErrorBoundaryFallback.module.css new file mode 100644 index 0000000..5deae74 --- /dev/null +++ b/src/components/ErrorBoundaryFallback.module.css @@ -0,0 +1,30 @@ +.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 { + color: var(--color-text-secondary); + &:hover, + &:active { + color: #387cec; + } +} -- cgit v1.3.1