1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 15:50:28 +01:00
metamask-extension/ui/components/app/app-header/index.scss

111 lines
2.0 KiB
SCSS
Raw Normal View History

2017-08-06 22:24:06 +02:00
.app-header {
align-items: center;
background: var(--color-background-alternative);
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-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;
}
.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);
}
}
2017-08-06 22:24:06 +02:00
}