Skip to content

Commit

Permalink
refactor(groupButtons): add delimetr
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaSkywalker committed Mar 2, 2016
1 parent 9c761a1 commit ef30b28
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/sass/theme/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,39 @@ button.btn.btn-danger {
transform: none;
}
}
@mixin buttonGroupColor($color) {
border-color: $color - $hover/2;
&:hover{
border-color: $color - $hover;
}
}

.btn-group {
button.btn.btn-primary{
@include buttonGroupColor($primary);
}
button.btn.btn-default{
@include buttonGroupColor($default);
}
button.btn.btn-danger{
@include buttonGroupColor($danger);
}
button.btn.btn-info{
@include buttonGroupColor($info);
}
button.btn.btn-success{
@include buttonGroupColor($success);
}
button.btn.btn-warning{
@include buttonGroupColor($warning);
}
.dropdown-menu {
margin-top: 0px;
}
}



.btn-toolbar {
display: inline-block;
}
Expand Down

0 comments on commit ef30b28

Please sign in to comment.