Merge pull request #567 from openclassify/dia

update profile nav button on mobile
This commit is contained in:
Ozcan Durak 2020-05-18 17:23:25 +03:00 committed by GitHub
commit 6b12d589a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 9 deletions

View File

@ -1,11 +1,17 @@
.profile-nav-toggler {
color: rgba(0,0,0,.5);
border: 1px solid rgba(0,0,0,.1);
padding: .25rem .75rem;
font-size: 1.25rem;
line-height: 1;
background-color: transparent;
border-radius: .25rem;
position: fixed;
bottom: 10%;
z-index: 1;
button {
color: rgba(0,0,0,.5);
border: 0;
padding: .25rem .75rem;
font-size: 1.25rem;
line-height: 1;
background-color: #E91E63;
border-radius: .25rem;
}
}
.profile-navigation {

View File

@ -1,5 +1,5 @@
<div class="col-12 navbar-light py-2 d-md-none">
<button class="profile-nav-toggler" id="navbarSideButton" type="button">
<div class="col-12 navbar-dark py-2 d-md-none profile-nav-toggler">
<button class="rounded-circle p-2" id="navbarSideButton" type="button">
<span class="navbar-toggler-icon"></span>
</button>
</div>