1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/app/css/itcss/components/header.scss

122 lines
2.0 KiB
SCSS
Raw Normal View History

2017-08-06 22:24:06 +02:00
.app-header {
align-items: center;
visibility: visible;
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;
@media screen and (max-width: 575px) {
2017-10-13 00:46:09 +02:00
padding: 12px;
width: 100%;
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-01-10 01:45:39 +01:00
}
.metafox-icon {
cursor: pointer;
}
}
2017-10-13 00:46:09 +02:00
2018-01-10 01:45:39 +01:00
.app-header--initialized {
@media screen and (min-width: 576px) {
2017-10-13 00:46:09 +02:00
&::after {
content: '';
position: absolute;
width: 100%;
height: 32px;
background: $gallery;
bottom: -32px;
}
2017-09-14 18:56:40 +02:00
}
2017-08-06 22:24:06 +02:00
}
.app-header-contents {
display: flex;
2017-09-05 00:55:14 +02:00
justify-content: space-between;
flex-flow: row nowrap;
width: 100%;
2017-09-05 00:55:14 +02:00
height: 6.9vh;
2017-09-14 18:56:40 +02:00
@media screen and (max-width: 575px) {
height: 100%;
}
@media screen and (min-width: 576px) {
2017-09-05 00:55:14 +02:00
width: 85vw;
}
@media screen and (min-width: 769px) {
width: 80vw;
2017-09-05 00:55:14 +02:00
}
@media screen and (min-width: 1281px) {
2018-01-11 06:09:09 +01:00
width: 62vw;
}
}
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
}
.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-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;
}
.left-menu-wrapper {
display: flex;
flex-direction: row;
align-items: center;
2017-10-25 09:34:12 +02:00
cursor: pointer;
2017-08-14 10:31:27 +02:00
}
2017-10-13 00:46:09 +02:00
.header__right-actions {
display: flex;
flex-flow: row nowrap;
align-items: center;
2017-10-13 08:10:58 +02:00
.identicon {
cursor: pointer;
}
2017-10-13 00:46:09 +02:00
}