prelim timeline-content styling
This commit is contained in:
parent
a637c1b61d
commit
908bbdff9c
2 changed files with 40 additions and 7 deletions
|
|
@ -66,12 +66,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.item-divider {
|
||||||
|
padding-top: 1.2rem;
|
||||||
|
color: $item-label-color;
|
||||||
|
font-size: 15px;
|
||||||
|
}
|
||||||
.payment-proposal-to {
|
.payment-proposal-to {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 8px 13px;
|
padding: 8px 13px;
|
||||||
background-color: rgba(203, 203, 203, .13);
|
background-color: rgba(203, 203, 203, .13);
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
margin-bottom: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
@ -114,6 +120,30 @@
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.timeline-item {
|
||||||
|
> * {
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.timeline-content {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
&__label {
|
||||||
|
flex-grow: 1;
|
||||||
|
|
||||||
|
> .action {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
> .name {
|
||||||
|
color: #aaa;
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.accept-slide {
|
.accept-slide {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
<ion-modal-view id="txp-details" ng-controller="txpDetailsController" ng-init="init()">
|
<ion-modal-view id="txp-details" ng-controller="txpDetailsController" ng-init="init()">
|
||||||
<ion-header-bar align-title="center" class="bar-royal wallet-color-header-bar" ng-style="{'background-color': wallet.color}">
|
<ion-header-bar align-title="center" class="bar-royal">
|
||||||
<button class="button button-clear" ng-click="close()">
|
<button class="button button-clear" ng-click="close()">
|
||||||
Close
|
Close
|
||||||
|
<!-- <i class="icon ion-ios-arrow-thin-left"></i> -->
|
||||||
</button>
|
</button>
|
||||||
<div class="title" translate>
|
<div class="title" translate>
|
||||||
Payment Proposal
|
Payment Proposal
|
||||||
|
|
@ -131,17 +132,19 @@
|
||||||
<div ng-if="actionList[0]">
|
<div ng-if="actionList[0]">
|
||||||
<div class="item item-divider" translate>Timeline</div>
|
<div class="item item-divider" translate>Timeline</div>
|
||||||
|
|
||||||
<div class="item" ng-class="{'action-created' : a.type == 'created' || a.type == 'accept', 'action-rejected' : a.type == 'reject'}" ng-repeat="a in actionList track by $index">
|
<div class="item timeline-item" ng-class="{'action-created' : a.type == 'created' || a.type == 'accept', 'action-rejected' : a.type == 'reject'}" ng-repeat="a in actionList track by $index">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-10">
|
<div class="col col-10">
|
||||||
<span id="timeline-icon">{{$index + 1}}</span>
|
<span class="timeline-icon">{{$index + 1}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col timeline-content">
|
||||||
<div>{{a.description}}</div>
|
<div class="timeline-content__label">
|
||||||
|
<div class="action">{{a.description}}</div>
|
||||||
|
<div class="name">{{a.by}}</div>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span>{{a.by}}</span>
|
|
||||||
<span class="item-note">
|
<span class="item-note">
|
||||||
<time>{{ a.time * 1000 | amDateFormat:'MM/DD/YYYY HH:mm a'}}</time>
|
<time>{{ a.time * 1000 | amDateFormat:'HH:mm a'}}</time>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue