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

96 lines
1.6 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;
&::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) {
width: 65vw;
}
}
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;
2017-08-14 10:31:27 +02:00
color: #22232c; // $shark
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;
2017-10-13 00:46:09 +02:00
margin-right: 20px;
}
.left-menu-wrapper {
display: flex;
flex-direction: row;
align-items: center;
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
}