1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 04:37:13 +01:00
metamask-extension/ui/pages/confirmation/confirmation.scss

73 lines
1.5 KiB
SCSS
Raw Normal View History

2021-02-22 17:20:42 +01:00
@import 'components/confirmation-footer/confirmation-footer';
@import 'components/confirmation-network-switch/index';
@import 'templates/flask/snap-confirm/index';
2021-02-22 17:20:42 +01:00
.confirmation-page {
width: 100%;
height: 100%;
position: relative;
2022-03-18 22:10:20 +01:00
background: var(--color-background-default);
2021-02-22 17:20:42 +01:00
display: grid;
flex-direction: column;
grid-template-columns: 1fr;
grid-template-rows: auto 1fr auto;
grid-template-areas:
'navigation'
'content'
'footer';
a {
2022-03-18 22:10:20 +01:00
color: var(--color-primary-default);
2021-02-22 17:20:42 +01:00
}
&__content {
grid-area: content;
min-width: 0;
2021-02-22 17:20:42 +01:00
& > :last-child {
margin-bottom: 16px;
}
}
&__navigation {
@include H7;
grid-area: navigation;
2022-03-18 22:10:20 +01:00
background-color: var(--color-background-alternative);
border-bottom: 1px solid var(--color-border-muted);
2021-02-22 17:20:42 +01:00
padding: 6px 16px 5px 16px;
2022-03-18 22:10:20 +01:00
color: var(--color-text-alternative);
2021-02-22 17:20:42 +01:00
display: grid;
grid-template-columns: 1fr minmax(0, auto) minmax(0, auto);
align-items: center;
}
&__navigation-button {
2022-03-18 22:10:20 +01:00
background-color: var(--color-background-default);
2021-02-22 17:20:42 +01:00
border-radius: 100px;
2022-03-18 22:10:20 +01:00
color: var(--color-text-alternative);
2021-02-22 17:20:42 +01:00
font-size: $font-size-h6;
height: 20px;
width: 20px;
padding: 0;
&:disabled {
cursor: not-allowed;
2022-03-18 22:10:20 +01:00
background-color: var(--color-background-alternative);
color: var(--color-text-muted);
2021-02-22 17:20:42 +01:00
}
}
&__navigation &__navigation-button:last-child {
margin-left: 8px;
}
.chip {
max-width: 100%;
&__label {
word-break: break-all;
}
}
2021-02-22 17:20:42 +01:00
}