Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

Commit

Permalink
Adding navbar dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
the94air committed Oct 11, 2018
1 parent 61c2f15 commit 7619f78
Show file tree
Hide file tree
Showing 8 changed files with 855 additions and 237 deletions.
37 changes: 37 additions & 0 deletions dist/larastrator.css
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ hr {
}

.navbar-menu > .navbar-item {
position: relative;
margin-left: 1rem;
}

Expand Down Expand Up @@ -909,6 +910,42 @@ hr {
height: 12px;
}

.navbar-menu > .navbar-item > .navbar-dropdown {
position: absolute;
border-radius: .25rem;
z-index: 20;
list-style: none;
padding: 0;
-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
bottom: -6.5rem;
right: 0;
width: 150px;
background: #fff;
border: .3rem solid #fff;
}

.navbar-menu > .navbar-item > .navbar-dropdown > .navbar-dropdown-item > .navbar-dropdown-link {
display: block;
border-radius: .25rem;
text-decoration: none;
padding: .5rem;
margin-bottom: .25rem;
background: #fff;
-webkit-transition: all 100ms ease;
transition: all 100ms ease;
}

.navbar-menu > .navbar-item > .navbar-dropdown > .navbar-dropdown-item > .navbar-dropdown-link:hover,
.navbar-menu > .navbar-item > .navbar-dropdown > .navbar-dropdown-item > .navbar-dropdown-link:focus {
background: #dae1e7;
color: inherit;
}

.navbar-menu > .navbar-item > .navbar-dropdown > .navbar-dropdown-item > .navbar-dropdown-link:last-child {
margin-bottom: 0;
}

.panel {
display: -webkit-box;
display: -ms-flexbox;
Expand Down
2 changes: 1 addition & 1 deletion dist/larastrator.min.css

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions public/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ hr {
}

.navbar-menu > .navbar-item {
position: relative;
margin-left: 1rem;
}

Expand Down Expand Up @@ -909,6 +910,42 @@ hr {
height: 12px;
}

.navbar-menu > .navbar-item > .navbar-dropdown {
position: absolute;
border-radius: .25rem;
z-index: 20;
list-style: none;
padding: 0;
-webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
bottom: -6.5rem;
right: 0;
width: 150px;
background: #fff;
border: .3rem solid #fff;
}

.navbar-menu > .navbar-item > .navbar-dropdown > .navbar-dropdown-item > .navbar-dropdown-link {
display: block;
border-radius: .25rem;
text-decoration: none;
padding: .5rem;
margin-bottom: .25rem;
background: #fff;
-webkit-transition: all 100ms ease;
transition: all 100ms ease;
}

.navbar-menu > .navbar-item > .navbar-dropdown > .navbar-dropdown-item > .navbar-dropdown-link:hover,
.navbar-menu > .navbar-item > .navbar-dropdown > .navbar-dropdown-item > .navbar-dropdown-link:focus {
background: #dae1e7;
color: inherit;
}

.navbar-menu > .navbar-item > .navbar-dropdown > .navbar-dropdown-item > .navbar-dropdown-link:last-child {
margin-bottom: 0;
}

.panel {
display: -webkit-box;
display: -ms-flexbox;
Expand Down
Loading

0 comments on commit 7619f78

Please sign in to comment.