aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/sender-to-recipient/index.scss
blob: 656e30ddffc634364fa3b7e09b92806489c8a577 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
.sender-to-recipient {
  &--default {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    border-bottom: 1px solid $geyser;
    position: relative;
    flex: 0 0 auto;
    height: 42px;

    .sender-to-recipient {
      &__tooltip-wrapper {
        min-width: 0;
      }

      &__tooltip-container {
        max-width: 100%;
      }

      &__party {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex: 1;
        padding: 0 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        &--sender {
          padding-right: 30px;
          cursor: pointer;
        }

        &--recipient {
          padding-left: 30px;
          border-left: 1px solid $geyser;

          &-with-address {
            cursor: pointer;
          }
        }
      }

      &__arrow-container {
        position: absolute;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      &__arrow-circle {
        background: $white;
        padding: 5px;
        border: 1px solid $geyser;
        border-radius: 20px;
        height: 32px;
        width: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      &__name {
        padding-left: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .875rem;
      }
    }
  }

  &--cards {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    flex: 0 0 auto;
    padding: 8px;

    .sender-to-recipient {
      &__party {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex: 1;
        border-radius: 4px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
        padding: 6px;
        background: $white;
        cursor: pointer;
        min-width: 0;
        color: $dusty-gray;
      }

      &__tooltip-wrapper {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      &__name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: .5rem;
      }

      &__arrow-container {
        padding: 0 2px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
}