1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 12:47:14 +01:00
metamask-extension/ui/components/app/signature-request-original/index.scss

254 lines
3.8 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);
2017-10-25 18:01:58 +02:00
display: flex;
flex-flow: column nowrap;
z-index: 25;
align-items: center;
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) {
height: 620px;
2017-10-26 03:05:52 +02:00
}
2017-10-25 18:01:58 +02:00
}
2018-09-10 23:11:57 +02:00
&__typed-container {
padding: 17px;
h1 {
font-weight: 900;
margin-bottom: 5px;
}
* {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
> div {
margin-bottom: 10px;
}
}
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 {
@include H3;
color: #5b5d67;
2017-10-25 18:01:58 +02:00
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 {
@include H6;
2017-10-25 18:01:58 +02:00
}
&__account-item {
@include H7;
height: 22px;
background-color: $white;
width: 124px;
.account-list-item {
margin-top: 6px;
}
.account-list-item__account-name {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
width: 80px;
}
.account-list-item__top-row {
margin: 0;
}
}
2017-10-25 18:01:58 +02:00
&__balance {
color: $dusty-gray;
margin-right: 17px;
width: 124px;
}
&__balance-text {
@include H6;
2017-10-25 18:01:58 +02:00
text-align: right;
}
&__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
}
&__origin-row {
@include Paragraph;
2017-10-25 18:01:58 +02:00
display: flex;
margin: 0 15px;
2017-10-25 18:01:58 +02:00
}
&__origin-label {
flex-grow: 1;
margin-right: 5px;
}
&__origin {
margin-left: 5px;
overflow: hidden;
text-overflow: ellipsis;
2017-10-25 18:01:58 +02:00
}
2017-10-26 18:59:22 +02:00
&__notice,
&__warning {
@include H6;
2017-10-25 18:01:58 +02:00
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 {
@include H5;
2017-10-25 18:01:58 +02:00
width: 80px;
color: $dusty-gray;
margin-top: 12px;
margin-left: 18px;
width: 100%;
}
&__row-value {
@include H6;
2017-10-25 18:01:58 +02:00
color: $scorpion;
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;
2018-06-20 06:51:21 +02:00
white-space: pre-line;
2017-10-25 18:01:58 +02:00
}
2018-06-11 23:28:57 +02:00
&__help-link {
cursor: pointer;
text-decoration: underline;
color: $primary-blue;
2018-06-11 23:28:57 +02:00
}
2017-10-25 18:01:58 +02:00
&__footer {
@include H3;
2017-10-25 18:01:58 +02:00
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
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
}