From 440268a24a9f9469352822652e3602de5976424f Mon Sep 17 00:00:00 2001 From: xeltica Date: Thu, 9 Sep 2021 12:04:38 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E6=96=B0XelticaUI=E3=81=AE=E9=81=A9?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/style.scss | 61 ----------------------------------------- yarn.lock | 4 +-- 2 files changed, 2 insertions(+), 63 deletions(-) diff --git a/src/frontend/style.scss b/src/frontend/style.scss index 6225bb0..39096ca 100644 --- a/src/frontend/style.scss +++ b/src/frontend/style.scss @@ -1,6 +1,5 @@ body { --primary: rgb(134, 179, 0); - --shadow-color: rgba(0, 0, 0, 0.1); } .xarticle { @@ -8,70 +7,10 @@ body { max-width: 720px; } -.skeleton { - border-radius: var(--radius); - background: var(--tone-2); - position: relative; - overflow: hidden; - &::after { - content: ""; - inset: 0; - position: absolute; - background: linear-gradient(90deg, transparent, var(--tone-3) 50%, transparent 100%); - animation: 1.2s ease-out 0s infinite skeleton; - } -} - .fade { animation: 0.3s ease-out 0s fadeIn; } -.tab { - display: flex; - flex-wrap: wrap; - background: var(--panel); - .item { - position: relative; - background: transparent; - border: none; - color: var(--fg); - padding: calc(var(--margin) / 2) var(--margin); - transition: background 0.2s ease; - &.active { - color: var(--primary); - &::after { - content: ""; - width: 100%; - } - } - &:hover { - background: var(--hover); - } - &::after { - content: ""; - position: absolute; - transition: width 0.2s ease; - transform-origin: center center; - display: block; - bottom: 0; - height: 2px; - left: 0; - right: 0; - width: 0; - background-color: var(--primary); - } - } -} - -@keyframes skeleton { - from { - transform: translateX(-100%); - } - to { - transform: translateX(300%); - } -} - @keyframes fadeIn { from { opacity: 0; diff --git a/yarn.lock b/yarn.lock index 6679cf8..a661718 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5586,8 +5586,8 @@ xdg-basedir@^4.0.0: integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q== xeltica-ui@xeltica/ui: - version "1.0.0-alpha.6" - resolved "https://codeload.github.com/xeltica/ui/tar.gz/07ed1214a91994f58fc4b0bc7be53a7120ba53f5" + version "1.0.0-alpha.7" + resolved "https://codeload.github.com/xeltica/ui/tar.gz/765a73de505b5e405021b8ce182f4e3627560e72" xml2js@^0.4.17: version "0.4.23"