diff --git a/src/components/ui/AppBar.vue b/src/components/ui/AppBar.vue index 964b4da..0e32473 100644 --- a/src/components/ui/AppBar.vue +++ b/src/components/ui/AppBar.vue @@ -3,12 +3,6 @@
- - - -
diff --git a/src/components/ui/LegendCard.vue b/src/components/ui/LegendCard.vue new file mode 100644 index 0000000..ffd3322 --- /dev/null +++ b/src/components/ui/LegendCard.vue @@ -0,0 +1,138 @@ + + + + + \ No newline at end of file diff --git a/src/components/ui/List.vue b/src/components/ui/List.vue index f7dd4fa..2ca3718 100644 --- a/src/components/ui/List.vue +++ b/src/components/ui/List.vue @@ -398,7 +398,7 @@ export default Vue.extend({ &-head th { padding: 0.3rem; background-color: #444; - min-width: 140px; + min-width: 120px; cursor: pointer; user-select: none; diff --git a/src/components/ui/Options.vue b/src/components/ui/Options.vue index 670c9e4..339fc03 100644 --- a/src/components/ui/Options.vue +++ b/src/components/ui/Options.vue @@ -1,32 +1,68 @@ @@ -48,6 +84,47 @@ export default class Options extends Vue { } } +.action-btn { + display: flex; + align-items: center; + + background: #333; + border: none; + + color: #e0e0e0; + font-size: 0.9em; + + padding: 0.3em; + + outline: none; + cursor: pointer; + + transition: all 0.3s; + + img { + width: 1.3em; + margin-right: 0.2em; + } + + div { + max-width: 0; + font-size: 1em; + overflow: hidden; + + transition: max-width 0.35s ease-in-out; + } + + &:hover > div, + &.open > div { + max-width: 500px; + color: $accentCol; + } + + &:hover { + background: rgba(#e0e0e0, 0.4); + } +} + .options { font-size: calc(0.6rem + 0.9vw); @@ -55,10 +132,4 @@ export default class Options extends Vue { display: flex; } } - -.action-btn { - img { - width: 1.3em; - } -} \ No newline at end of file