1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-27 21:00:13 +01:00
metamask-extension/ui/app/css/itcss/components/request-signature.scss

230 lines
3.9 KiB
SCSS
Raw Normal View History

2017-10-25 18:01:58 +02:00
.request-signature {
&__container {
width: 380px;
border-radius: 8px;
background-color: $white;
box-shadow: 0 2px 4px 0 rgba(0,0,0,0.08);
display: flex;
flex-flow: column nowrap;
z-index: 25;
align-items: center;
font-family: Roboto;
position: relative;
2017-10-26 02:28:56 +02:00
height: 100%;
2017-10-25 18:01:58 +02:00
@media screen and (max-width: $break-small) {
width: 100%;
top: 0;
box-shadow: none;
}
2017-10-26 03:05:52 +02:00
@media screen and (min-width: $break-large) {
max-height: 620px;
}
2017-10-25 18:01:58 +02:00
}
&__header {
height: 64px;
width: 100%;
position: relative;
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
2017-10-26 03:05:52 +02:00
flex: 0 0 auto;
2017-10-25 18:01:58 +02:00
}
&__header-background {
position: absolute;
background-color: $athens-grey;
z-index: 2;
width: 100%;
height: 100%;
}
&__header__text {
height: 29px;
width: 179px;
color: #5B5D67;
font-family: Roboto;
font-size: 22px;
font-weight: 300;
line-height: 29px;
z-index: 3;
}
&__header__tip-container {
width: 100%;
display: flex;
justify-content: center;
}
&__header__tip {
height: 25px;
width: 25px;
background: $athens-grey;
transform: rotate(45deg);
position: absolute;
bottom: -8px;
z-index: 1;
}
&__account-info {
display: flex;
justify-content: space-between;
margin-top: 18px;
2017-10-26 02:28:56 +02:00
margin-bottom: 20px;
2017-10-25 18:01:58 +02:00
}
&__account {
color: $dusty-gray;
margin-left: 17px;
}
&__account-text {
font-size: 14px;
}
&__balance {
color: $dusty-gray;
margin-right: 17px;
width: 124px;
}
&__balance-text {
text-align: right;
font-size: 14px;
}
&__balance-value {
text-align: right;
margin-top: 2.5px;
}
&__request-icon {
2017-10-26 02:28:56 +02:00
margin-top: 25px;
2017-10-25 18:01:58 +02:00
}
&__body {
width: 100%;
2017-10-26 02:28:56 +02:00
height: 100%;
display: flex;
flex-flow: column;
2017-10-26 03:05:52 +02:00
flex: 1 1 auto;
height: 0;
2017-10-25 18:01:58 +02:00
}
&__request-info {
display: flex;
justify-content: center;
}
&__headline {
height: 48px;
width: 240px;
color: $tundora;
font-family: Roboto;
font-size: 18px;
font-weight: 300;
line-height: 24px;
text-align: center;
margin-top: 20px;
}
2017-10-26 18:59:22 +02:00
&__notice,
&__warning {
2017-10-25 18:01:58 +02:00
font-family: "Avenir Next";
font-size: 14px;
line-height: 19px;
text-align: center;
2017-10-26 02:28:56 +02:00
margin-top: 41px;
2017-10-25 18:01:58 +02:00
margin-bottom: 11px;
width: 100%;
}
2017-10-26 18:59:22 +02:00
&__notice {
color: $dusty-gray;
}
&__warning {
color: $crimson;
}
2017-10-25 18:01:58 +02:00
&__rows {
2017-10-26 02:28:56 +02:00
height: 100%;
2017-10-25 18:01:58 +02:00
overflow-y: scroll;
overflow-x: hidden;
border-top: 1px solid $geyser;
2017-10-26 02:28:56 +02:00
display: flex;
flex-flow: column;
2017-10-25 18:01:58 +02:00
}
&__row {
display: flex;
flex-flow: column;
}
&__row-title {
width: 80px;
color: $dusty-gray;
font-family: Roboto;
font-size: 16px;
line-height: 22px;
margin-top: 12px;
margin-left: 18px;
width: 100%;
}
&__row-value {
color: $scorpion;
font-family: Roboto;
font-size: 14px;
line-height: 19px;
2017-10-26 03:05:52 +02:00
width: 100%;
2017-10-26 02:28:56 +02:00
overflow-wrap: break-word;
2017-10-26 03:05:52 +02:00
border-bottom: 1px solid #d2d8dd;
padding: 6px 18px 15px;
2017-10-25 18:01:58 +02:00
}
&__footer {
width: 100%;
display: flex;
align-items: center;
justify-content: space-evenly;
font-size: 22px;
position: relative;
2017-10-26 03:05:52 +02:00
flex: 0 0 auto;
border-top: 1px solid $geyser;
2017-10-25 18:01:58 +02:00
&__cancel-button,
&__sign-button {
display: flex;
align-items: center;
justify-content: center;
flex: 1 0 auto;
font-family: Roboto;
font-size: 16px;
font-weight: 300;
height: 55px;
line-height: 32px;
cursor: pointer;
border-radius: 2px;
box-shadow: none;
max-width: 162px;
2017-10-26 03:05:52 +02:00
margin: 12px;
2017-10-25 18:01:58 +02:00
}
&__cancel-button {
background: none;
border: 1px solid $dusty-gray;
2017-10-26 03:05:52 +02:00
margin-right: 6px;
2017-10-25 18:01:58 +02:00
}
&__sign-button {
background-color: $caribbean-green;
border-width: 0;
color: $white;
2017-10-26 03:05:52 +02:00
margin-left: 6px;
2017-10-25 18:01:58 +02:00
}
}
}