diff --git a/src/assets/animations/_fade.scss b/src/assets/animations/_fade.scss new file mode 100644 index 0000000..11a22e8 --- /dev/null +++ b/src/assets/animations/_fade.scss @@ -0,0 +1,14 @@ +.fade { + &-enter-from, + &-leave-to { + opacity: 0; + } + &-enter-to, + &-leave-from { + opacity: 1; + } + &-enter-active, + &-leave-active { + transition: all 0.2s ease; + } +} diff --git a/src/assets/base/body.scss b/src/assets/base/body.scss new file mode 100644 index 0000000..9f8c2b6 --- /dev/null +++ b/src/assets/base/body.scss @@ -0,0 +1,8 @@ +body { + @apply relative min-h-screen min-w-full text-y-beige-700 bg-y-beige-400 tracking-[-0.03em]; + word-spacing: 0.5em; + + &::before { + @apply absolute content-[''] h-full w-full bg-[url('/backgrounds/tile-bg.svg')] bg-[length:4px_4px] z-50 opacity-5 pointer-events-none select-none + } +} \ No newline at end of file diff --git a/src/assets/main.css b/src/assets/main.css deleted file mode 100644 index 2a274cc..0000000 --- a/src/assets/main.css +++ /dev/null @@ -1,34 +0,0 @@ -@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@200;300;400;500;700&display=swap'); - -@tailwind base; -@tailwind components; -@tailwind utilities; - -body { - @apply relative min-h-screen min-w-full text-y-beige-700 bg-y-beige-400; - letter-spacing: -0.03em; - word-spacing: 0.5em; -} - -body::before { - @apply absolute content-[''] h-full w-full bg-[url('/backgrounds/tile-bg.svg')] bg-[length:4px_4px] z-50 opacity-5 pointer-events-none select-none -} - -.fade-enter-from { - opacity: 0; -} -.fade-enter-to { - opacity: 1; -} -.fade-enter-active { - transition: all 0.2s ease; -} -.fade-leave-from { - opacity: 1; -} -.fade-leave-to { - opacity: 0; -} -.fade-leave-active { - transition: all 0.2s ease; -} \ No newline at end of file diff --git a/src/assets/main.scss b/src/assets/main.scss new file mode 100644 index 0000000..c7714e9 --- /dev/null +++ b/src/assets/main.scss @@ -0,0 +1,18 @@ +@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@200;300;400;500;700&display=swap'); + +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer base { + @import 'base/body'; +} + +@layer utilities { + @import 'utilities/scrollbar'; +} + +/** +* ANIMATIONS FOR TRANSITIONS +*/ +@import 'animations/fade' \ No newline at end of file diff --git a/src/assets/utilities/_scrollbar.scss b/src/assets/utilities/_scrollbar.scss new file mode 100644 index 0000000..bf71371 --- /dev/null +++ b/src/assets/utilities/_scrollbar.scss @@ -0,0 +1,5 @@ +.y-scrollbar { + &::-webkit-scrollbar-button { + display: none; + } +} \ No newline at end of file diff --git a/src/components/YrhCard.vue b/src/components/YrhCard.vue index bbaf12c..14de240 100644 --- a/src/components/YrhCard.vue +++ b/src/components/YrhCard.vue @@ -1,26 +1,44 @@ + + diff --git a/src/components/datas/YrhStatusCard.vue b/src/components/datas/YrhStatusCard.vue new file mode 100644 index 0000000..a5ecefa --- /dev/null +++ b/src/components/datas/YrhStatusCard.vue @@ -0,0 +1,77 @@ + + + diff --git a/src/components/datas/items/ItemSelection.vue b/src/components/datas/items/ItemSelection.vue index 9e70fdb..8c235e5 100644 --- a/src/components/datas/items/ItemSelection.vue +++ b/src/components/datas/items/ItemSelection.vue @@ -1,6 +1,8 @@