drop down update
This commit is contained in:
parent
2a020cf129
commit
c77e4850f1
|
@ -33,7 +33,7 @@ if language == 'dart'
|
|||
|
||||
<!-- DROPDOWN BUTTON -->
|
||||
nav.hero-subtitle.text-subhead.dropdown
|
||||
button(md-button class="dropdown-button" ng-click="toggleVersionMenu($event)") #{title} <span class="icon-arrow-drop-down"></span>
|
||||
button(md-button class="dropdown-button" ng-click="toggleVersionMenu($event)") #{title} <span class="icon icon-arrow-drop-down"></span>
|
||||
div(class="overlay ng-hide" ng-click="toggleVersionMenu($event)" ng-show="showMenu")
|
||||
|
||||
<!-- DROPDOWN MENU -->
|
||||
|
|
|
@ -3,13 +3,23 @@
|
|||
z-index: $layer-5;
|
||||
|
||||
.dropdown-button {
|
||||
background: none;
|
||||
background: rgba($snow, .1);
|
||||
border: none;
|
||||
text-transform: none;
|
||||
font-weight: normal;
|
||||
line-height: $unit * 4;
|
||||
padding: 0px $unit;
|
||||
padding: 0px ($unit * 4) 0px ($unit * 2);
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
|
||||
.icon {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: $unit;
|
||||
z-index: $layer-1;
|
||||
font-size: 20px;
|
||||
opacity: .87;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
|
|
Loading…
Reference in New Issue