aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/transaction-list-item/index.scss
blob: 8a3973f92d8e087b5d050683c2e709af71383b84 (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
.transaction-list-item {
  box-sizing: border-box;
  height: 74px;
  padding: 0 21px;
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid $geyser;
  cursor: pointer;

  @media screen and (max-width: $break-small) {
    padding: 0 12px;
  }

  &__identicon-wrapper {
    padding-top: 2px;
  }

  &__action-block {
    padding: 0 8px 0 12px;
    width: 180px;

    @media screen and (max-width: $break-small) {
      padding: 0 8px;
      width: 160px;
    }
  }

  &__action {
    text-transform: capitalize;
    padding-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    @media screen and (max-width: $break-small) {
      padding-bottom: 0;
      font-size: .875rem;
    }
  }

  &__nonce {
    font-size: .75rem;
    color: #5e6064;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  &__transaction-amounts {
    flex: 1;
  }

  &__primary-transaction-amount {
    text-align: end;

    @media screen and (max-width: $break-small) {
      font-size: .75rem;
    }
  }

  &__secondary-transaction-amount {
    text-align: end;
    font-size: .75rem;
    color: #5e6064;
  }

  &:hover {
    background: rgba($alto, .2);
  }
}