aboutsummaryrefslogtreecommitdiff
path: root/lib/variables.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-24 16:54:35 -0800
committerMark Otto <[email protected]>2012-01-24 16:54:35 -0800
commit40e92221a616bfe4e9500bcf2b72c86844f7f03f (patch)
tree24b0c52f43d40b9f9b0b8c5509f36d7110beaac6 /lib/variables.less
parentc2312220e4e1da3939c9fa79e97d79f693058ea2 (diff)
downloadbootstrap-40e92221a616bfe4e9500bcf2b72c86844f7f03f.tar.xz
bootstrap-40e92221a616bfe4e9500bcf2b72c86844f7f03f.zip
revamp alert message and error state color/text/bg to be variables
Diffstat (limited to 'lib/variables.less')
-rw-r--r--lib/variables.less26
1 files changed, 22 insertions, 4 deletions
diff --git a/lib/variables.less b/lib/variables.less
index 674a358bf..3c4f562ca 100644
--- a/lib/variables.less
+++ b/lib/variables.less
@@ -52,11 +52,9 @@
// COMPONENT VARIABLES
// --------------------------------------------------
-// Input placeholder text color
-@placeHolderText: @grayLight;
-
// Z-index master list
// Used for a bird's eye view of components dependent on the z-axis
+// Try to avoid customizing these :)
@zindexDropdown: 1000;
@zindexPopover: 1010;
@zindexTooltip: 1020;
@@ -64,9 +62,29 @@
@zindexModalBackdrop: 1040;
@zindexModal: 1050;
+// Input placeholder text color
+@placeholderText: @grayLight;
+
// Navbar
-@navBarHeight: 40px;
+@navbarHeight: 40px;
@navbarBackground: @grayDarker;
@navbarBackgroundHighlight: @grayDark;
+// Form states and alerts
+@warningText: #c09853;
+@warningBackground: #fcf8e3;
+@warningBorder: #f3edd2;
+
+@errorText: #b94a48;
+@errorBackground: #f2dede;
+@errorBorder: #e9c7c7;
+
+@successText: #468847;
+@successBackground: #dff0d8;
+@successBorder: #cfe8c4;
+
+@infoText: #3a87ad;
+@infoBackground: #d9edf7;
+@infoBorder: #bfe1f2;
+