diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index c01f46eb..d8e0793b 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -603,6 +603,14 @@ form.well { background-color: #fff; } +/* Alerts +-------------------------- */ +#page-alert-container { + position: relative; + border-top: 1px solid #DDDDDD; + padding-top: 5px; +} + /* Responsive table ------------------------- */ .responsive-utilities th small { @@ -667,7 +675,6 @@ form.well { border: 1px solid #d6e9c6; } - /* Responsive Docs -------------------------------------------------- */ @media (max-width: 480px) { @@ -872,6 +879,11 @@ form.well { margin: 5px; } + /* Page alert is show as normal alert */ + #page-alert-container { + border-top-width: 0px; + padding: 0; + } } diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index 381af28c..27ec7e53 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -1717,6 +1717,33 @@ +
{{_i}}Know those nice little alerts after you save your profile? With .page-alert the alert will be shown on top op your page.{{/i}}
+<body> + <div class="navbar"> ... </div> + <div class="page-alert"> + <div class="alert"> + ... + </div> + </div> ++
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
+{{_i}}The iconic font set adds 170 new icons to Bootstrap. These icons can be used with buttons, menus, links, etc.{{/i}}
{{_i}}Because these icons are a font, they can be styled just like text.{{/i}}
+{{_i}}Know those nice little alerts after you save your profile? With .page-alert the alert will be shown on top op your page.{{/i}}
+