From db24043f87c34d441534cc1619879def3c0b5d28 Mon Sep 17 00:00:00 2001 From: Settel Date: Tue, 26 Jul 2022 08:38:44 +0200 Subject: [PATCH] feat: add components to index page (WIP) --- client/src/assets/css/colors.scss | 19 +++++++++ client/src/components/Button.vue | 63 +++++++++++++++++++++++++++++ client/src/components/LoginBox.vue | 15 +++++++ client/src/components/TitleBox.vue | 64 ++++++++++++++++++++++++++++++ client/src/pages/index.vue | 7 +++- 5 files changed, 166 insertions(+), 2 deletions(-) create mode 100644 client/src/components/Button.vue create mode 100644 client/src/components/LoginBox.vue create mode 100644 client/src/components/TitleBox.vue diff --git a/client/src/assets/css/colors.scss b/client/src/assets/css/colors.scss index fcfce41..48164f2 100644 --- a/client/src/assets/css/colors.scss +++ b/client/src/assets/css/colors.scss @@ -10,3 +10,22 @@ $text-error-color: #ff8000; $background-overlay-color: rgba(40, 40, 56, 90%); + +// Box +$box-primary-background-color: $background-primary-color; +$box-primary-text-color: $text-primary-color; +$box-primary-border: 1px solid #e0e0e0; + + +// Button +$button-background-color: #00a0e0; +$button-text-color: #304048; +$button-border: 4px solid #007098; + +$button-hover-background-color: $button-background-color; +$button-hover-text-color: #ffffff; +$button-hover-border: $button-border; + +$button-disabled-background-color: #006080; +$button-disabled-text-color: #102028; +$button-disabled-border: 4px solid #004060; diff --git a/client/src/components/Button.vue b/client/src/components/Button.vue new file mode 100644 index 0000000..198a2e3 --- /dev/null +++ b/client/src/components/Button.vue @@ -0,0 +1,63 @@ + + + + + diff --git a/client/src/components/LoginBox.vue b/client/src/components/LoginBox.vue new file mode 100644 index 0000000..6ed70b7 --- /dev/null +++ b/client/src/components/LoginBox.vue @@ -0,0 +1,15 @@ + + + \ No newline at end of file diff --git a/client/src/components/TitleBox.vue b/client/src/components/TitleBox.vue new file mode 100644 index 0000000..3999a9b --- /dev/null +++ b/client/src/components/TitleBox.vue @@ -0,0 +1,64 @@ + + + diff --git a/client/src/pages/index.vue b/client/src/pages/index.vue index 41b9c41..536f401 100644 --- a/client/src/pages/index.vue +++ b/client/src/pages/index.vue @@ -1,14 +1,17 @@ \ No newline at end of file