From: Julian Thilo Date: Tue, 25 Jun 2013 21:12:36 +0000 (+0200) Subject: Docs: create new callout classes X-Git-Tag: v3.0.0-rc1~161^2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f00c885d4ce1c36755aee64ee517b0dbb3ab52b3;p=thirdparty%2Fbootstrap.git Docs: create new callout classes --- diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index cef5f33343..76d64adf47 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -223,11 +223,10 @@ body { /* Side notes for calling out things -------------------------------------------------- */ +/* Base styles (regardless of theme) */ .bs-callout { margin: 20px 0; padding: 15px 30px 15px 15px; - background-color: #fcf2f2; - border-left: 5px solid #df7c7b; } .bs-callout h4 { margin-top: 0; @@ -240,6 +239,20 @@ body { background-color: #fff; } +/* Themes for different contexts */ +.bs-callout-danger { + background-color: #fcf2f2; + border-left: 5px solid #df7c7b; +} +.bs-callout-warning { + background-color: #fefbed; + border-left: 5px solid #f5d659; +} +.bs-callout-info { + background-color: #daecf9; + border-left: 5px solid #55a9e1; +} + /* Special grid styles