Commit 90d5e48f authored by Mark Otto's avatar Mark Otto

Add alert for customizer errors

parent b3e06aea
...@@ -193,6 +193,27 @@ body { ...@@ -193,6 +193,27 @@ body {
font-weight: normal; font-weight: normal;
} }
/* Alerts */
.bs-customizer-alert {
position: fixed;
top: 51px;
left: 0;
right: 0;
z-index: 1030;
padding: 15px 0;
color: #fff;
background-color: #d9534f;
box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
border-bottom: 1px solid #b94441;
}
.bs-customizer-alert .close {
margin-top: -2px;
color: #fff;
text-shadow: none;
}
.bs-customizer-alert p {
margin-bottom: 0;
}
/* Docs pages and sections /* Docs pages and sections
......
...@@ -6,8 +6,17 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge ...@@ -6,8 +6,17 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge
base_url: "../" base_url: "../"
--- ---
<!-- Customize
================================================== --> <!-- Customizer errors -->
<div class="bs-customizer-alert" style="display: none;">
<div class="container">
<button type="button" class="close pull-right">&times;</button>
<p class="bs-customizer-alert-text"></p>
</div>
</div>
<!-- Customizer form -->
<form class="bs-customizer" role="form"> <form class="bs-customizer" role="form">
<div class="bs-docs-section" id="less-section"> <div class="bs-docs-section" id="less-section">
<div class="page-header"> <div class="page-header">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment