Deleted :before for menu links on desktop view

pull/2742/head
YegorSan 5 years ago
parent e427568c94
commit 1a1905631d
  1. 20
      apps/block_scout_web/assets/css/theme/_dark-theme.scss

@ -793,16 +793,6 @@ $labels-dark: #8a8dba; // header nav, labels
background-image: none; background-image: none;
width: 100%; width: 100%;
background-color: #35335d!important; background-color: #35335d!important;
}
.dark-theme-applied .dropdown-item:hover:before {
content: "|";
height: 50px;
width: 50%;
opacity: 1;
background: none;
right: 17%;
color: $dark-primary;
position: relative;
} }
@media (max-width: 991.98px) { @media (max-width: 991.98px) {
.dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:hover, .dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:hover,
@ -814,6 +804,16 @@ $labels-dark: #8a8dba; // header nav, labels
color: white; color: white;
border: none; border: none;
} }
.dark-theme-applied .dropdown-item:hover:before {
content: "|";
height: 50px;
width: 50%;
opacity: 1;
background: none;
right: 17%;
color: $dark-primary;
position: relative;
}
.dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:hover:before .dark-theme-applied .navbar.navbar-primary .navbar-nav .nav-link:hover:before
{ {
content: "|"; content: "|";

Loading…
Cancel
Save