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
|
|
|
|
*/
|
|
|
|
|
2019-01-23 16:25:34 +01:00
|
|
|
.app {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
overflow-x: hidden;
|
|
|
|
position: relative;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2021-04-30 17:28:07 +02:00
|
|
|
// Fix for UI lag on external monitor: https://github.com/MetaMask/metamask-extension/issues/10173
|
|
|
|
.app.os-mac.browser-chrome::after {
|
|
|
|
content: "";
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
2022-03-16 15:49:25 +01:00
|
|
|
background-color: var(--color-background-alternative);
|
2021-04-30 17:28:07 +02:00
|
|
|
animation: emptySpinningDiv 1s infinite linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes emptySpinningDiv {
|
|
|
|
0% { transform: rotate(0deg); }
|
|
|
|
to { transform: rotate(1turn); }
|
|
|
|
}
|
|
|
|
|
2017-08-07 03:50:23 +02:00
|
|
|
// Main container
|
2017-08-06 22:24:06 +02:00
|
|
|
.main-container {
|
2017-08-22 17:37:15 +02:00
|
|
|
z-index: $main-container-z-index;
|
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;
|
|
|
|
justify-content: center;
|
2019-01-23 16:25:34 +01:00
|
|
|
flex: 1 0 auto;
|
|
|
|
min-height: 0;
|
|
|
|
width: 100%;
|
2018-09-19 21:13:58 +02:00
|
|
|
}
|
|
|
|
|
2017-08-11 18:17:14 +02:00
|
|
|
// main-container media queries
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (min-width: $break-large) {
|
2017-08-06 22:24:06 +02:00
|
|
|
.lap-visible {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phone-visible {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-container {
|
2018-01-11 06:09:09 +01:00
|
|
|
width: 85vw;
|
2020-05-13 18:12:34 +02:00
|
|
|
margin-bottom: 10vh;
|
|
|
|
min-height: 90vh;
|
2020-07-15 15:13:40 +02:00
|
|
|
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.08);
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 769px) {
|
|
|
|
.main-container {
|
2018-01-11 06:09:09 +01:00
|
|
|
width: 80vw;
|
2020-05-13 18:12:34 +02:00
|
|
|
min-height: 82vh;
|
2020-07-15 15:13:40 +02:00
|
|
|
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.08);
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 1281px) {
|
|
|
|
.main-container {
|
2018-01-11 06:09:09 +01:00
|
|
|
width: 62vw;
|
2020-05-13 18:12:34 +02:00
|
|
|
min-height: 82vh;
|
2020-07-15 15:13:40 +02:00
|
|
|
box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.08);
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2017-08-06 22:24:06 +02:00
|
|
|
.lap-visible {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phone-visible {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-container {
|
|
|
|
width: 100%;
|
2017-09-05 10:48:52 +02:00
|
|
|
overflow-y: auto;
|
2022-03-16 15:49:25 +01:00
|
|
|
background-color: var(--color-background-default);
|
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;
|
2018-09-19 21:13:58 +02:00
|
|
|
}
|
2017-08-06 22:24:06 +02:00
|
|
|
}
|
2017-08-07 04:26:52 +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;
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (max-width: $break-small) {
|
2018-02-27 18:04:31 +01:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2021-08-31 08:16:58 +02:00
|
|
|
@media screen and (min-width: $break-large) {
|
2018-02-27 18:04:31 +01:00
|
|
|
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;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1 0 auto;
|
2022-03-16 15:49:25 +01:00
|
|
|
background: var(--color-background-alternative);
|
2018-03-09 18:50:00 +01:00
|
|
|
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;
|
2022-03-16 15:49:25 +01:00
|
|
|
background: var(--color-background-default);
|
2018-06-22 19:11:18 +02:00
|
|
|
}
|