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/Root.module.css | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/components/Root.module.css (limited to 'src/components/Root.module.css') diff --git a/src/components/Root.module.css b/src/components/Root.module.css new file mode 100644 index 0000000..c35c4cb --- /dev/null +++ b/src/components/Root.module.css @@ -0,0 +1,33 @@ +.app { + display: flex; + + background: var(--color-background); + color: var(--color-text); + min-height: 300px; + height: 100vh; + + @media (max-width: 768px) { + flex-direction: column; + } +} + +.content { + flex-grow: 1; + overflow: auto; + + /* + + $w: 7px; + &::-webkit-scrollbar { + width: $w; + } + &::-webkit-scrollbar-thumb { + border-radius: 20px; + background-color: rgba(221, 221, 221, 0.7); + } + &::-webkit-scrollbar-corner { + background: transparent; + } + + */ +} -- cgit v1.3.1