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 { .MainMenu-socket {
transition: background-color 0.2s, color 0.2s, border-bottom 0.1s, padding-top 0.1s; background-color: @default-bg;
color: @menu-link-icon;
background: url(assets/socket_background.png) @menu-bg;
background-size: 55px 52px;
background-repeat: no-repeat;
order: 0; order: 0;
flex: initial; flex: initial;
padding-top: 0px; padding-top: 0px;

View File

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