MyCrypto/common/components/AlphaAgreement/index.scss

83 lines
1.4 KiB
SCSS

@import "common/sass/variables";
.AlphaAgreement {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: $brand-warning;
overflow: auto;
z-index: 10000;
&-content {
max-width: 520px;
padding: 20px;
margin: 0 auto;
color: #fff;
text-shadow: 1px 1px 1px rgba(#000, 0.12);
overflow: auto;
h2 {
font-size: 42px;
margin-bottom: 20px;
}
p {
font-size: 20px;
margin-bottom: 15px;
}
&-buttons {
padding-top: 20px;
&-btn {
display: block;
width: 100%;
max-width: 240px;
margin: 0 auto;
border: none;
padding: 0;
outline: none;
&.is-reject {
height: 60px;
line-height: 60px;
font-size: 22px;
background: rgba(#fff, 0.96);
color: $gray;
border-radius: 4px;
margin-bottom: 20px;
&:hover {
background: #fff;
}
}
&.is-continue {
background: none;
color: #fff;
&:hover {
text-decoration: underline;
}
}
}
}
}
// Fade out
&.is-fading {
pointer-events: none;
opacity: 0;
background: #fff;
transition: all 500ms ease 400ms;
.AlphaAgreement-content {
opacity: 0;
transform: translateY(15px);
transition: all 500ms ease;
}
}
}