diff --git a/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.html b/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.html index 16f4f981c..ccc89836d 100644 --- a/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.html +++ b/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.html @@ -1,12 +1,12 @@
-
+
Order number
Date
@@ -15,58 +15,58 @@
-
{{order.ordernumber}}
-
{{order.date | date:'short'}}
-
$ {{order.total}}
-
{{order.status}}
+
{{order.ordernumber}}
+
{{order.date | date:'short'}}
+
$ {{order.total}}
+
{{order.status}}
-
+ -
+
-
Shipig address
+
Shipig address
-
{{order.street}}
+
{{order.street}}
-
{{order.city}}
+
{{order.city}}
-
{{order.country}}
+
{{order.country}}
-
+ -
+
-
Order details
+
Order details
-
-
- +
+
-
{{item.productname}}
-
$ {{item.unitprice}}
-
{{item.units}}
-
$ {{item.units * item.unitprice}}
+
{{item.productname}}
+
$ {{item.unitprice}}
+
{{item.units}}
+
$ {{item.units * item.unitprice}}
-
+ -
+
-
-
Total
+
+
Total
-
-
$ XX
+
+
$ XX
-
+
diff --git a/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.scss b/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.scss index 6ca4d6fbf..94155312f 100644 --- a/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.scss +++ b/src/Web/WebSPA/eShopOnContainers.WebSPA/Client/modules/orders/orders-detail/orders-detail.component.scss @@ -1,86 +1,70 @@ @import '../../_variables.scss'; -.esh-orders-detail { +.esh-orders_detail { min-height: 80vh; + $header-height: 4rem; &-header { background-color: #00A69C; - height: 63px; + height: $header-height; + } - li { - list-style: none; - display: inline; - opacity: 0.5; - margin-top: 25px; - margin-left: 10px; - float: right; - cursor: pointer; - color: white; - } + &-back { + color: rgba($color-foreground-brighter, .4); + line-height: $header-height; + text-transform: uppercase; + text-decoration: none; + transition: color $animation-speed-default; - li a { - color: white; + &:hover { + color: $color-foreground-brighter; + transition: color $animation-speed-default; } + } - &-back { - float: left !important; - margin-top: 20px !important; - text-transform: uppercase; - } + &-section { + padding: 1rem 0; - li a:hover { - text-decoration: none; + &--right { + text-align: right; } } - &-container { - min-height: 70vh; - padding-top: 40px; - margin-bottom: 30px; - } - - &-container .table tbody tr:first-child td { - border-top: none; + &-titles { + padding-bottom: 1rem; + padding-top: 2rem; } - &-container .table tr { - border-bottom: none; + &-title { + font-size: $font-size-l; } - &-section { - margin-top: 50px; + &-items { + &--border { + border-bottom: $border-light solid $color-foreground-bright; + padding: .5rem 0; + } } - &-container .table { - margin-left: -7px; - } + $item-height: 8rem; + &-item { + font-size: $font-size-m; + font-weight: $font-weight-semilight; - &-total { - margin-bottom: 5px; - margin-left: 20px; - text-align: left; - } + &--middle { + line-height: $item-height; - &-total-label { - font-size: 14px; - color: #404040; - margin-top:10px; - } + @media screen and (max-width: $media-screen-s) { + line-height: $font-size-m; + } + } - &-total-value { - font-size: 28px; - color: #00a69c; - text-align: left; + &--mark { + color: $color-secondary; + } } &-image { - max-width: 210px; - } - - &-column { - max-width: 120px; - padding: 8px; - text-transform: uppercase; - vertical-align: middle!important; + height: $item-height; } }