1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

Removed background from socket indicator and centered the icon in Chrome by changing the element type to <div>

This commit is contained in:
Michael Abashian 2016-06-14 10:23:24 -04:00
parent 9f39477724
commit f55c3c345d
2 changed files with 4 additions and 8 deletions

View File

@ -54,11 +54,7 @@
}
.MainMenu-socket {
transition: background-color 0.2s, color 0.2s, border-bottom 0.1s, padding-top 0.1s;
color: @menu-link-icon;
background: url(assets/socket_background.png) @menu-bg;
background-size: 55px 52px;
background-repeat: no-repeat;
background-color: @default-bg;
order: 0;
flex: initial;
padding-top: 0px;
@ -204,7 +200,7 @@
flex: initial!important;
padding-top:0px;
}
.MainMenu-item--licenseMissing:hover{
padding-top:20px;
border-bottom: 5px solid @menu-link-btm-hov;

View File

@ -197,7 +197,7 @@
</a>
<!-- Socket-status item -->
<button
<div
id="main_menu_socket_status_notification"
class="MainMenu-socket"
aw-tool-tip="{{socketTip}}"
@ -210,7 +210,7 @@
<i class="fa MainMenu-socketImage"
ng-class="socketIconClass">
</i>
</button>
</div>
<!-- Mobile menu toggle item -->
<button