From 972dc6f86d336ff67aef55b7d01021f8f34cfc07 Mon Sep 17 00:00:00 2001 From: Guillaume FAUVET Date: Fri, 8 Dec 2017 04:54:59 +0100 Subject: [PATCH] add: public_html.css.accueil (add css for home page) add: public_html.image.* (add new images for types ) upd: view.vue.container.dashboard (add some content) upd: view.vue.home (add css reference for home page) --- public_html/css/accueil.css | 80 +++++++++++++++++++++++++++ public_html/image/container/phone.svg | 47 ++++++++++++++++ public_html/image/type/accident.svg | 1 + public_html/image/type/rain.svg | 62 +++++++++++++++++++++ public_html/image/type/snow.svg | 1 + public_html/image/type/storm.svg | 53 ++++++++++++++++++ public_html/image/type/traffic.svg | 1 + public_html/image/type/work.svg | 1 + view/home.php | 1 + view/vue/container/dashboard.vue | 47 ++++++++++++++-- 10 files changed, 289 insertions(+), 5 deletions(-) create mode 100644 public_html/css/accueil.css create mode 100644 public_html/image/container/phone.svg create mode 100644 public_html/image/type/accident.svg create mode 100644 public_html/image/type/rain.svg create mode 100644 public_html/image/type/snow.svg create mode 100644 public_html/image/type/storm.svg create mode 100644 public_html/image/type/traffic.svg create mode 100644 public_html/image/type/work.svg diff --git a/public_html/css/accueil.css b/public_html/css/accueil.css new file mode 100644 index 0000000..fb35259 --- /dev/null +++ b/public_html/css/accueil.css @@ -0,0 +1,80 @@ +#CONTAINER.accueil{ + display: block; +} + +#CONTAINER.accueil > * { + padding: 0 50px; +} + +#CONTAINER.accueil h1 { + display: inline-block; + position: relative; + letter-spacing: 2px; + background: -webkit-linear-gradient(top left, #474dff, #00E288); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + overflow: hidden; + margin: 50px auto 0 calc(50% - 161.5px); +} + +#CONTAINER.accueil h2 { + margin: 25px auto 10px auto; + color: #10c0a3; +} + +#CONTAINER .icon-type{ + height: 23px; +} + +#CONTAINER ul { + margin-top: 10px; + margin-left: 50px; +} + +#CONTAINER ul li div { + display: inline-block; + width: 25px; + text-align: center; +} + +#CONTAINER.accueil table{ + width: 70%; + display: block; + margin: 15px auto 15px 30px; +} + +#CONTAINER.accueil table > tbody > tr{ + text-align: center; +} + +#CONTAINER.accueil table > tbody > tr > td{ + width: 115px; +} + +#CONTAINER a { + text-decoration: none; + color: inherit; +} + +#CONTAINER .phone{ + display: inline-block; + vertical-align: middle; + width: 3em; + height: 2em; + padding: -1em; + + background: url('/image/container/phone.svg@aaaaaa') center center no-repeat; + background-size: 25px; + background-color: transparent; + + border-radius: 50% / 50%; + + cursor: pointer; + + transition: background .2s ease-in-out; +} + +#CONTAINER a:hover .phone{ + background-size: 30px; + background-image: url('/image/container/phone.svg@3bc010'); +} \ No newline at end of file diff --git a/public_html/image/container/phone.svg b/public_html/image/container/phone.svg new file mode 100644 index 0000000..cf67cba --- /dev/null +++ b/public_html/image/container/phone.svg @@ -0,0 +1,47 @@ + +image/svg+xml \ No newline at end of file diff --git a/public_html/image/type/accident.svg b/public_html/image/type/accident.svg new file mode 100644 index 0000000..c18d0d4 --- /dev/null +++ b/public_html/image/type/accident.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public_html/image/type/rain.svg b/public_html/image/type/rain.svg new file mode 100644 index 0000000..5d0927a --- /dev/null +++ b/public_html/image/type/rain.svg @@ -0,0 +1,62 @@ + +image/svg+xml \ No newline at end of file diff --git a/public_html/image/type/snow.svg b/public_html/image/type/snow.svg new file mode 100644 index 0000000..2f40d5d --- /dev/null +++ b/public_html/image/type/snow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public_html/image/type/storm.svg b/public_html/image/type/storm.svg new file mode 100644 index 0000000..8c62698 --- /dev/null +++ b/public_html/image/type/storm.svg @@ -0,0 +1,53 @@ + +image/svg+xml \ No newline at end of file diff --git a/public_html/image/type/traffic.svg b/public_html/image/type/traffic.svg new file mode 100644 index 0000000..a0fba7e --- /dev/null +++ b/public_html/image/type/traffic.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public_html/image/type/work.svg b/public_html/image/type/work.svg new file mode 100644 index 0000000..341db5a --- /dev/null +++ b/public_html/image/type/work.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/view/home.php b/view/home.php index 7b473ac..c31317f 100755 --- a/view/home.php +++ b/view/home.php @@ -18,6 +18,7 @@ + diff --git a/view/vue/container/dashboard.vue b/view/vue/container/dashboard.vue index 54108ce..94aff58 100644 --- a/view/vue/container/dashboard.vue +++ b/view/vue/container/dashboard.vue @@ -1,9 +1,41 @@ @@ -11,7 +43,12 @@ \ No newline at end of file