Skip to content

Commit 914cd7e

Browse files
committed
Don't push this commit (C) whatthecommit.com
1 parent 20633dc commit 914cd7e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

css-theme/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</ul>
3636
</li>
3737

38-
<li class="nav nav-list nav-list__list-item">Login</li>
38+
<li class="navbar-list-item">Login</li>
3939
</ul>
4040
</nav>
4141

css-theme/src/main.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ header {
5858
.dropdown {
5959
position: absolute;
6060
width: 30rem;
61-
//opacity: 0;
61+
opacity: 0;
6262
z-index: 2;
6363
background: blue;
6464
border-top: 2px solid burlywood;
@@ -75,4 +75,11 @@ header {
7575

7676
box-shadow: rgba(2, 8, 20, 0.1) 0.175em .5em;
7777
transform: translateX(-43%);
78+
transition: opacity 150ms ease-out;
7879
}
80+
81+
.has-dropdown:focus-within .dropdown {
82+
opacity: 1;
83+
pointer-events: auto;
84+
}
85+

0 commit comments

Comments
 (0)