2018-02-06 03:31:21 +01:00
|
|
|
$sub-mid-size-breakpoint: 667px;
|
|
|
|
$sub-mid-size-breakpoint-range: "screen and (min-width: #{$break-large}) and (max-width: #{$sub-mid-size-breakpoint})";
|
|
|
|
|
2017-08-06 22:24:06 +02:00
|
|
|
/*
|
|
|
|
NewUI Container Elements
|
|
|
|
*/
|
|
|
|
|
2017-08-11 08:21:39 +02:00
|
|
|
// Component Colors
|
2018-01-11 06:09:09 +01:00
|
|
|
$wallet-view-bg: $alabaster;
|
2017-08-11 08:21:39 +02:00
|
|
|
|
2017-08-07 03:50:23 +02:00
|
|
|
// Main container
|
2017-08-06 22:24:06 +02:00
|
|
|
.main-container {
|
2017-10-13 00:46:09 +02:00
|
|
|
// position: absolute;
|
2017-08-22 17:37:15 +02:00
|
|
|
z-index: $main-container-z-index;
|
2017-10-13 00:46:09 +02:00
|
|
|
font-family: Roboto;
|
2017-08-06 22:24:06 +02:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
align-items: stretch;
|
2017-08-31 09:28:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.main-container::-webkit-scrollbar {
|
2017-09-05 10:48:52 +02:00
|
|
|
display: none;
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
|
|
|
|
2018-09-19 21:13:58 +02:00
|
|
|
.main-container-wrapper {
|
|
|
|
display: flex;
|
|
|
|
width: 100vw;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2018-02-06 03:31:21 +01:00
|
|
|
//Account and transaction details
|
|
|
|
.account-and-transaction-details {
|
|
|
|
display: flex;
|
2018-06-19 01:30:44 +02:00
|
|
|
flex: 1 1 auto;
|
|
|
|
min-width: 0;
|
2018-02-06 03:31:21 +01:00
|
|
|
}
|
|
|
|
|
2017-08-11 18:17:14 +02:00
|
|
|
// wallet view and sidebar
|
2017-08-07 06:54:42 +02:00
|
|
|
|
2017-08-07 05:47:59 +02:00
|
|
|
.wallet-view {
|
2017-08-11 18:17:14 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2018-01-11 06:09:09 +01:00
|
|
|
flex: 32 1 32%;
|
2017-10-25 08:47:43 +02:00
|
|
|
width: 0;
|
2017-08-11 09:31:06 +02:00
|
|
|
background: $wallet-view-bg;
|
2017-10-24 00:57:14 +02:00
|
|
|
z-index: 200;
|
2017-10-24 08:59:21 +02:00
|
|
|
position: relative;
|
2017-08-11 09:42:09 +02:00
|
|
|
|
|
|
|
@media screen and (min-width: 576px) {
|
|
|
|
overflow-y: scroll;
|
2017-09-05 10:48:52 +02:00
|
|
|
overflow-x: hidden;
|
2017-08-11 09:42:09 +02:00
|
|
|
}
|
2017-08-11 18:17:14 +02:00
|
|
|
|
2018-02-06 03:31:21 +01:00
|
|
|
@media #{$sub-mid-size-breakpoint-range} {
|
|
|
|
min-width: 160px;
|
|
|
|
}
|
|
|
|
|
2017-08-11 18:17:14 +02:00
|
|
|
.wallet-view-account-details {
|
2017-10-24 09:54:49 +02:00
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name-container {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
cursor: pointer;
|
2017-10-25 08:47:43 +02:00
|
|
|
width: 100%;
|
2017-08-11 18:17:14 +02:00
|
|
|
}
|
2017-10-24 08:59:21 +02:00
|
|
|
|
|
|
|
&__keyring-label {
|
2018-01-11 06:09:09 +01:00
|
|
|
height: 50px;
|
2017-10-24 08:59:21 +02:00
|
|
|
color: $dusty-gray;
|
|
|
|
font-family: Roboto;
|
|
|
|
font-size: 10px;
|
|
|
|
text-align: right;
|
2018-01-11 06:09:09 +01:00
|
|
|
padding: 17px 20px 0;
|
|
|
|
box-sizing: border-box;
|
2017-10-24 08:59:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__details-button {
|
|
|
|
font-size: 10px;
|
2018-01-11 06:09:09 +01:00
|
|
|
border-radius: 17px;
|
2017-10-24 08:59:21 +02:00
|
|
|
background-color: transparent;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 4px 12px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
}
|
|
|
|
|
2018-02-01 01:27:35 +01:00
|
|
|
&__tooltip {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2018-02-07 01:51:32 +01:00
|
|
|
align-items: center;
|
2018-02-01 01:27:35 +01:00
|
|
|
padding: 24px;
|
|
|
|
}
|
|
|
|
|
2017-10-24 08:59:21 +02:00
|
|
|
&__address {
|
|
|
|
border-radius: 3px;
|
|
|
|
background-color: $alto;
|
|
|
|
color: $scorpion;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 12px;
|
|
|
|
padding: 4px 12px;
|
|
|
|
cursor: pointer;
|
|
|
|
flex: 0 0 auto;
|
2018-02-01 01:27:35 +01:00
|
|
|
|
|
|
|
&__pressed {
|
|
|
|
background-color: $manatee,
|
|
|
|
}
|
2017-10-24 08:59:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&__sidebar-close {
|
|
|
|
|
|
|
|
@media screen and (max-width: 575px) {
|
|
|
|
&::after {
|
|
|
|
content: '\00D7';
|
|
|
|
font-size: 40px;
|
|
|
|
color: $tundora;
|
|
|
|
position: absolute;
|
2017-10-24 09:13:49 +02:00
|
|
|
top: 12px;
|
|
|
|
left: 12px;
|
2017-10-24 08:59:21 +02:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-11 09:31:06 +02:00
|
|
|
}
|
|
|
|
|
2017-08-31 09:37:42 +02:00
|
|
|
@media screen and (min-width: 576px) {
|
|
|
|
.wallet-view::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-11 09:31:06 +02:00
|
|
|
.wallet-view-title-wrapper {
|
2017-08-11 18:17:14 +02:00
|
|
|
flex: 0 0 25px;
|
2017-08-11 09:31:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.wallet-view-title {
|
|
|
|
margin-left: 15px;
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
// No title on mobile
|
|
|
|
@media screen and (max-width: 575px) {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-08-07 05:47:59 +02:00
|
|
|
}
|
|
|
|
|
2018-08-23 04:27:35 +02:00
|
|
|
.wallet-view.sidebar-right {
|
2017-08-06 22:24:06 +02:00
|
|
|
flex: 1 0 230px;
|
|
|
|
background: rgb(250, 250, 250);
|
2017-08-22 17:37:15 +02:00
|
|
|
z-index: $sidebar-z-index;
|
2017-08-06 22:24:06 +02:00
|
|
|
position: fixed;
|
2018-01-13 23:59:16 +01:00
|
|
|
top: 66px;
|
2017-08-14 10:31:27 +02:00
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2017-08-06 22:24:06 +02:00
|
|
|
opacity: 1;
|
|
|
|
visibility: visible;
|
|
|
|
will-change: transform;
|
|
|
|
overflow-y: auto;
|
2017-08-14 10:31:27 +02:00
|
|
|
box-shadow: rgba(0, 0, 0, .15) 2px 2px 4px;
|
2017-08-06 22:24:06 +02:00
|
|
|
width: 85%;
|
2017-10-25 02:15:10 +02:00
|
|
|
height: calc(100% - 56px);
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
|
|
|
|
2017-08-11 18:17:14 +02:00
|
|
|
// main-container media queries
|
|
|
|
|
2017-08-06 22:24:06 +02:00
|
|
|
@media screen and (min-width: 576px) {
|
|
|
|
.lap-visible {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phone-visible {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-container {
|
2017-10-13 00:46:09 +02:00
|
|
|
// margin-top: 6.9vh;
|
2018-01-11 06:09:09 +01:00
|
|
|
width: 85vw;
|
2017-08-06 22:24:06 +02:00
|
|
|
height: 90vh;
|
2017-08-14 10:31:27 +02:00
|
|
|
box-shadow: 0 0 7px 0 rgba(0, 0, 0, .08);
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 769px) {
|
|
|
|
.main-container {
|
2017-10-13 00:46:09 +02:00
|
|
|
// margin-top: 6.9vh;
|
2018-01-11 06:09:09 +01:00
|
|
|
width: 80vw;
|
2017-08-06 22:24:06 +02:00
|
|
|
height: 82vh;
|
2017-08-14 10:31:27 +02:00
|
|
|
box-shadow: 0 0 7px 0 rgba(0, 0, 0, .08);
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1281px) {
|
|
|
|
.main-container {
|
2017-10-13 00:46:09 +02:00
|
|
|
// margin-top: 6.9vh;
|
2018-01-11 06:09:09 +01:00
|
|
|
width: 62vw;
|
2017-08-06 22:24:06 +02:00
|
|
|
height: 82vh;
|
2017-08-14 10:31:27 +02:00
|
|
|
box-shadow: 0 0 7px 0 rgba(0, 0, 0, .08);
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 575px) {
|
|
|
|
.lap-visible {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phone-visible {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-container {
|
2017-10-13 00:46:09 +02:00
|
|
|
// margin-top: 41px;
|
|
|
|
height: 100%;
|
2017-08-06 22:24:06 +02:00
|
|
|
width: 100%;
|
2017-09-05 10:48:52 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
background-color: $white;
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
2018-09-19 21:13:58 +02:00
|
|
|
|
|
|
|
.main-container-wrapper {
|
2018-12-05 03:47:51 +01:00
|
|
|
flex: 1;
|
|
|
|
min-height: 0;
|
2018-11-08 17:03:31 +01:00
|
|
|
width: 100%;
|
2018-09-19 21:13:58 +02:00
|
|
|
}
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
2017-08-07 04:26:52 +02:00
|
|
|
|
|
|
|
// wallet view
|
|
|
|
.account-name {
|
2017-10-24 08:59:21 +02:00
|
|
|
font-size: 24px;
|
2018-01-11 06:09:09 +01:00
|
|
|
color: $black;
|
2017-10-24 08:59:21 +02:00
|
|
|
margin-top: 8px;
|
2018-01-11 06:09:09 +01:00
|
|
|
margin-bottom: .9rem;
|
2017-10-25 08:47:43 +02:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0 8px;
|
|
|
|
text-align: center;
|
2017-08-07 04:26:52 +02:00
|
|
|
}
|
2017-08-11 18:17:14 +02:00
|
|
|
|
|
|
|
// account options dropdown
|
|
|
|
.account-options-menu {
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
2017-08-31 02:02:13 +02:00
|
|
|
margin: 5% 7% 0%;
|
2017-08-14 10:31:27 +02:00
|
|
|
}
|
2017-09-29 01:13:53 +02:00
|
|
|
|
|
|
|
.fiat-amount {
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token-balance__amount {
|
2018-06-19 01:30:44 +02:00
|
|
|
padding: 0 6px;
|
2017-09-29 01:13:53 +02:00
|
|
|
}
|
2018-02-27 18:04:31 +01:00
|
|
|
|
|
|
|
// first time
|
|
|
|
.first-view-main {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
@media screen and (max-width: 575px) {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 576px) {
|
|
|
|
width: 85vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 769px) {
|
|
|
|
width: 80vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1281px) {
|
|
|
|
width: 62vw;
|
|
|
|
}
|
2018-03-09 18:50:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.unlock-screen-container {
|
|
|
|
z-index: $main-container-z-index;
|
|
|
|
font-family: Roboto;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
background: #f7f7f7;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.unlock-screen {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
2018-06-22 19:11:18 +02:00
|
|
|
|
|
|
|
.first-view-main-wrapper {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 0 10px;
|
|
|
|
background: white;
|
|
|
|
}
|