Merge branch 'Dev' of https://github.com/dotnet/eShopOnContainers into Dev
This commit is contained in:
commit
73e7fefde5
@ -25,7 +25,7 @@
|
|||||||
[(ngModel)]="item.quantity"
|
[(ngModel)]="item.quantity"
|
||||||
(change)="itemQuantityChanged(item)" />
|
(change)="itemQuantityChanged(item)" />
|
||||||
</section>
|
</section>
|
||||||
<section class="esh-basket-item esh-basket-item--middle col-xs-2">$ {{item.unitPrice * item.quantity}}</section>
|
<section class="esh-basket-item esh-basket-item--middle esh-basket-item--mark col-xs-2">$ {{item.unitPrice * item.quantity}}</section>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -3,25 +3,6 @@
|
|||||||
.esh-basket {
|
.esh-basket {
|
||||||
min-height: 80vh;
|
min-height: 80vh;
|
||||||
|
|
||||||
$header-height: 4rem;
|
|
||||||
&-header {
|
|
||||||
background-color: #00A69C;
|
|
||||||
height: $header-height;
|
|
||||||
}
|
|
||||||
|
|
||||||
&-back {
|
|
||||||
color: rgba($color-foreground-brighter, .4);
|
|
||||||
line-height: $header-height;
|
|
||||||
text-transform: uppercase;
|
|
||||||
text-decoration: none;
|
|
||||||
transition: color $animation-speed-default;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $color-foreground-brighter;
|
|
||||||
transition: color $animation-speed-default;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&-titles {
|
&-titles {
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
padding-top: 2rem;
|
padding-top: 2rem;
|
||||||
@ -61,7 +42,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--mark {
|
&--mark {
|
||||||
color: $color-secondary;
|
color: $color-brand;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<section class="esh-orders-item col-xs-4">{{order.date | date:'short'}}</section>
|
<section class="esh-orders-item col-xs-4">{{order.date | date:'short'}}</section>
|
||||||
<section class="esh-orders-item col-xs-2">$ {{order.total}}</section>
|
<section class="esh-orders-item col-xs-2">$ {{order.total}}</section>
|
||||||
<section class="esh-orders-item col-xs-2">{{order.status}}</section>
|
<section class="esh-orders-item col-xs-2">{{order.status}}</section>
|
||||||
<section class="esh-orders-item col-xs-2">
|
<section class="esh-orders-item esh-orders-item--hover col-xs-2">
|
||||||
<a class="esh-orders-link" routerLink="/orders/{{order.ordernumber}}">Detail</a>
|
<a class="esh-orders-link" routerLink="/orders/{{order.ordernumber}}">Detail</a>
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
.esh-orders {
|
.esh-orders {
|
||||||
min-height: 80vh;
|
min-height: 80vh;
|
||||||
|
overflow-x: hidden;
|
||||||
|
|
||||||
$header-height: 4rem;
|
$header-height: 4rem;
|
||||||
&-header {
|
&-header {
|
||||||
@ -35,10 +36,35 @@
|
|||||||
$height: 2rem;
|
$height: 2rem;
|
||||||
height: $height;
|
height: $height;
|
||||||
line-height: $height;
|
line-height: $height;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
&:nth-of-type(2n + 1) {
|
||||||
|
&:before {
|
||||||
|
background-color: $color-background-bright;
|
||||||
|
content: '';
|
||||||
|
height: 100%;
|
||||||
|
left: 0;
|
||||||
|
margin-left: -100vw;
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 200vw;
|
||||||
|
z-index: -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-item {
|
&-item {
|
||||||
font-weight: $font-weight-semilight;
|
font-weight: $font-weight-semilight;
|
||||||
|
|
||||||
|
&--hover {
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&-items:hover &-item--hover {
|
||||||
|
opacity: 1;
|
||||||
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-link {
|
&-link {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
height: $header-height;
|
height: $header-height;
|
||||||
|
|
||||||
&-back {
|
&-back {
|
||||||
color: red;
|
color: rgba($color-foreground-brighter, .5);
|
||||||
line-height: $header-height;
|
line-height: $header-height;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -34,11 +34,12 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 2rem;
|
top: 2.5rem;
|
||||||
transition: height $animation-speed-default;
|
transition: height $animation-speed-default;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover &-drop {
|
&:hover &-drop {
|
||||||
|
border: $border-light solid $color-foreground-bright;
|
||||||
height: 7rem;
|
height: 7rem;
|
||||||
transition: height $animation-speed-default;
|
transition: height $animation-speed-default;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user