Files
Iris/src/scss/components/_header.scss
2018-10-13 14:28:46 +13:00

103 lines
1.5 KiB
SCSS
Executable File

main {
header {
box-sizing: border-box;
padding: 40px;
margin-bottom: -40px;
h1 {
display: inline-block;
& > .icon {
display: inline-block;
padding-right: 14px;
vertical-align: bottom;
margin-bottom: 8px;
font-size: 0.9em;
}
}
.options {
position: absolute;
top: 2.6rem;
right: 40px;
.context-menu-trigger {
display: none;
font-size: 18px;
padding: 16px 14px;
}
.button,
button {
font-size: 13px;
font-weight: 800;
font-family: "Overpass";
background: transparent;
text-transform: none;
padding: 13px 10px;
margin: 0;
min-width: 0;
color: colour(light_grey);
&:hover {
color: colour(blue);
box-shadow: none;
&:before {
display: none;
}
}
.light-theme & {
color: colour(darkest_grey);
&:hover {
color: colour(blue);
}
&:active {
background: transparent;
}
}
}
}
&.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 98;
}
@include responsive($bp_medium){
padding: 10px 10px 10px 0;
margin-bottom: -10px;
h1 {
vertical-align: top;
padding-top: 6px;
& > .icon {
margin-bottom: 2px;
padding-right: 6px;
margin-left: 10px;
}
}
.options {
top: 0;
right: 0;
.context-menu-trigger {
display: block;
}
.items {
display: none;
}
}
}
}
}