1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 08:09:15 +01:00
metamask-extension/ui/components/multichain/app-header/app-header.scss
Nidhi Kumari f11596710c
UX Multichain: Updated header to use picker network in popup view (#19514)
* updated avatar network to use picker network in popup view

* removed unused locale

* fixed the extra gap

* fixed css

* fixed lint error

* updated aria label
2023-06-09 21:30:11 +05:30

102 lines
1.6 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;
}
.custody-logo {
@media screen and (max-width: $break-small) {
display: none;
}
&--icon {
height: 35px;
margin-left: 10px;
}
}
.app-header__metafox-logo {
&--icon {
height: 32px;
@include screen-sm-min {
display: none;
}
}
&--horizontal {
@include screen-sm-max {
display: none;
}
}
}