1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 12:47:14 +01:00
metamask-extension/ui/app/css/itcss/components/header.scss

114 lines
1.9 KiB
SCSS
Raw Normal View History

2017-08-06 22:24:06 +02:00
.app-header {
align-items: center;
2017-08-14 10:31:27 +02:00
background: $gallery;
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: 575px) {
2017-10-13 00:46:09 +02:00
padding: 12px;
2017-10-10 23:40:00 +02:00
box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
z-index: $mobile-header-z-index;
}
2017-09-14 18:56:40 +02:00
@media screen and (min-width: 576px) {
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: $gallery;
bottom: -32px;
}
}
2018-01-10 01:45:39 +01:00
}
2018-05-11 01:51:26 +02:00
&__metafox {
2018-01-10 01:45:39 +01:00
cursor: pointer;
}
2018-05-11 01:51:26 +02:00
&__beta-label {
font-family: Roboto;
text-transform: uppercase;
font-weight: 500;
font-size: .8rem;
color: $buttercup;
margin-left: 5px;
line-height: initial;
@media screen and (max-width: 575px) {
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;
justify-content: space-between;
flex-flow: row nowrap;
width: 100%;
2018-05-11 01:51:26 +02:00
@media screen and (max-width: 575px) {
height: 100%;
}
2017-09-14 18:56:40 +02:00
2018-05-11 01:51:26 +02:00
@media screen and (min-width: 576px) {
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;
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;
}
}
2017-08-06 22:24:06 +02:00
.app-header h1 {
2017-10-13 00:46:09 +02:00
font-family: Roboto;
2017-08-06 22:24:06 +02:00
text-transform: uppercase;
2017-10-13 00:46:09 +02:00
font-weight: 400;
2018-01-11 06:09:09 +01:00
font-size: 1.1rem;
position: relative;
padding-left: 15px;
color: #5b5d67;
2017-10-18 07:36:53 +02:00
@media screen and (max-width: 575px) {
display: none;
}
2017-08-06 22:24:06 +02:00
}
h2.page-subtitle {
text-transform: uppercase;
2017-08-14 10:31:27 +02:00
color: #aeaeae;
2017-08-06 22:24:06 +02:00
font-size: 1em;
margin: 12px;
}
.network-component-wrapper {
display: flex;
flex-direction: row;
align-items: center;
}