add circle on nav bar
This commit is contained in:
parent
10d229eae8
commit
4bc58af524
2 changed files with 35 additions and 2 deletions
|
|
@ -1,10 +1,11 @@
|
||||||
<a ng-click="index.setTab(item, false, 0, true)"
|
<a ng-click="index.setTab(item, false, 0, true)"
|
||||||
ng-style="{'color': index.tab == item.link ? index.backgroundColor : '#4B6178'}" id="menu-{{item.link}}">
|
ng-style="{'color': index.tab == item.link ? index.backgroundColor : '#4B6178'}" id="menu-{{item.link}}">
|
||||||
<i class="size-18 {{item.icon}} db"></i>
|
<i class="size-18 {{item.icon}} db" ng-class="{ 'icon-activity': item.link=='walletHome' }"></i>
|
||||||
<div class="size-10 tu">
|
<div class="size-10 tu" ng-class="{ 'name-activity': item.link=='walletHome' }">
|
||||||
{{ item.title|translate }}
|
{{ item.title|translate }}
|
||||||
<span class="label alert round" ng-if="item.link=='walletHome' && index.pendingTxProposalsCountForUs > 0">
|
<span class="label alert round" ng-if="item.link=='walletHome' && index.pendingTxProposalsCountForUs > 0">
|
||||||
{{ index.pendingTxProposalsCountForUs }}
|
{{ index.pendingTxProposalsCountForUs }}
|
||||||
</span>
|
</span>
|
||||||
|
<span class="menu-activity hide-for-large-only" ng-if="item.link=='walletHome'">
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
||||||
|
|
@ -172,6 +172,34 @@ _:-ms-fullscreen, :root .main {
|
||||||
padding-top: 1rem !important;
|
padding-top: 1rem !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.menu-activity {
|
||||||
|
background-image: linear-gradient(-180deg, #F1F3F5 0%, #FFFFFF 40%);
|
||||||
|
box-shadow: 0px -1px 0px 0px rgba(165,178,191,0.35);
|
||||||
|
width: 100%;
|
||||||
|
height: 8rem;
|
||||||
|
position: absolute;
|
||||||
|
top: -15px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
left:0;
|
||||||
|
right:0;
|
||||||
|
border-radius: 100%;
|
||||||
|
z-index: -999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-activity {
|
||||||
|
font-size: 28px;
|
||||||
|
position: absolute;
|
||||||
|
display: block;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: -4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.name-activity {
|
||||||
|
margin-top: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
.amount {
|
.amount {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -823,6 +851,10 @@ textarea:focus
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.test {
|
||||||
|
background: red;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.create-tab a {
|
.create-tab a {
|
||||||
font-size: .7rem;
|
font-size: .7rem;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue