Merge "Adding styling for disabled and danger action items"

This commit is contained in:
Jenkins 2015-04-14 01:47:52 +00:00 committed by Gerrit Code Review
commit b408104735
2 changed files with 13 additions and 3 deletions

View File

@ -3,6 +3,17 @@ action-list.btn-group {
cursor: pointer;
}
.dropdown-menu > li {
&.disabled {
opacity: 0.65;
}
> a.text-danger {
color: $brand-danger;
}
}
notifications {
bottom: -0.5em;
font-size: 1.1em;

View File

@ -1,7 +1,6 @@
<!-- Dropdown menu item -->
<li>
<a href="#" dropdown-toggle
class="menu-item {$ disabled ? 'disabled' : '' $}"
<li role="presentation" ng-class="{ disabled: disabled }">
<a role="menuitem" href="#" dropdown-toggle
ng-class="actionClasses"
ng-click="disabled || callback(item)">
<ng-transclude></ng-transclude>