From 7cabe6aa6ce7539746d1f04ce037137a974a0122 Mon Sep 17 00:00:00 2001 From: nael Date: Mon, 27 May 2019 18:03:34 +0200 Subject: [PATCH] wip #2741 @2 --- .../_modules/contact-module/img/icon-mail.svg | 12 ++++ .../contact-module/img/icon-phone.svg | 11 ++++ public/_modules/contact-module/index.html | 33 ++++++++++ public/_modules/contact-module/style.styl | 63 +++++++++++++++++++ public/_modules/cookies-banner/style.css | 25 ++++++++ 5 files changed, 144 insertions(+) create mode 100644 public/_modules/contact-module/img/icon-mail.svg create mode 100644 public/_modules/contact-module/img/icon-phone.svg create mode 100644 public/_modules/contact-module/index.html create mode 100644 public/_modules/contact-module/style.styl create mode 100644 public/_modules/cookies-banner/style.css diff --git a/public/_modules/contact-module/img/icon-mail.svg b/public/_modules/contact-module/img/icon-mail.svg new file mode 100644 index 0000000..eb6aac7 --- /dev/null +++ b/public/_modules/contact-module/img/icon-mail.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/public/_modules/contact-module/img/icon-phone.svg b/public/_modules/contact-module/img/icon-phone.svg new file mode 100644 index 0000000..add3173 --- /dev/null +++ b/public/_modules/contact-module/img/icon-phone.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/_modules/contact-module/index.html b/public/_modules/contact-module/index.html new file mode 100644 index 0000000..9cabc27 --- /dev/null +++ b/public/_modules/contact-module/index.html @@ -0,0 +1,33 @@ + + + + + + + + + + pmi + + + +
+ +

01 46 91 93 32

+
+ +
+ +
+

Utilisez notre formulaire de contact

+
+
+ + + + + \ No newline at end of file diff --git a/public/_modules/contact-module/style.styl b/public/_modules/contact-module/style.styl new file mode 100644 index 0000000..2f1ea2d --- /dev/null +++ b/public/_modules/contact-module/style.styl @@ -0,0 +1,63 @@ +$h3 = 24px +$barlow = 'Barlow', sans-serif +$muli = 'Muli', sans-serif +$dark = #6B7287 +$lightblue = #0EAADA +* + padding: 0 + box-sizing: border-box + margin: 0 + font-family: $muli + +#contact-module + .module + width: 175px + padding: 0 12px + height: 48px + position: fixed + right: 0 + background: $lightblue + top: 11.2vw + transform: translateX(127px) + transition: 500ms all ease + cursor: pointer + &:hover + transform: translateX(0px) + .icon-size + width: 26px; + height: 22px; + .wrapper-module + top: 13.75vw + width: 313px + height: 96px + position: fixed + right: 0 + //background red + margin-top: 10px + transition: 500ms all ease + //transform: translateX(0px) + transform: translateX(265px) + &:hover + transform: translateX(0px) + .module-reveal + transform: translateX(0px) + .module-mail + background : $lightblue + height: 48px + width: 100% + padding: 0 12px + .module-reveal + transform: translateX(48px) + transition: 300ms all ease + position relative + &::after + content: '' + display block + height 1px + width 90% + background #079ECC + position absolute + top: 0 + + + diff --git a/public/_modules/cookies-banner/style.css b/public/_modules/cookies-banner/style.css new file mode 100644 index 0000000..d23358a --- /dev/null +++ b/public/_modules/cookies-banner/style.css @@ -0,0 +1,25 @@ +* { + padding: 0; + box-sizing: border-box; + margin: 0; + font-family: 'Muli', sans-serif; +} +#cookie-banner { + height: 72px; + width: 100vw; + font-size: 14px; + background-color: rgba(21,47,78,0.8); + position: fixed; + bottom: 0; +} +#cookie-banner p:not(:last-child) { + margin-bottom: 0; +} +#cookie-banner p { + margin-right: 3.5vw; +} +#cookie-banner .cookie-btn { + background-color: #0eaada; + padding: 9px 13px; + border-radius: 3px; +} -- 2.39.5