1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-05 15:35:46 +01:00
metamask-extension/ui/components/app/app-header/index.scss
2022-08-04 09:03:02 -05:00

111 lines
1.9 KiB
SCSS

.app-header {
align-items: center;
background: var(--color-background-alternative);
position: relative;
z-index: $header-z-index;
display: flex;
flex-flow: column nowrap;
width: 100%;
flex: 0 0 auto;
@include screen-sm-max {
padding: 1rem;
z-index: $mobile-header-z-index;
}
@include screen-sm-min {
height: 75px;
justify-content: center;
}
&__metafox-logo {
&--icon {
height: 32px;
@include screen-sm-min {
display: none;
}
}
&--horizontal {
@include screen-sm-max {
display: none;
}
}
}
&__contents {
display: flex;
flex-flow: row nowrap;
width: 100%;
@include screen-sm-max {
height: 100%;
}
@include screen-sm-min {
width: 85vw;
}
@include screen-md-min {
width: 80vw;
}
@include screen-lg-min {
width: 62vw;
}
}
&__logo-container {
display: flex;
flex-direction: row;
align-items: center;
flex: 0 0 auto;
margin-right: 1rem;
&--clickable {
cursor: pointer;
}
}
&__account-menu-container {
display: flex;
flex-flow: row nowrap;
align-items: center;
flex: 1 1 auto;
width: 0;
flex-flow: row nowrap;
justify-content: flex-end;
}
&__network-component-wrapper {
display: flex;
flex-direction: row;
align-items: center;
flex: 1 0 auto;
width: 0;
justify-content: flex-end;
}
.account-menu__icon {
position: relative;
border: 0;
background: none;
&__notification-count {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
right: 0;
bottom: 0;
min-width: 16px;
min-height: 16px;
font-size: 10px;
border-radius: 50%;
background-color: var(--color-primary-default);
color: var(--color-primary-inverse);
}
}
}