1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00
metamask-extension/ui/components/multichain/app-header/app-header.scss
Albert Olivé a8716db694
[MMI] Fix wrong custody logo location (#20072)
* Added missing styles

* updated snapshots

* fixed snapshot

* updated snapshot
2023-07-18 15:58:33 +02:00

116 lines
1.8 KiB
SCSS

.multichain-app-header {
$height-screen-sm-max: 100%;
$width-screen-sm-min: 85vw;
$width-screen-md-min: 80vw;
$width-screen-lg-min: 62vw;
flex-flow: column nowrap;
z-index: 55;
min-height: 64px;
&__contents {
display: grid;
grid-template-columns: 1fr 2fr 1fr;
height: 64px;
@include screen-sm-max {
height: $height-screen-sm-max;
}
@include screen-sm-min {
width: $width-screen-sm-min;
}
@include screen-md-min {
width: $width-screen-md-min;
}
@include screen-lg-min {
width: $width-screen-lg-min;
}
&__network-picker {
max-width: 250px;
}
&--avatar-network p {
display: none;
}
&__container {
width: fit-content;
}
}
&__lock-contents {
flex-flow: row nowrap;
height: 64px;
@include screen-sm-max {
height: $height-screen-sm-max;
}
@include screen-sm-min {
width: $width-screen-sm-min;
}
@include screen-md-min {
width: $width-screen-md-min;
}
@include screen-lg-min {
width: $width-screen-lg-min;
}
}
}
.multichain-app-header-shadow {
box-shadow: var(--shadow-size-md) var(--color-shadow-default);
}
.multichain-app-header-logo {
height: 75px;
flex: 0 0 auto;
}
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
.custody-logo {
@media screen and (max-width: $break-small) {
display: none;
}
&--icon {
height: 35px;
margin-left: 10px;
}
}
.app-header__custody-logo {
&--icon {
height: 16px;
margin-left: 15px;
margin-top: 4px;
@media screen and (min-width: $break-large) {
display: none;
}
}
}
///: END:ONLY_INCLUDE_IN
.app-header__metafox-logo {
&--icon {
height: 32px;
@include screen-sm-min {
display: none;
}
}
&--horizontal {
@include screen-sm-max {
display: none;
}
}
}