From ed189a812996c602a4dba47541d42b8b7f8034c6 Mon Sep 17 00:00:00 2001 From: Alexandre Bourlier Date: Sun, 22 Apr 2018 08:47:18 +0200 Subject: [PATCH] Added the dashboard page --- index.php | 1 + src/html/dashboard.html | 8 +++++++ src/html/menu.html | 52 +++++++++++++++++++++------------------- src/scss/_dashboard.scss | 6 +++++ src/scss/_menu.scss | 30 ++++++++++++++--------- src/scss/main.scss | 1 + 6 files changed, 62 insertions(+), 36 deletions(-) create mode 100644 src/html/dashboard.html create mode 100644 src/scss/_dashboard.scss diff --git a/index.php b/index.php index 5347223..e5f7413 100644 --- a/index.php +++ b/index.php @@ -33,6 +33,7 @@
+ diff --git a/src/html/dashboard.html b/src/html/dashboard.html new file mode 100644 index 0000000..5787855 --- /dev/null +++ b/src/html/dashboard.html @@ -0,0 +1,8 @@ + diff --git a/src/html/menu.html b/src/html/menu.html index ce388b3..50c8b36 100644 --- a/src/html/menu.html +++ b/src/html/menu.html @@ -1,30 +1,32 @@ diff --git a/src/scss/_dashboard.scss b/src/scss/_dashboard.scss new file mode 100644 index 0000000..ed3af21 --- /dev/null +++ b/src/scss/_dashboard.scss @@ -0,0 +1,6 @@ +#dashboard { + #search-help { + font-style: italic; + padding-left: 5px; + } +} diff --git a/src/scss/_menu.scss b/src/scss/_menu.scss index 897ac0f..7f8a4f7 100644 --- a/src/scss/_menu.scss +++ b/src/scss/_menu.scss @@ -1,23 +1,31 @@ #navbar { z-index: 9999; - #menu-title { - font-family: bebas; - color: $hd-color; - font-size: $menu-font-size; - } - - #navbar-router { - color: $twitter-color; + width: 100%; + display: flex; + justify-content: space-between; + flex-direction: row; + color: $twitter-color; + + #menu-title { + font-family: bebas; + color: $hd-color; + font-size: $menu-font-size; + text-align: center; + } + + #menu-items { + display: flex; + justify-content: space-between; + } ldp-route { cursor: pointer; font-size: 18px; } - ldp-route:hover { - text-decoration: underline; - } + + #menu-title[active], ldp-route[active] { border-bottom: 2px solid $hd-color; color: $hd-color; diff --git a/src/scss/main.scss b/src/scss/main.scss index 944ba2f..c516623 100644 --- a/src/scss/main.scss +++ b/src/scss/main.scss @@ -8,3 +8,4 @@ @import "groupsList"; @import "project"; @import "projectsList"; +@import "dashboard";