mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 16:18:07 +01:00
73 lines
1.4 KiB
SCSS
73 lines
1.4 KiB
SCSS
/*
|
|
Trumps
|
|
*/
|
|
|
|
// Transitions
|
|
|
|
/* universal */
|
|
.app-primary .main-enter {
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
/* center position */
|
|
.app-primary.from-right .main-enter-active,
|
|
.app-primary.from-left .main-enter-active {
|
|
overflow-x: hidden;
|
|
transform: translateX(0);
|
|
transition: transform 300ms ease-in;
|
|
}
|
|
|
|
/* exited positions */
|
|
.app-primary.from-left .main-leave-active {
|
|
transform: translateX(360px);
|
|
transition: transform 300ms ease-in;
|
|
}
|
|
|
|
.app-primary.from-right .main-leave-active {
|
|
transform: translateX(-360px);
|
|
transition: transform 300ms ease-in;
|
|
}
|
|
|
|
.sidebar.from-left {
|
|
transform: translateX(-320px);
|
|
transition: transform 300ms ease-in;
|
|
}
|
|
|
|
/* loader transitions */
|
|
.loader-enter,
|
|
.loader-leave-active {
|
|
opacity: 0;
|
|
transition: opacity 150 ease-in;
|
|
}
|
|
|
|
.loader-enter-active,
|
|
.loader-leave {
|
|
opacity: 1;
|
|
transition: opacity 150 ease-in;
|
|
}
|
|
|
|
/* entering positions */
|
|
.app-primary.from-right .main-enter:not(.main-enter-active) {
|
|
transform: translateX(360px);
|
|
}
|
|
|
|
.app-primary.from-left .main-enter:not(.main-enter-active) {
|
|
transform: translateX(-360px);
|
|
}
|
|
|
|
i.fa.fa-question-circle.fa-lg.menu-icon {
|
|
font-size: 18px;
|
|
}
|
|
|
|
// This text is contained inside a div.
|
|
// ID needed to override user agent stylesheet.
|
|
// See components/modal.scss
|
|
|
|
/* stylelint-disable */
|
|
#buy-modal-content-footer-text {
|
|
font-family: 'DIN OT';
|
|
font-size: 16px;
|
|
}
|
|
/* stylelint-enable */
|