2018-02-20 09:30:36 +00:00
|
|
|
aside {
|
|
|
|
position: relative;
|
|
|
|
width: 320px;
|
|
|
|
min-width: 320px;
|
|
|
|
border-right: 1px solid @color_divider;
|
|
|
|
//display: flex;
|
|
|
|
//flex-direction: column;
|
|
|
|
overflow-x: hidden;
|
|
|
|
|
|
|
|
.Select {
|
|
|
|
width: 320px;
|
|
|
|
height: 64px;
|
|
|
|
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
|
2018-03-08 16:10:53 +00:00
|
|
|
background: @color_white;
|
2018-02-20 09:30:36 +00:00
|
|
|
|
|
|
|
.Select-control {
|
|
|
|
height: 63px;
|
|
|
|
border: 0px;
|
|
|
|
// border-radius: 4px 0px 0px 0px;
|
|
|
|
border-right: 1px solid @color_divider;
|
|
|
|
border-bottom: 1px solid @color_divider;
|
|
|
|
transition: color 0.3s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Select-arrow-zone {
|
|
|
|
right: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Select-menu-outer {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-open {
|
|
|
|
.Select-control {
|
|
|
|
border-color: @color_divider;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-disabled {
|
|
|
|
.Select-control {
|
|
|
|
background: @color_white;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Select-arrow {
|
|
|
|
visibility: hidden;
|
2018-03-08 16:10:53 +00:00
|
|
|
// &:after {
|
|
|
|
// content: ''
|
|
|
|
// }
|
2018-02-20 09:30:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.device {
|
|
|
|
.device-menu {
|
|
|
|
padding-right: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-29 09:31:45 +00:00
|
|
|
|
|
|
|
|
2018-02-20 09:30:36 +00:00
|
|
|
.sticky-container {
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
width: 320px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
|
|
|
border-right: 1px solid @color_divider;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.fixed-bottom {
|
|
|
|
padding-bottom: 60px; // height of .help
|
|
|
|
.help {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
background: @color_main;
|
|
|
|
border-right: 1px solid @color_divider;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.transition-container {
|
|
|
|
width: 640px;
|
|
|
|
|
|
|
|
section {
|
|
|
|
width: 320px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-29 09:31:45 +00:00
|
|
|
.trezor-webusb-button {
|
|
|
|
margin: 12px 0px 12px 80px;
|
|
|
|
}
|
|
|
|
|
2018-04-11 10:06:46 +00:00
|
|
|
|
|
|
|
|
2018-03-29 09:31:45 +00:00
|
|
|
.device-select {
|
|
|
|
background: @color_white;
|
|
|
|
border-bottom: 1px solid @color_divider;
|
|
|
|
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.arrow {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin-right: 28px;
|
|
|
|
&:after {
|
|
|
|
.icomoon-arrow-down;
|
|
|
|
transition: transform 0.3s, color 0.3s;
|
|
|
|
color: @color_text_secondary;
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.arrow:after {
|
|
|
|
color: @color_text_primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
.arrow:after {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
cursor: initial;
|
|
|
|
.arrow {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-menu {
|
|
|
|
padding-right: 26px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-20 09:30:36 +00:00
|
|
|
.device {
|
|
|
|
position: relative;
|
2018-03-29 09:31:45 +00:00
|
|
|
height: 64px;
|
|
|
|
width: 320px;
|
2018-02-20 09:30:36 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding-left: 80px;
|
|
|
|
|
|
|
|
&.item {
|
|
|
|
padding-right: 24px;
|
|
|
|
cursor: pointer;
|
|
|
|
.hover();
|
|
|
|
&:hover {
|
|
|
|
background: @color_gray_light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 13px;
|
|
|
|
height: 25px;
|
|
|
|
z-index: 2;
|
|
|
|
left: 33px;
|
|
|
|
top: 17px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: 13px 25px;
|
2018-03-29 09:31:45 +00:00
|
|
|
background-image: url('../images/trezor-1.png');
|
|
|
|
}
|
|
|
|
|
|
|
|
&.trezor-t {
|
|
|
|
&:before {
|
|
|
|
width: 17px;
|
|
|
|
left: 31px;
|
|
|
|
background-size: 17px 25px;
|
|
|
|
background-image: url('../images/trezor-T.png');
|
|
|
|
}
|
2018-02-20 09:30:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.label-container {
|
|
|
|
flex: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
&.label {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 14px;
|
|
|
|
color: @color_text_primary;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.status {
|
|
|
|
font-size: 12px;
|
|
|
|
color: @color_text_secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-menu {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
2018-03-29 09:31:45 +00:00
|
|
|
padding-right: 4px;
|
2018-02-20 09:30:36 +00:00
|
|
|
padding-left: 4px;
|
|
|
|
|
|
|
|
div {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.forget,
|
|
|
|
.settings,
|
|
|
|
.acquire {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
.icomoon-refresh;
|
|
|
|
color: @color_text_secondary;
|
|
|
|
position: relative;
|
|
|
|
font-size: 24px;
|
|
|
|
.hover();
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&:before {
|
|
|
|
color: @color_text_primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.forget {
|
|
|
|
&:before {
|
|
|
|
.icomoon-eject;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.settings {
|
|
|
|
&:before {
|
|
|
|
.icomoon-settings;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2018-04-11 10:06:46 +00:00
|
|
|
.device-menu {
|
|
|
|
padding: 8px 0px;
|
|
|
|
// padding-left: 80px;
|
|
|
|
padding-left: 74px;
|
|
|
|
border-bottom: 1px solid @color_divider;
|
|
|
|
|
|
|
|
div {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
line-height: 24px;
|
|
|
|
cursor: pointer;
|
|
|
|
color: @color_text_secondary;
|
|
|
|
.hover();
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
.icomoon-refresh;
|
|
|
|
// color: @color_text_secondary;
|
|
|
|
position: relative;
|
|
|
|
font-size: 24px;
|
|
|
|
margin-right: 12px;
|
|
|
|
.hover();
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @color_text_primary;
|
|
|
|
// &:before {
|
|
|
|
// color: @color_text_primary;
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
|
|
|
|
&.forget {
|
|
|
|
&:before {
|
|
|
|
.icomoon-eject;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.clone {
|
|
|
|
&:before {
|
|
|
|
.icomoon-settings;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.settings {
|
|
|
|
&:before {
|
|
|
|
.icomoon-settings;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-20 09:30:36 +00:00
|
|
|
a {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 16px 0 16px 30px;
|
|
|
|
white-space: nowrap;
|
|
|
|
color: @color_text_primary;
|
|
|
|
height: 50px;
|
|
|
|
|
2018-03-08 16:10:53 +00:00
|
|
|
transition: background-color 0.3s, color 0.3s;
|
2018-02-20 09:30:36 +00:00
|
|
|
|
|
|
|
&:hover {
|
2018-03-08 16:10:53 +00:00
|
|
|
background-color: @color_gray_light;
|
2018-02-20 09:30:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.account {
|
|
|
|
height: 64px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
font-size: 14px;
|
|
|
|
border-top: 1px solid @color_divider;
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
color: @color_text_secondary;
|
|
|
|
}
|
|
|
|
|
2018-03-08 16:10:53 +00:00
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
width: 0px;
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background: @color_green_primary;
|
|
|
|
transition: width 0.3s;
|
|
|
|
}
|
2018-02-20 09:30:36 +00:00
|
|
|
|
2018-03-08 16:10:53 +00:00
|
|
|
&.selected {
|
2018-02-20 09:30:36 +00:00
|
|
|
background: @color_white;
|
2018-03-08 16:10:53 +00:00
|
|
|
//border-left: 3px solid @color_green_primary;
|
|
|
|
//border-bottom: 1px solid @color_divider;
|
|
|
|
//padding-left: 27px;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
width: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: @color_white;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
// border-bottom: 1px solid @color_divider;
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
width: 100%;
|
|
|
|
height: 1px;
|
|
|
|
line-height: 1px;
|
|
|
|
background-color: @color_divider;
|
|
|
|
}
|
|
|
|
}
|
2018-02-20 09:30:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-08 16:10:53 +00:00
|
|
|
|
|
|
|
|
2018-02-20 09:30:36 +00:00
|
|
|
&.coin {
|
|
|
|
padding-left: 80px;
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
left: 30px;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
margin: auto 0;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: 20px 20px;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.external {
|
|
|
|
&:after {
|
|
|
|
.icomoon-redirect;
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
right: 23px;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
margin: auto 0;
|
|
|
|
font-size: 30px;
|
|
|
|
color: @color_text_secondary;
|
|
|
|
.hover();
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:after {
|
|
|
|
color: @color_text_primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.back {
|
|
|
|
padding-left: 100px;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
left: 76px;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
margin: auto 0;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: 20px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
.icomoon-arrow-left;
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
left: 24px;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
margin: auto 0;
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-08 16:10:53 +00:00
|
|
|
&.ropsten:before,
|
2018-04-11 10:06:46 +00:00
|
|
|
&.ethereum:before {
|
2018-02-20 09:30:36 +00:00
|
|
|
background-image: url('../images/eth-logo.png');
|
|
|
|
background-size: auto 20px;
|
|
|
|
}
|
2018-03-08 16:10:53 +00:00
|
|
|
&.rinkeby:before,
|
2018-04-11 10:06:46 +00:00
|
|
|
&.ethereum-classic:before {
|
2018-02-20 09:30:36 +00:00
|
|
|
background-image: url('../images/etc-logo.png');
|
|
|
|
background-size: auto 20px;
|
|
|
|
}
|
|
|
|
&.btc:before {
|
|
|
|
background-image: url('../images/btc-logo.png');
|
|
|
|
}
|
|
|
|
&.bch:before {
|
|
|
|
background-image: url('../images/bch-logo.png');
|
|
|
|
}
|
|
|
|
&.btg:before {
|
|
|
|
background-image: url('../images/btg-logo.png');
|
|
|
|
}
|
|
|
|
&.ltc:before {
|
|
|
|
background-image: url('../images/ltc-logo.png');
|
|
|
|
}
|
|
|
|
&.dash:before {
|
|
|
|
background-image: url('../images/dash-logo.png');
|
|
|
|
}
|
|
|
|
&.zec:before {
|
|
|
|
background-image: url('../images/zec-logo.png');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.coin-divider {
|
|
|
|
font-size: 12px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
color: @color_text_secondary;
|
|
|
|
background: @color_gray_light;
|
|
|
|
padding: 8px 30px 8px 31px;
|
|
|
|
border-top: 1px solid @color_divider;
|
|
|
|
border-bottom: 1px solid @color_divider;
|
|
|
|
span {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.help {
|
|
|
|
width: 320px;
|
|
|
|
padding: 14px 0px;
|
|
|
|
text-align: center;
|
|
|
|
border-top: 1px solid @color_divider;
|
|
|
|
|
|
|
|
&.fixed {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: @color_text_secondary;
|
|
|
|
font-size: 12px;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 8px;
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
.icomoon-chat;
|
|
|
|
font-size: 32px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: -26px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: transparent;
|
|
|
|
color: @color_text_primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.add-address {
|
|
|
|
position: relative;
|
2018-03-08 16:10:53 +00:00
|
|
|
padding: 8px 0 8px 20px;
|
2018-02-20 09:30:36 +00:00
|
|
|
cursor: pointer;
|
|
|
|
color: @color_text_secondary;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
.icomoon-plus;
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hover();
|
|
|
|
&:hover {
|
|
|
|
color: @color_text_primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.discovery-status {
|
|
|
|
height: 64px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 16px 0 16px 30px;
|
|
|
|
white-space: nowrap;
|
|
|
|
border-top: 1px solid @color_divider;
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
font-size: 12px;
|
|
|
|
color: @color_text_secondary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.discovery-loading {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
font-size: 14px;
|
2018-03-08 16:10:53 +00:00
|
|
|
padding: 8px 0 8px 22px;
|
2018-02-20 09:30:36 +00:00
|
|
|
white-space: nowrap;
|
2018-03-08 16:10:53 +00:00
|
|
|
color: @color_text_secondary;
|
|
|
|
//border-top: 1px solid @color_divider;
|
2018-02-20 09:30:36 +00:00
|
|
|
.loader-circle {
|
2018-03-08 16:10:53 +00:00
|
|
|
margin-right: 14px;
|
2018-02-20 09:30:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// menu trasitions
|
|
|
|
|
|
|
|
@slide_transition_time: 300ms;
|
|
|
|
|
|
|
|
.slide-left-enter {
|
|
|
|
transform: translate(100%);
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.slide-left-enter.slide-left-enter-active {
|
|
|
|
transform: translate(0%);
|
|
|
|
transition: transform @slide_transition_time ease-in-out;
|
|
|
|
}
|
|
|
|
.slide-left-exit {
|
|
|
|
transform: translate(-100%);
|
|
|
|
}
|
|
|
|
.slide-left-exit.slide-left-exit-active {
|
|
|
|
transform: translate(0%);
|
|
|
|
transition: transform @slide_transition_time ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
.slide-right-enter {
|
|
|
|
transform: translate(-100%);
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
.slide-right-enter.slide-right-enter-active {
|
|
|
|
transform: translate(0%);
|
|
|
|
transition: transform @slide_transition_time ease-in-out;
|
|
|
|
}
|
|
|
|
.slide-right-exit {
|
|
|
|
transform: translate(-100%);
|
|
|
|
}
|
|
|
|
.slide-right-exit.slide-right-exit-active {
|
|
|
|
transform: translate(-200%);
|
|
|
|
transition: transform @slide_transition_time ease-in-out;
|
|
|
|
}
|
|
|
|
}
|