UNPKG

bootstrap-additions

Version:

BootstrapAdditions - CSS extension kit for Twitter Bootstrap 3.0+

121 lines (120 loc) 2.4 kB
/** * bootstrap-additions * @version v0.3.1 - 2015-05-20 * @link https://github.com/mgcrea/bootstrap-additions * @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea) * @license MIT License, http://www.opensource.org/licenses/MIT */ .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img { display: block; max-width: 100%; height: auto; } .btn-group-lg > .btn { padding: 10px 16px; font-size: 18px; line-height: 1.3333333; border-radius: 6px; } .btn-group-sm > .btn { padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; } .btn-group-xs > .btn { padding: 1px 5px; font-size: 12px; line-height: 1.5; border-radius: 3px; } .dl-horizontal dd:before, .dl-horizontal dd:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-footer:before, .modal-footer:after { content: " "; display: table; } .dl-horizontal dd:after, .container:after, .container-fluid:after, .row:after, .form-horizontal .form-group:after, .btn-toolbar:after, .btn-group-vertical > .btn-group:after, .nav:after, .navbar:after, .navbar-header:after, .navbar-collapse:after, .pager:after, .panel-body:after, .modal-footer:after { clear: both; } /* * Callouts * * Not quite alerts, but custom and helpful notes for folks reading the docs. * Requires a base and modifier class. */ .callout { margin: 20px 0; padding: 20px; border-left: 3px solid #eee; } .callout h4 { margin-top: 0; margin-bottom: 5px; } .callout p:last-child { margin-bottom: 0; } /* Variations */ .callout-danger { border-color: #eed3d7; background-color: #fdf7f7; } .callout-danger h4 { color: #b94a48; } .callout-warning { border-color: #faebcc; background-color: #faf8f0; } .callout-warning h4 { color: #8a6d3b; } .callout-info { border-color: #bce8f1; background-color: #f4f8fa; } .callout-info h4 { color: #34789a; }