1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/components/app/app-header/index.scss
Albert Olivé 26f0cbe293
[MMI] Adds custodian icon next to metafox (#18851)
* Finished adding custodian icon next to metafox

* Fixed image path

* Fixed comments in PR
2023-04-28 14:23:56 +02:00

125 lines
2.1 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;
}
}
}
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
&__custody-logo {
&--icon {
height: 16px;
margin-left: 15px;
margin-top: 4px;
@media screen and (min-width: $break-large) {
display: none;
}
}
}
///: END:ONLY_INCLUDE_IN
&__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);
}
}
}