side bar details

This commit is contained in:
bechi 2014-07-22 18:28:26 -03:00
parent 493045c2f4
commit 3510516e0c
2 changed files with 16 additions and 12 deletions

View File

@ -392,7 +392,7 @@ a:hover {
.line-sidebar {
border-top: 1px solid #34495E;
margin: 1.4rem 0;
margin: 1rem 0;
}
.line-sidebar-b {
@ -780,22 +780,25 @@ button[disabled].white:focus,
color: #E6E6E6;
}
.side-nav {padding: 0;}
.side-nav li {
font-size: 16px;
line-height: 40px;
font-weight: 100;
}
.side-nav li a {
color: #FFFFFF !important;
.side-nav li.active>a:first-child:not(.button) {
color: #2C3E50;
background-color: #F8F8FB;
}
.side-nav li.active a {
background-color: #1ABC9C;
.side-nav li>a:first-child:not(.button), .side-nav li a:not(.button) {
color: #fff;
}
.side-nav li.active:hover a {
background-color: #1ABC9C;
background-color: #F8F8FB;
}
.side-nav li:hover a {

View File

@ -3,16 +3,20 @@
<a href="/" class="db">
<img src="../img/logo-negative-beta.svg" alt="" width="100">
</a>
<div>
<small>v{{version}}</small>
<small ng-if="$root.wallet.getNetworkName()=='livenet'">LIVENET</small>
<small ng-if="$root.wallet.getNetworkName()=='testnet'">TESTNET</small>
</div>
<div class="line-sidebar"></div>
<div>
<a href="/addresses" class="name-wallet" tooltip-placement="bottom" tooltip="ID: {{$root.wallet.id}}">
<span>{{$root.wallet.getName()}}</span>
</a>
<a class="button small side-bar" title="Manual Refresh"
<a class="button primary small side-bar" title="Manual Refresh"
ng-disabled="$root.loading"
ng-click="refresh()"><i class="size-16 fi-refresh"></i></a>
<a class="button small side-bar" title="Signout"
<a class="button primary small side-bar" title="Signout"
ng-click="signout()"><i class="size-16 fi-power"></i></a>
</div>
<div class="founds size-12">
@ -39,10 +43,7 @@
tooltip-placement="bottom">{{availableBalance || 0|noFractionNumber}} {{$root.unitName}}
</span>
</div>
<div class="m10t box-livenet">
<small ng-if="$root.wallet.getNetworkName()=='livenet'">LIVENET</small>
<small ng-if="$root.wallet.getNetworkName()=='testnet'">TESTNET</small>
</div>
<div class="line-sidebar"></div>
</header>
<ul class="side-nav">
<li data-ng-repeat="item in menu" ui-route="/{{item.link}}" class="nav-item" data-ng-class="{active: isActive(item)}">