mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 05:04:35 +08:00
Style inventories secondary navigation section
This commit is contained in:
parent
4cdfe67115
commit
dbceac7aa4
2 changed files with 9 additions and 5 deletions
|
@ -322,13 +322,17 @@ a[data-toggle="tooltip"] {
|
|||
@include box-shadow(0 4px 0 $brand-primary);
|
||||
margin-bottom: 4px;
|
||||
|
||||
a,
|
||||
a:hover,
|
||||
a:focus {
|
||||
background: $color-white;
|
||||
& > a,
|
||||
& > a:hover,
|
||||
& > a:focus {
|
||||
background: transparent;
|
||||
color: $color-emperor;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
ul .active-item {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -107,7 +107,7 @@
|
|||
<ul class="dropdown-menu repositories-dropdown-menu" aria-labelledby="repositoriesDropdownMenuLink">
|
||||
<% @my_module.experiment.project.team.repositories.order(created_at: :asc).each do |repository| %>
|
||||
<li>
|
||||
<a class="dropdown-item"
|
||||
<a class="dropdown-item <%= "active-item" if module_repository_page? && @repository == repository %>"
|
||||
href="<%= repository_my_module_url(id: @my_module, repository_id: repository) %>"
|
||||
title="<%= repository.name %>"
|
||||
data-no-turbolink="true">
|
||||
|
|
Loading…
Add table
Reference in a new issue