diff options
| author | Zac Echola <[email protected]> | 2015-04-02 14:07:53 -0500 |
|---|---|---|
| committer | Zac Echola <[email protected]> | 2015-04-02 14:07:53 -0500 |
| commit | e46c998316359f3368d80736d7eb750d85dc4da5 (patch) | |
| tree | 731b57053d60afc0154af7784869a3a7101c151f /less/list-group.less | |
| parent | 38f48d6471ccf292252b03ded606eef0570d096c (diff) | |
| download | bootstrap-e46c998316359f3368d80736d7eb750d85dc4da5.tar.xz bootstrap-e46c998316359f3368d80736d7eb750d85dc4da5.zip | |
Adds button styles to `.list-group-item`
Includes buttons with anchor sytles and modifies buttons to match width
and text alignment.
Diffstat (limited to 'less/list-group.less')
| -rw-r--r-- | less/list-group.less | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/less/list-group.less b/less/list-group.less index 1462ce16b..216b91230 100644 --- a/less/list-group.less +++ b/less/list-group.less @@ -38,12 +38,13 @@ } -// Linked list items +// Interactive list items // -// Use anchor elements instead of `li`s or `div`s to create linked list items. +// Use anchor or button elements instead of `li`s or `div`s to create interactive items. // Includes an extra `.active` modifier class for showing selected items. -a.list-group-item { +a.list-group-item, +button.list-group-item { color: @list-group-link-color; .list-group-item-heading { @@ -59,6 +60,11 @@ a.list-group-item { } } +button.list-group-item { + width: 100%; + text-align: left; +} + .list-group-item { // Disabled state &.disabled, |
