From 49a1a219fa45e4471fdbbc0644b6a36df9f34b83 Mon Sep 17 00:00:00 2001 From: Konstantinos Triantafyllou Date: Tue, 24 Dec 2019 16:23:31 +0000 Subject: [PATCH] [Monitor Dashboard | Trunk]: Hide Controls: add a border on hover git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@57956 d315682c-612b-4755-9ff5-7f18f6832af3 --- src/app/app.component.html | 4 ++-- src/assets/theme-assets/dashboard-custom.css | 23 +++++++++++++++++--- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 7bb7f63..92c1ff0 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -24,8 +24,8 @@ >
diff --git a/src/assets/theme-assets/dashboard-custom.css b/src/assets/theme-assets/dashboard-custom.css index 892f208..48ca746 100644 --- a/src/assets/theme-assets/dashboard-custom.css +++ b/src/assets/theme-assets/dashboard-custom.css @@ -47,7 +47,8 @@ html .dashboard { position: fixed; z-index: 1205; width: 320px; - background: rgba(240,240,240,0); + height: 45px; + background: rgba(0,0,0,0); } @media only screen and (max-width: 767px) { @@ -56,8 +57,21 @@ html .dashboard { } } -.dashboard #hide_controls > *{ - padding: 5px; +.dashboard #hide_controls * { + color: #646a6f; +} + +.dashboard #hide_controls:hover * { + color: #0d47a1; +} + +.dashboard #hide_controls:hover .material-icons { + border: #0d47a1 solid 1px; +} + +.dashboard #hide_controls > * { + margin-left: 5px; + margin-top: 5px; } .dashboard .sidebar_main_active #hide_controls { @@ -69,6 +83,9 @@ html .dashboard { -webkit-transform: rotate(0deg); -webkit-transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1); transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1); + background: rgba(0, 0, 0, 0); + border-radius: 50%; + border: rgba(0, 0, 0, 0) solid 1px; } .dashboard .sidebar_main_active #hide_controls .material-icons {