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

136 lines
2.2 KiB
SCSS
Raw Normal View History

2017-10-25 18:01:58 +02:00
.request-signature {
&__container {
width: 380px;
border-radius: 8px;
background-color: var(--color-background-default);
box-shadow: var(--shadow-size-xs) var(--color-shadow-default);
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%;
margin-left: auto;
margin-right: auto;
2017-10-25 18:01:58 +02:00
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
2017-10-25 18:01:58 +02:00
width: 100%;
top: 0;
box-shadow: none;
}
2017-10-26 03:05:52 +02:00
2022-08-04 16:03:02 +02:00
@include screen-sm-min {
height: 620px;
2017-10-26 03:05:52 +02:00
}
&__reject {
padding-bottom: 20px;
}
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;
}
}
&__content__title {
@include H3;
2017-10-25 18:01:58 +02:00
display: flex;
justify-content: center;
color: var(--color-default-text);
z-index: 3;
2017-10-25 18:01:58 +02:00
}
&__account {
width: 100%;
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;
2017-10-25 18:01:58 +02:00
}
&__origin {
display: flex;
justify-content: center;
margin-top: 16px;
margin-bottom: 16px;
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;
margin-top: 21px;
2017-10-25 18:01:58 +02:00
margin-bottom: 11px;
width: 100%;
}
2017-10-26 18:59:22 +02:00
&__notice {
2022-03-21 14:35:23 +01:00
color: var(--color-text-alternative);
padding: 0 10px;
2017-10-26 18:59:22 +02:00
}
2017-10-25 18:01:58 +02:00
&__rows {
2017-10-26 02:28:56 +02:00
height: 100%;
overflow-y: auto;
2017-10-25 18:01:58 +02:00
overflow-x: hidden;
2022-03-21 14:35:23 +01:00
border-top: 1px solid var(--color-border-default);
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;
2022-03-21 14:35:23 +01:00
color: var(--color-text-alternative);
2017-10-25 18:01:58 +02:00
margin-top: 12px;
margin-left: 18px;
width: 100%;
}
&__row-value {
@include H6;
2022-03-21 14:35:23 +01:00
color: var(--color-text-alternative);
2017-10-26 03:05:52 +02:00
width: 100%;
2017-10-26 02:28:56 +02:00
overflow-wrap: break-word;
2022-03-21 14:35:23 +01:00
border-bottom: 1px solid var(--color-border-default);
2017-10-26 03:05:52 +02:00
padding: 6px 18px 15px;
white-space: pre-wrap;
2017-10-25 18:01:58 +02:00
}
2018-06-11 23:28:57 +02:00
&__help-link {
cursor: pointer;
text-decoration: underline;
color: var(--color-primary-default);
margin-inline-start: 3px;
2018-06-11 23:28:57 +02:00
}
2018-03-26 07:19:42 +02:00
}