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

111 lines
1.9 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;
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
padding: 1rem;
z-index: $mobile-header-z-index;
}
2017-09-14 18:56:40 +02:00
2022-08-04 16:03:02 +02:00
@include screen-sm-min {
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;
2022-08-04 16:03:02 +02:00
@include screen-sm-min {
2018-08-19 03:41:19 +02:00
display: none;
}
}
2018-05-11 01:51:26 +02:00
2018-08-19 03:41:19 +02:00
&--horizontal {
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
2018-08-19 03:41:19 +02:00
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%;
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
2018-05-11 01:51:26 +02:00
height: 100%;
}
2017-09-14 18:56:40 +02:00
2022-08-04 16:03:02 +02:00
@include screen-sm-min {
2018-05-11 01:51:26 +02:00
width: 85vw;
}
2022-08-04 16:03:02 +02:00
@include screen-md-min {
2018-05-11 01:51:26 +02:00
width: 80vw;
}
2022-08-04 16:03:02 +02:00
@include screen-lg-min {
2018-05-11 01:51:26 +02:00
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
}