aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css/itcss/components/newui-sections.scss
blob: a9167dfb846c2165977ed67aed16647a44af4588 (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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/*
  NewUI Container Elements
 */

// Component Colors
$tx-view-bg: $white;
$wallet-view-bg: $wild-sand;

// Main container
.main-container {
  position: absolute;
  z-index: 18;
  font-family: DIN OT;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  overflow-y: scroll;
}

// tx view

.tx-view {
  flex: 63.5 0 66.5%;
  background: $tx-view-bg;
}

// wallet view

.wallet-view {
  flex: 33.5 0 33.5%;
  background: $wallet-view-bg,
}

.account-options-menu {
  align-items: center;
  justify-content: flex-start;
  margin: 5% 7%;
}

.wallet-view.sidebar {
  flex: 1 0 230px;
  background: rgb(250, 250, 250);
  z-index: 26;
  position: fixed;
  top: 35px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  opacity: 1;
  visibility: visible;
  will-change: transform;
  overflow-y: auto;
  box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 4px;
  width: 85%;
  height: 100%;
}

.sidebar-overlay {
  z-index: 25;
  position: fixed;
  top: 35px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 576px) {
  .lap-visible {
    display: flex;
  }

  .phone-visible {
    display: none;
  }

  .main-container {
    margin-top: 35px;
    width: 85%;
    height: 90vh;
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
  }
}

@media screen and (min-width: 769px) {
  .main-container {
    margin-top: 35px;
    width: 80%;
    height: 82vh;
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
  }
}

@media screen and (min-width: 1281px) {
  .main-container {
    margin-top: 35px;
    width: 65%;
    height: 82vh;
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.08);
  }
}

@media screen and (max-width: 575px) {
  .lap-visible {
    display: none;
  }

  .phone-visible {
    display: flex;
  }

  .main-container {
    margin-top: 35px;
    width: 100%;
    height: 100%;
  }

  button.btn-clear {
    width: 93px;
    height: 50px;
    font-size: .7em;
    background: white;
    border: 1px solid;
  }
}

// wallet view
.account-name {
  @media screen and (max-width: 575px) {
    font-size: 102%;
    margin-left: 3%;
  }

  @media screen and (max-width: 575px) {
    text-align: center;
  }
}