1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-04 23:14:56 +01:00
metamask-extension/ui/components/app/app-header/index.scss

108 lines
1.9 KiB
SCSS
Raw Normal View History

2017-08-06 22:24:06 +02:00
.app-header {
align-items: center;
background: var(--Grey-000);
position: relative;
z-index: $header-z-index;
2017-09-05 00:55:14 +02:00
display: flex;
flex-flow: column nowrap;
2018-05-11 01:51:26 +02:00
width: 100%;
flex: 0 0 auto;
@media screen and (max-width: $break-small) {
padding: 1rem;
z-index: $mobile-header-z-index;
}
2017-09-14 18:56:40 +02:00
@media screen and (min-width: $break-large) {
2017-10-13 00:46:09 +02:00
height: 75px;
justify-content: center;
2018-05-11 01:51:26 +02:00
&--back-drop {
&::after {
content: '';
position: absolute;
width: 100%;
height: 32px;
background: var(--Grey-000);
2018-05-11 01:51:26 +02:00
bottom: -32px;
}
}
2018-01-10 01:45:39 +01:00
}
2018-08-19 03:41:19 +02:00
&__metafox-logo {
&--icon {
height: 32px;
2018-08-19 03:41:19 +02:00
@media screen and (min-width: $break-large) {
display: none;
}
}
2018-05-11 01:51:26 +02:00
2018-08-19 03:41:19 +02:00
&--horizontal {
@media screen and (max-width: $break-small) {
display: none;
}
2017-10-13 00:46:09 +02:00
}
2017-09-14 18:56:40 +02:00
}
2017-08-06 22:24:06 +02:00
2018-05-11 01:51:26 +02:00
&__contents {
display: flex;
flex-flow: row nowrap;
width: 100%;
@media screen and (max-width: $break-small) {
2018-05-11 01:51:26 +02:00
height: 100%;
}
2017-09-14 18:56:40 +02:00
@media screen and (min-width: $break-large) {
2018-05-11 01:51:26 +02:00
width: 85vw;
}
@media screen and (min-width: 769px) {
width: 80vw;
}
@media screen and (min-width: 1281px) {
width: 62vw;
}
2017-09-05 00:55:14 +02:00
}
2018-05-11 01:51:26 +02:00
&__logo-container {
display: flex;
flex-direction: row;
align-items: center;
flex: 0 0 auto;
margin-right: 1rem;
&--clickable {
cursor: pointer;
}
2017-09-05 00:55:14 +02:00
}
2018-05-11 01:51:26 +02:00
&__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;
}
2017-10-18 07:36:53 +02:00
2018-08-19 03:41:19 +02:00
&__network-component-wrapper {
display: flex;
flex-direction: row;
align-items: center;
flex: 1 0 auto;
width: 0;
justify-content: flex-end;
}
&__network-down-arrow {
background-image: url(/images/icons/caret-down.svg);
background-repeat: no-repeat;
background-size: contain;
background-position: center;
2017-10-18 07:36:53 +02:00
}
2017-08-06 22:24:06 +02:00
}