From 9ea09bc5264e97fb4ca1de87eb5c608d7f0289c5 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 14 Jan 2017 14:58:43 +0100 Subject: [PATCH] Logout icon --- public_html/css/header.scss | 21 +++++++++++++++++++++ public_html/css/min/header.css | 12 ++++++++++++ public_html/src/static/logout.svg | 9 +++++++++ public_html/view/view.php | 2 ++ 4 files changed, 44 insertions(+) create mode 100644 public_html/src/static/logout.svg diff --git a/public_html/css/header.scss b/public_html/css/header.scss index 6fe561a..832723b 100755 --- a/public_html/css/header.scss +++ b/public_html/css/header.scss @@ -29,4 +29,25 @@ background-size: 70% 70%; } + + // Icone de notification + & > .logout-icon{ + display: block; + position: absolute; + top: 0; + left: calc( 100% - #{$menu-side-width} ); + width: $menu-side-width; + height: $menu-side-width; + + + background: transparent url('/src/static/logout@e0e7ed.svg') center center no-repeat; + background-size: 40%; + + cursor: pointer; + + &:hover{ + background-image: url('/src/static/logout@ffffff.svg'); + } + } + } diff --git a/public_html/css/min/header.css b/public_html/css/min/header.css index 6a4314b..1ce5f35 100755 --- a/public_html/css/min/header.css +++ b/public_html/css/min/header.css @@ -22,5 +22,17 @@ #WRAPPER > #HEADER.loading > .icon { background-image: url("/src/static/loaderv2.svg"); background-size: 70% 70%; } + #WRAPPER > #HEADER > .logout-icon { + display: block; + position: absolute; + top: 0; + left: calc( 100% - 4em ); + width: 4em; + height: 4em; + background: transparent url("/src/static/logout@e0e7ed.svg") center center no-repeat; + background-size: 40%; + cursor: pointer; } + #WRAPPER > #HEADER > .logout-icon:hover { + background-image: url("/src/static/logout@ffffff.svg"); } /*# sourceMappingURL=header.css.map */ diff --git a/public_html/src/static/logout.svg b/public_html/src/static/logout.svg new file mode 100644 index 0000000..5f91c98 --- /dev/null +++ b/public_html/src/static/logout.svg @@ -0,0 +1,9 @@ + + + + diff --git a/public_html/view/view.php b/public_html/view/view.php index e941c7e..3824601 100755 --- a/public_html/view/view.php +++ b/public_html/view/view.php @@ -42,6 +42,8 @@