diff --git a/src/components/tabs/StockListTab.vue b/src/components/tabs/StockListTab.vue index b02183a..56d32f0 100644 --- a/src/components/tabs/StockListTab.vue +++ b/src/components/tabs/StockListTab.vue @@ -80,19 +80,15 @@
-
@@ -485,6 +481,44 @@ export default defineComponent({ } } +.stock_spawn-settings { + display: flex; + gap: 0.5em; + + label > input { + position: absolute; + clip: rect(1px, 1px, 1px, 1px); + padding: 0; + border: 0; + height: 1px; + width: 1px; + overflow: hidden; + } + + label { + padding: 0.25em 0.5em; + border-radius: 0.25em; + background-color: #222; + color: #aaa; + cursor: pointer; + + text-transform: uppercase; + transition: color 200ms; + + &::before { + content: '\2716'; + } + } + + label[data-checked='true'] { + color: palegreen; + + &::before { + content: '\2714'; + } + } +} + .real-stock-info { img { height: 1.3ch; diff --git a/src/styles/global.scss b/src/styles/global.scss index ed7384c..89e1d67 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -9,8 +9,8 @@ $accentColor: #e4c428; @font-face { font-family: 'Lato'; src: - url('$fonts/Lato-Light.woff2') format('woff2'), - url('$fonts/Lato-Light.woff') format('woff'); + url('/fonts/Lato-Light.woff2') format('woff2'), + url('/fonts/Lato-Light.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; @@ -19,8 +19,8 @@ $accentColor: #e4c428; @font-face { font-family: 'Lato'; src: - url('$fonts/Lato-Bold.woff2') format('woff2'), - url('$fonts/Lato-Bold.woff') format('woff'); + url('/fonts/Lato-Bold.woff2') format('woff2'), + url('/fonts/Lato-Bold.woff') format('woff'); font-weight: bold; font-style: normal; font-display: swap; @@ -29,8 +29,8 @@ $accentColor: #e4c428; @font-face { font-family: 'Lato'; src: - url('$fonts/Lato-Regular.woff2') format('woff2'), - url('$fonts/Lato-Regular.woff') format('woff'); + url('/fonts/Lato-Regular.woff2') format('woff2'), + url('/fonts/Lato-Regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap;