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

212 lines
3.5 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 {
color: #5B5D67;
font-family: Roboto;
font-size: 22px;
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;
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;
flex: 1 0 auto;
2017-10-25 18:01:58 +02:00
}
&__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
}
2018-06-11 23:28:57 +02:00
&__help-link {
cursor: pointer;
text-decoration: underline;
color: $curious-blue;
}
2017-10-25 18:01:58 +02:00
&__footer {
width: 100%;
display: flex;
align-items: center;
2018-03-26 07:19:42 +02:00
justify-content: center;
2017-10-25 18:01:58 +02:00
font-size: 22px;
position: relative;
2017-10-26 03:05:52 +02:00
flex: 0 0 auto;
border-top: 1px solid $geyser;
2018-03-26 07:19:42 +02:00
padding: 1.6rem;
2017-10-25 18:01:58 +02:00
2018-03-26 07:19:42 +02:00
button {
width: 165px;
2017-10-25 18:01:58 +02:00
}
&__cancel-button {
2018-03-26 07:19:42 +02:00
margin-right: 1.2rem;
2017-10-25 18:01:58 +02:00
}
}
2018-03-26 07:19:42 +02:00
}