mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
111 lines
1.9 KiB
SCSS
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);
|
|
}
|
|
}
|
|
}
|