mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
Add well-border variable
Add a variable to allow the well border color to be specified. The reason I'd like to see this included is that my companies styleguide requires an explicit border color on well-like constructs. This variable allows me to easily override the default to use that color.
This commit is contained in:
parent
77bf572cba
commit
b8f9f82d18
@ -1147,6 +1147,8 @@ base_url: "../"
|
|||||||
<h3>Wells</h3>
|
<h3>Wells</h3>
|
||||||
<label>@well-bg</label>
|
<label>@well-bg</label>
|
||||||
<input type="text" class="form-control" placeholder="#f5f5f5" data-var="@well-bg">
|
<input type="text" class="form-control" placeholder="#f5f5f5" data-var="@well-bg">
|
||||||
|
<label>@well-border</label>
|
||||||
|
<input type="text" class="form-control" placeholder="darken(@well-bg, 7%)" data-var="@well-border">
|
||||||
|
|
||||||
|
|
||||||
<h2 id="variables-accordion">Accordion</h2>
|
<h2 id="variables-accordion">Accordion</h2>
|
||||||
|
@ -545,6 +545,7 @@
|
|||||||
// Wells
|
// Wells
|
||||||
// -------------------------
|
// -------------------------
|
||||||
@well-bg: #f5f5f5;
|
@well-bg: #f5f5f5;
|
||||||
|
@well-border: darken(@well-bg, 7%);
|
||||||
|
|
||||||
|
|
||||||
// Badges
|
// Badges
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
padding: 19px;
|
padding: 19px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
background-color: @well-bg;
|
background-color: @well-bg;
|
||||||
border: 1px solid darken(@well-bg, 7%);
|
border: 1px solid @well-border;
|
||||||
border-radius: @border-radius-base;
|
border-radius: @border-radius-base;
|
||||||
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
|
||||||
blockquote {
|
blockquote {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user