aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/transaction-list.scss
blob: 41543c347366849401cbcf4c85d83cd789d2f881 (plain) (blame)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.tx-list-header {
  margin: 1.8em 1.3em 1.8em 1.3em;
}

.tx-list-content-divider {
  margin: 0.1em 1.3em 0.1em 1.3em;
  height: 1px;
  background: rgb(231, 231, 231);
  flex: 0 0 1px;
}

.tx-list-container {
  height: 87.5%;
  overflow-y: scroll;
}

.tx-list-item-wrapper {
  flex: 0 0 70px;
  align-items: stretch;
  justify-content: flex-start;
  @media screen and (max-width: $break-small) {
    margin: 0em 1.3em 0.95em 1.3em;
  }

  @media screen and (min-width: $break-large) {
    margin: 0em 1.3em 0em 1.3em;
  }
}

.tx-list-date-wrapper {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: auto;
  @media screen and (max-width: $break-small) {
    margin-top: 6px;
    margin-bottom: 20px;
  }
  @media screen and (min-width: $break-large) {
    margin-top: 6px;
  }
}

.tx-list-content-wrapper {
  align-items: stretch;
  margin-bottom: 8px;
}

.tx-list-date {
  color: $dusty-gray;
  font-size: 14px;
}

.tx-list-identicon-wrapper {
  align-self: center;
  flex: 1 1 auto;
  margin-left: 3px;
}

.tx-list-account-and-status-wrapper {
  display: flex;
  flex: 8 8 auto;

  @media screen and (max-width: $break-small) {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: center;
  }

  @media screen and (min-width: $break-large) {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    .tx-list-account-wrapper {
      flex: 2 2 auto;
    }

    .tx-list-status-wrapper {
      flex: 6 6 auto;
    }
  }

  .tx-list-account {
    font-size: 16px;
  }

  .tx-list-status {
    color: $dusty-gray;
    font-size: 16px;
  }
}

.tx-list-details-wrapper {
  align-self: center;
  flex: 2 2 auto;

  .tx-list-value {
    font-size: 16px;
  }

  .tx-list-fiat-value {
    font-size: 12px;
  }
}