/* Table of Contents ==================================================s # List # Styles # Sizes # Colors # Media Queries */ /* # List ================================================== */ dl > dt, dl > dd, ul, ol { border-color: $color-haze !important; font-size: 16px; font-weight: normal; line-height: 25px; } dl > dt { font-weight: bold; margin-bottom: 5px; } dl > dd { margin: 0 0 5px 10px; } ul { padding-left: 17px; } ol { padding-left: 23px; } /* # Styles ================================================== */ .list-scrollable { max-height: 300px; overflow: auto; } .list-bordered, .list-inline, .list-lined, .list-striped, .list-unstyled { list-style: none; padding: 0; } .list-bordered > li, .list-lined > li, .list-striped > li { padding: 9px 10px 7px 10px; } .list-bordered > li { border: 1px solid; border-bottom: 0; border-color: inherit; } .list-bordered > li:last-child { border-bottom: 1px solid; border-color: inherit; } .list-bordered.list-scrollable { border-bottom: 1px solid; border-top: 1px solid; border-color: inherit; } .list-bordered.list-scrollable:empty { border: 0; } .list-bordered.list-scrollable > li:first-child { border-top: 0; } .list-bordered.list-scrollable > li:last-child { border-bottom: 0; } .list-inline > li { display: inline-block; margin-right: 10px; } .list-inline > li:last-child { margin-right: 0; } .list-lined > li { border-top: 1px solid; border-color: inherit; padding-left: 0; padding-right: 0; } .list-lined > li:first-child { border: 0; } .list-striped > li:nth-child(odd) { background: lighten($color-light-haze, 2%); } .list-hover > li:hover { background: $color-light-haze } /* # Sizes ================================================== */ .list-condensed { font-size: 14px; line-height: 22px; } .list-condensed.list-bordered > li, .list-condensed.list-lined > li, .list-condensed.list-striped > li, { padding: 5px 5px 4px 5px; } /* # Colors ================================================== */ .list-dark { background: $color-black; border-color: $color-dark-black !important; color: $color-white; } .list-light { background: $color-light-haze; border-color: $color-dark-haze !important; color: $color-dark-black; } .list-white { background: $color-white; border-color: $color-haze !important; color: $color-dark-black; } .list-dark.list-striped > li:nth-child(odd) { background: $color-light-black; } .list-dark.list-hover > li:hover { background: darken($color-black, 2%); } .list-light.list-striped > li:nth-child(odd) { background: $color-haze; } .list-light.list-hover > li:hover { background: darken($color-haze, 2%); } /* # Media Queries ================================================== */ @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and ( min--moz-device-pixel-ratio: 2), only screen and ( -o-min-device-pixel-ratio: 2/1), only screen and ( min-device-pixel-ratio: 2), only screen and ( min-resolution: 192dpi), only screen and ( min-resolution: 2dppx) { .list-bordered > li, .list-bordered > li:last-child, .list-bordered.list-scrollable, .list-lined > li { border-width: 0.5px; } }