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/apps/block_scout_web/assets/css/components/_navbar.scss

122 lines
1.9 KiB

.navbar {
position: relative;
z-index: 10;
&-primary {
background-color: $primary;
}
}
.navbar-brand {
margin-left: 10px;
}
.navbar-logo {
7 years ago
height: 36px;
}
@include media-breakpoint-up(md) {
7 years ago
.navbar-expand-lg .navbar-nav .nav-link {
padding-left: 1.25rem;
padding-right: 1.25rem;
7 years ago
}
}
.navbar .nav-item {
font-size: 14px;
}
.navbar .nav-link {
color: $white;
}
7 years ago
.navbar .form-control {
background: transparent;
width: auto;
font-size: 12px;
border-left: none;
color: $white;
border-color: transparentize($white, 0.30);
&::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: transparentize($white, 0.5);
}
&::-moz-placeholder { /* Firefox 19+ */
color: transparentize($white, 0.5);
}
&:-ms-input-placeholder { /* IE 10+ */
color: transparentize($white, 0.5);
}
&:-moz-placeholder { /* Firefox 18- */
color: transparentize($white, 0.5);
}
&:focus {
box-shadow: none;
}
@include media-breakpoint-up(xl) {
width: calc(43ch + #{$input-padding-x * 2});
}
7 years ago
}
.navbar .input-group-text {
background: none;
border-right: none;
border-color: transparentize($white, 0.30);
7 years ago
}
.fa-search {
color: $white;
}
.topnav-nav-link {
position: relative;
color: $white;
&:before {
content: "";
position: absolute;
display: block;
bottom: 0;
left: 50%;
width: 100%;
height: 0.2rem;
background-color: $white;
opacity: 0;
transform: translateX(-50%) translateY(-0.5rem);
transition: all 0.3s ease;
}
&:hover {
color: $white;
&:before {
transform: translateX(-50%) translateY(-0.25rem);
opacity: 1;
}
}
&:active {
&:before {
transition: all 0.1s ease-out;
transform: translateX(-50%) translateY(-0.5rem);
}
}
}
.dropdown-menu {
padding: 0px;
}
.dropdown-item {
padding: 10px 20px;
&:hover {
background-color: $secondary;
color: $white;
}
}