mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 08:09:15 +01:00
7895fcb7af
Using design system breakpoint values across ui/
116 lines
2.0 KiB
SCSS
116 lines
2.0 KiB
SCSS
.app-header {
|
|
align-items: center;
|
|
background: $Grey-000;
|
|
position: relative;
|
|
z-index: $header-z-index;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
width: 100%;
|
|
flex: 0 0 auto;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
padding: 1rem;
|
|
z-index: $mobile-header-z-index;
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
height: 75px;
|
|
justify-content: center;
|
|
|
|
&--back-drop {
|
|
&::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 32px;
|
|
background: $Grey-000;
|
|
bottom: -32px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__metafox-logo {
|
|
&--icon {
|
|
height: 32px;
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&--horizontal {
|
|
@media screen and (max-width: $break-small) {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__contents {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
width: 100%;
|
|
|
|
@media screen and (max-width: $break-small) {
|
|
height: 100%;
|
|
}
|
|
|
|
@media screen and (min-width: $break-large) {
|
|
width: 85vw;
|
|
}
|
|
|
|
@media screen and (min-width: 769px) {
|
|
width: 80vw;
|
|
}
|
|
|
|
@media screen and (min-width: 1281px) {
|
|
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;
|
|
|
|
.beta & span {
|
|
color: $ui-3;
|
|
}
|
|
}
|
|
|
|
&__network-down-arrow {
|
|
background-image: url(/images/icons/caret-down.svg);
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-position: center;
|
|
}
|
|
|
|
.beta & {
|
|
background: $ui-black;
|
|
}
|
|
}
|