summaryrefslogtreecommitdiffstats
path: root/browser/components/payments/res/containers/order-details.css
blob: beadeb3b88bed2809ff49019da384ef33e71dca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

order-details {
  display: grid;
  grid-template-columns: 20% auto 10rem;
  grid-gap: 1em;
  margin: 1px 4vw;
}

order-details > ul {
  list-style-type: none;
  margin: 1em 0;
  padding: 0;
  display: contents;
}

order-details payment-details-item {
  margin: 1px 0;
  display: contents;
}
payment-details-item .label {
  grid-column-start: 1;
  grid-column-end: 3;
}
payment-details-item currency-amount {
  grid-column-start: 3;
  grid-column-end: 4;
}

order-details .footer-items-list:not(:empty):before {
  border: 1px solid GrayText;
  display: block;
  content: "";
  grid-column-start: 1;
  grid-column-end: 4;
}

order-details > .details-total {
  margin: 1px 0;
  display: contents;
}

.details-total > .label {
  margin: 0;
  font-size: large;
  grid-column-start: 2;
  grid-column-end: 3;
  text-align: end;
}
.details-total > currency-amount {
  font-size: large;
  text-align: end;
}