[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
This commit is contained in:
Konstantinos Triantafyllou 2019-12-24 16:23:31 +00:00
parent 0e0b9611fa
commit 49a1a219fa
2 changed files with 22 additions and 5 deletions

View File

@ -24,8 +24,8 @@
></dashboard-sidebar>
<div *ngIf="hasSidebar" id="hide_controls">
<div class="uk-flex uk-flex-middle">
<a href="#" (click)="toggleOpen($event)"><i class="material-icons md-color-blue-900 md-24">play_circle_filled</i></a>
<a *ngIf="open" href="#" (click)="toggleOpen($event)" class="uk-link">
<a href="#" (click)="toggleOpen($event)"><i class="material-icons md-24">play_circle_filled</i></a>
<a *ngIf="open" href="#" (click)="toggleOpen($event)">
<span class="uk-margin-left">Hide Controls</span>
</a>
</div>

View File

@ -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 {