2 -------------------------------------------------- */
4 /* Remove usual bullet styles from list */
8 background-color: #fff;
11 /* Pad each list item and add dividers */
14 padding: 20px 60px 20px 10px; /* Given extra right padding to accomodate counts, chevrons or buttons */
15 border-bottom: 1px solid rgba(0, 0, 0, .1);
18 /* Give top border to first list items */
19 .list li:first-child {
20 border-top: 1px solid rgba(0, 0, 0, .1);
23 /* If a list of links, make sure the child <a> takes up full list item tap area (want to avoid selecting child buttons though) */
24 .list li > a:not([class*="button"]) {
28 margin: -20px -60px -20px -10px;
33 -------------------------------------------------- */
39 border: 1px solid rgba(0, 0, 0, .1);
41 box-sizing: border-box;
44 /* Remove border from first/last standard list items to avoid double border at top/bottom of lists */
45 .list.inset li:first-child {
48 .list.inset li:last-child {
49 border-bottom-width: 0;
54 -------------------------------------------------- */
64 text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
65 background-color: #f8f8f8;
66 background-image: -webkit-linear-gradient(top, #f8f8f8 0, #eee 100%);
67 background-image: linear-gradient(to bottom, #f8f8f8 0, #eee 100%);
68 border-top: 1px solid rgba(0, 0, 0, .1);
69 border-bottom: 1px solid rgba(0, 0, 0, .1);
70 box-shadow: inset 0 1px 1px rgba(255, 255, 255, .4);
73 /* Rounding first divider on inset lists and remove border on the top */
74 .list.inset .list-divider:first-child {
77 border-radius: 6px 6px 0 0;
80 /* Rounding last divider on inset lists */
81 .list.inset .list-divider:last-child {
82 border-radius: 0 0 6px 6px;
85 /* Right-aligned subcontent in lists (chevrons, buttons, counts and toggles)
86 -------------------------------------------------- */
88 .list [class*="button"],
89 .list [class*="count"],
96 /* Position chevrons/counts vertically centered on the right in list items */
98 .list [class*="count"] {
99 margin-top: -10px; /* Half height of chevron */
102 /* Push count over if there's a sibling chevron */
103 .list .chevron + [class*="count"] {
107 /* Position buttons vertically centered on the right in list items */
108 .list [class*="button"] {
110 margin-top: -14px; /* Half height of button */
114 margin-top: -15px; /* Half height of toggle */