1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-15 12:59:09 +00:00
trezor-wallet/src/styles/landingPage.less

312 lines
7.3 KiB
Plaintext
Raw Normal View History

2018-02-20 09:30:36 +00:00
.app {
2018-03-27 15:12:58 +00:00
&.landing {
2018-02-20 09:30:36 +00:00
//min-height: 100vh;
// overflow: hidden;
background: @color_landing;
2018-03-27 15:12:58 +00:00
.notification {
min-width: 100%;
padding: 24px 0px;
.notification-body {
max-width: 1170px;
margin: 0px auto;
padding: 0px 32px 0px 64px;
position: relative;
}
h2:before {
top: -7px;
left: 24px;
}
}
2018-02-20 09:30:36 +00:00
main {
flex-direction: column;
text-align: center;
padding-top: 65px;
margin-top: 0px;
2018-03-08 16:10:53 +00:00
background: @color_landing;
2018-03-27 15:12:58 +00:00
}
footer {
border: 0px;
justify-content: center;
width: 100%;
max-width: 1170px;
margin: 0px auto;
}
}
&.browser-not-supported {
main {
padding-top: 0px;
justify-content: center;
width: auto;
p {
padding: 24px 0px;
color: @color_text_secondary;
}
}
.row {
display: flex;
flex-direction: row;
justify-content: space-between;
div {
&:before {
content: '';
width: 43px;
height: 43px;
display: block;
margin: 0 auto;
}
p {
font-size: 12px;
padding: 12px 0px;
}
a {
display: block;
}
&.chrome {
&:before {
background-image: url('../images/browser-chrome.png');
}
}
&.firefox {
&:before {
background-image: url('../images/browser-firefox.png');
}
}
}
}
}
&.install-bridge {
main {
padding-top: 0px;
justify-content: center;
max-width: 500px;
p {
color: @color_text_secondary;
font-size: 16px;
line-height: 1.6;
}
}
.Select {
flex: 1;
height: 34px;
margin-right: 4px;
.Select-control {
height: 34px;
border: 1px solid @color_divider;
border-radius: 0px 2px 2px 0px;
background: @color_white;
}
.Select-option {
.hover();
&.is-focused {
background: @color_gray_light;
}
&.is-selected {
background: @color_divider;
}
}
}
.claim {
font-size: 36px;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 24px;
span {
color: @color_green_primary;
padding: 6px 10px;
border: 1px solid @color_green_primary;
border-radius: 3px;
font-size: 14px;
font-weight: 300;
margin-left: 24px;
}
}
.row {
display: flex;
flex-direction: row;
justify-content: space-around;
padding: 24px 0px;
.button {
padding: 0px 24px;
height: 34px;
line-height: 34px;
text-align: left;
&:before {
.icomoon-download;
position: relative;
top: 5px;
margin-right: 10px;
}
}
}
.installers {
width: 120px;
text-align: left;
}
}
&.connect-device {
main {
2018-02-20 09:30:36 +00:00
h2.claim {
font-size: 36px;
padding-bottom: 24px;
}
.row {
display: flex;
flex-direction: row;
2018-03-27 15:12:58 +00:00
justify-content: space-between;
2018-02-20 09:30:36 +00:00
padding: 36px 0px;
margin: 0 auto;
// width: 420px;
2018-02-20 09:30:36 +00:00
p {
// flex: 1;
align-self: center;
}
// a {
// color: @color_green_primary;
// text-decoration: underline;
// font-weight: 500;
// .hover();
// &:hover {
// text-decoration: none;
// color: @color_green_secondary;
// }
// }
.webusb-and,
.trezor-webusb-button {
display: none;
}
&.webusb {
width: 400px;
.webusb-and,
.trezor-webusb-button {
display: block;
}
}
2018-02-20 09:30:36 +00:00
}
p {
color: @color_text_secondary;
line-height: 1.8;
&.connect {
color: @color_green_primary;
font-size: 16px;
font-weight: 500;
span {
position: relative;
top: 1px;
animation: pulsate 1.3s ease-out infinite;
position: relative;
svg {
position: absolute;
top: -8px;
left: -24px;
}
}
}
}
.image {
2018-03-08 16:10:53 +00:00
position: relative;
2018-02-20 09:30:36 +00:00
width: 100%;
height: calc(100vh - 143px);
min-height: 500px;
flex: 1;
background-image: url('../images/case.png');
background-repeat: no-repeat;
background-position: center 0px;
background-size: contain;
2018-03-08 16:10:53 +00:00
p {
position: absolute;
bottom: 32px;
left: 0;
right: 0;
margin: 0px auto;
2018-03-27 15:12:58 +00:00
span {
display: block;
}
2018-03-08 16:10:53 +00:00
}
2018-02-20 09:30:36 +00:00
}
img {
width: 90%;
height: auto;
margin: auto;
}
}
.connect-usb-pin,
.connect-usb-cable {
animation: connect 1.3s ease-out infinite;
}
2018-03-27 15:12:58 +00:00
2018-03-29 09:31:45 +00:00
2018-02-20 09:30:36 +00:00
}
}
.landing {
text-align: center;
position: relative;
min-height: 100vh;
background: @color_landing;
.loader-circle {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
}
@keyframes pulsate {
0%, 100% {
opacity: 0.5;
}
50% {
opacity: 1.0;
}
}
@keyframes connect {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-4px)
}
}