Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/assets/css/components/_header.scss

64 lines
1.5 KiB

.header {
@extend %explorer-header-min-height;
background: explorer-color("gray", "900");
box-shadow: 0 2px 2px 0 rgba(explorer-color("slate", "100"), 0.16),
0 0px 2px 0 rgba(explorer-color("slate", "100"), 0.12);
position: fixed;
top: 0;
left: 0;
right: 0;
&__container { width: 100%; }
&__row { vertical-align: middle; }
&__cell {
@extend %explorer-header-height;
&--logo { @extend %explorer-header-square-width; }
&--links {
display: flex;
flex-direction: row-reverse;
padding-right: explorer-size(0);
}
}
&__logo-link {
@extend %explorer-header-height;
@extend %explorer-header-square-width;
display: flex;
background: explorer-color("blue", "500");
align-items: center;
justify-content: center;
}
&__logo {
width: 32px;
height: 36px;
display: block;
}
&__link {
@extend %explorer-header-height;
display: block;
text-decoration: none;
border-top: explorer-size(-4) solid transparent;
border-left: explorer-size(-4) solid transparent;
border-right: explorer-size(-4) solid transparent;
padding: explorer-size(-3);
color: explorer-color("slate", "100");
&:hover {
border-top-color: explorer-color("blue", "500");
color: explorer-color("blue", "500");
}
}
&__link-name {
@include explorer-typography("body1");
margin-left: explorer-size(-3);
}
&__link-image, &__link-name {
display: inline-block;
vertical-align: middle;
}
}