diff options
1 files changed, 9 insertions, 7 deletions
| -rw-r--r-- | src/buttons.less | 16 |
diff --git a/src/buttons.less b/src/buttons.less index ef95627..29c8e18 100644 --- a/src/buttons.less +++ b/src/buttons.less @@ -1,6 +1,5 @@ // Buttons -.btn, -button { +.btn { display: inline-block; height: 3.2rem; padding: .7rem 1.5rem; @@ -53,7 +52,8 @@ button { } } - &[disabled] { + &[disabled], + .disabled { opacity: .5; cursor: default; } @@ -169,12 +169,10 @@ button { } .btn-group { - display: inline-block; - vertical-align: middle; - .clearfix(); + display: inline-flex; .btn { - float: left; + flex: 1 0 auto; &:first-child:not(:last-child) { border-top-right-radius: 0; @@ -192,4 +190,8 @@ button { z-index: 99; } } + + &.btn-group-block { + display: flex; + } }
\ No newline at end of file |