From d136b9d1e27b29f2fa76a5cd40b426ea5eee5484 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 4 Oct 2022 18:29:27 +0200 Subject: [PATCH] feat: create the skill picker page --- src/App.vue | 3 + src/components/Home.vue | 2 +- src/components/SkillPicker.vue | 244 +++++++++++++++++++++++++++++++++ src/components/Timeline.vue | 19 +-- 4 files changed, 258 insertions(+), 10 deletions(-) create mode 100644 src/components/SkillPicker.vue diff --git a/src/App.vue b/src/App.vue index e545d22..108b616 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,7 @@ @@ -9,11 +10,13 @@ import { Component, Vue } from 'vue-property-decorator'; import Home from './components/Home.vue'; import Timeline from './components/Timeline.vue'; +import SkillPicker from './components/SkillPicker.vue'; @Component({ components: { Home, Timeline, + SkillPicker, }, }) export default class App extends Vue { diff --git a/src/components/Home.vue b/src/components/Home.vue index f7278be..3966317 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -34,7 +34,7 @@ width: $width; height: $height; - background: #07142d; + background: #202228; } @keyframes wave-x { diff --git a/src/components/SkillPicker.vue b/src/components/SkillPicker.vue new file mode 100644 index 0000000..8b70463 --- /dev/null +++ b/src/components/SkillPicker.vue @@ -0,0 +1,244 @@ + + + + + + diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index 1620f5f..7674b80 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -121,6 +121,7 @@ $icon-width: 2.3rem; $space-width: 1rem; + $bg-color: #202228; #timeline { display: grid; @@ -134,7 +135,7 @@ font-size: 1.6rem; font-weight: 400; color: #fff; - background: #161619; + background: $bg-color; padding: 0 5rem; @@ -157,7 +158,7 @@ height: #{$icon-width + .3rem}; margin-top: .3rem; - background: #161619; + background: $bg-color; } .src-icon, .doc-icon, .end-icon { position: relative; @@ -166,7 +167,7 @@ height: #{$icon-width + .1rem}; margin-top: .1rem; - background: #161619; + background: $bg-color; } .start { @@ -183,7 +184,7 @@ padding-top: -.2rem; - background: #161619; + background: $bg-color; } .name, .end { b { @@ -232,7 +233,7 @@ margin-bottom: .4em; color: #fff; - background: #28282d; + background: #34343b; border-radius: .4em / .4em; @@ -251,9 +252,9 @@ padding-bottom: 2em; margin-bottom: 1.5em; - background: #28282d; + background: #34343b; - border: .1rem solid #2f2f33; + border: .1rem solid #45454b; border-radius: .4em / .4em; z-index: 100; @@ -269,8 +270,8 @@ width: 100%; height: 100%; - background: #202024; - border: .1rem solid #2f2f33; + background: darken(#34343b, 4%); + border: .1rem solid darken(#45454b, 4%); border-radius: .4em / .4em; transform: translateZ(-1px);