3 // --------------------------------------------------
7 // Easily usable on <ul>, <ol>, or <div>.
9 // No need to set list-style: none; since .list-group-item is block level
11 padding-left: 0; // reset padding because ul and ol
12 background-color: @list-group-bg;
15 // Individual list items
16 // -------------------------
21 padding: 10px 30px 10px 15px;
22 // Place the border on the list items and negative margin up for better styling
24 border: 1px solid @list-group-border;
26 // Round the first and last items
28 .border-top-radius(@border-radius-base);
32 .border-bottom-radius(@border-radius-base);
35 // Align badges within list items
42 // Custom content options
43 // -------------------------
45 .list-group-item-heading {
49 .list-group-item-text {
55 // -------------------------
57 // Custom content within linked items
59 // Colorize content accordingly
60 .list-group-item-heading {
61 color: @list-group-link-heading-color;
63 .list-group-item-text {
64 color: @list-group-link-color;
70 text-decoration: none;
71 background-color: @list-group-hover-bg;
74 // Active class on item itself, not parent
76 z-index: 2; // Place active items above their siblings for proper border styling
77 color: @list-group-active-color;
78 background-color: @list-group-active-bg;
79 border-color: @list-group-active-border;
81 // Force color to inherit for custom content
82 .list-group-item-heading {
85 .list-group-item-text {
86 color: lighten(@list-group-active-bg, 40%);