5 // --------------------------------------------------
9 // --------------------------------------------------
13 // -------------------------
19 @grayLighter: #CDCDCD;
24 // -------------------------
36 // -------------------------
37 @bodyBackground: #FAFDFA;
38 @textColor: @grayDarker;
42 // -------------------------
44 @linkColorHover: lighten(@linkColor, 8%);
48 // -------------------------
49 @sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
50 @serifFontFamily: Palatino, Georgia, "Times New Roman", Times, serif;
51 @monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
54 @baseFontFamily: @serifFontFamily;
55 @baseLineHeight: 1.4em;
56 @altFontFamily: @serifFontFamily;
58 @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
59 @headingsFontWeight: bold; // instead of browser default, bold
60 @headingsColor: inherit; // empty to use BS default, @textColor
64 // -------------------------
65 @tableBackground: transparent; // overall background-color
66 @tableBackgroundAccent: darken(@bodyBackground, 2%); // for striping
67 @tableBackgroundHover: darken(@bodyBackground, 4%); // for hover
68 @tableBorder: #ddd; // table and cell border
72 // -------------------------
73 @btnBackground: @white;
74 @btnBackgroundHighlight: darken(@white, 10%);
75 @btnBorder: darken(@white, 20%);
77 @btnPrimaryBackground: @linkColor;
78 @btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
80 @btnInfoBackground: #5bc0de;
81 @btnInfoBackgroundHighlight: #2f96b4;
83 @btnSuccessBackground: #62c462;
84 @btnSuccessBackgroundHighlight: #51a351;
86 @btnWarningBackground: lighten(@orange, 15%);
87 @btnWarningBackgroundHighlight: @orange;
89 @btnDangerBackground: #ee5f5b;
90 @btnDangerBackgroundHighlight: #bd362f;
92 @btnInverseBackground: @gray;
93 @btnInverseBackgroundHighlight: @grayDarker;
97 // -------------------------
98 @inputBackground: @white;
100 @inputBorderRadius: 3px;
101 @inputDisabledBackground: @grayLighter;
102 @formActionsBackground: transparent;
105 // -------------------------
106 @dropdownBackground: @white;
107 @dropdownBorder: rgba(0,0,0,.2);
108 @dropdownDividerTop: #e5e5e5;
109 @dropdownDividerBottom: @white;
111 @dropdownLinkColor: @linkColor;
113 @dropdownLinkColorHover: @linkColorHover;
114 @dropdownLinkBackgroundHover: rgba(255,255,255,0);
116 @dropdownLinkColorActive: @dropdownLinkColor;
117 @dropdownLinkBackgroundActive: @linkColor;
121 // COMPONENT VARIABLES
122 // --------------------------------------------------
124 // Z-index master list
125 // -------------------------
126 // Used for a bird's eye view of components dependent on the z-axis
127 // Try to avoid customizing these :)
128 @zindexDropdown: 1000;
129 @zindexPopover: 1010;
130 @zindexTooltip: 1030;
131 @zindexFixedNavbar: 1030;
132 @zindexModalBackdrop: 1040;
137 // -------------------------
138 @iconSpritePath: "../img/glyphicons-halflings.png";
139 @iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
142 // Input placeholder text color
143 // -------------------------
144 @placeholderText: @grayLight;
148 // -------------------------
149 @hrBorder: @grayLighter;
153 // -------------------------
154 @wellBackground: @white;
158 // -------------------------
159 @navbarCollapseWidth: 979px;
162 @navbarBackground: @bodyBackground;
163 @navbarBackgroundHighlight: @bodyBackground;
164 @navbarBorder: darken(@navbarBackground, 12%);
166 @navbarText: @textColor;
167 @navbarLinkColor: @textColor;
168 @navbarLinkColorHover: @linkColor;
169 @navbarLinkColorActive: @linkColor;
170 @navbarLinkBackgroundHover: transparent;
171 @navbarLinkBackgroundActive: @navbarBackground;
173 @navbarBrandColor: @navbarLinkColor;
176 @navbarInverseBackground: @linkColor;
177 @navbarInverseBackgroundHighlight: lighten(@linkColor, 3%);
178 @navbarInverseBorder: darken(@linkColor, 3%);
180 @navbarInverseText: @grayLighter;
181 @navbarInverseLinkColor: @grayLighter;
182 @navbarInverseLinkColorHover: @white;
183 @navbarInverseLinkColorActive: @white;
184 @navbarInverseLinkBackgroundHover: transparent;
185 @navbarInverseLinkBackgroundActive: @navbarInverseBackground;
187 @navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%);
188 @navbarInverseSearchBackgroundFocus: @white;
189 @navbarInverseSearchBorder: @navbarInverseBackground;
190 @navbarInverseSearchPlaceholderColor: @grayLighter;
192 @navbarInverseBrandColor: @navbarInverseLinkColor;
196 // -------------------------
197 @paginationBackground: #fff;
198 @paginationBorder: #ddd;
199 @paginationActiveBackground: #f5f5f5;
203 // -------------------------
204 @heroUnitBackground: @white;
205 @heroUnitHeadingColor: inherit;
206 @heroUnitLeadColor: inherit;
209 // Form states and alerts
210 // -------------------------
211 @warningText: #c09853;
212 @warningBackground: #fcf8e3;
213 @warningBorder: darken(spin(@warningBackground, -10), 3%);
216 @errorBackground: #f2dede;
217 @errorBorder: darken(spin(@errorBackground, -10), 3%);
219 @successText: #468847;
220 @successBackground: #dff0d8;
221 @successBorder: darken(spin(@successBackground, -10), 5%);
224 @infoBackground: #d9edf7;
225 @infoBorder: darken(spin(@infoBackground, -10), 7%);
228 // Tooltips and popovers
229 // -------------------------
231 @tooltipBackground: #000;
232 @tooltipArrowWidth: 5px;
233 @tooltipArrowColor: @tooltipBackground;
235 @popoverBackground: #fff;
236 @popoverArrowWidth: 10px;
237 @popoverArrowColor: #fff;
238 @popoverTitleBackground: darken(@popoverBackground, 3%);
240 // Special enhancement for popovers
241 @popoverArrowOuterWidth: @popoverArrowWidth + 1;
242 @popoverArrowOuterColor: rgba(0,0,0,.25);
247 // --------------------------------------------------
250 // Default 940px grid
251 // -------------------------
253 @gridColumnWidth: 60px;
254 @gridGutterWidth: 20px;
255 @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
258 @gridColumnWidth1200: 70px;
259 @gridGutterWidth1200: 30px;
260 @gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
263 @gridColumnWidth768: 42px;
264 @gridGutterWidth768: 20px;
265 @gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
269 // -------------------------
270 @fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth);
271 @fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth);
274 @fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200);
275 @fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200);
278 @fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768);
279 @fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768);