3 // --------------------------------------------------
7 // --------------------------------------------------
11 // -------------------------
22 // -------------------------
34 // -------------------------
35 @bodyBackground: @white;
36 @textColor: @grayDark;
40 // -------------------------
42 @linkColorHover: darken(@linkColor, 15%);
46 // -------------------------
47 @sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
48 @serifFontFamily: Georgia, "Times New Roman", Times, serif;
49 @monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace;
52 @baseFontFamily: @sansFontFamily;
53 @baseLineHeight: 20px;
54 @altFontFamily: @serifFontFamily;
56 @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
57 @headingsFontWeight: bold; // instead of browser default, bold
58 @headingsColor: inherit; // empty to use BS default, @textColor
61 // -------------------------
62 @tableBackground: transparent; // overall background-color
63 @tableBackgroundAccent: #f9f9f9; // for striping
64 @tableBackgroundHover: #f5f5f5; // for hover
65 @tableBorder: #ddd; // table and cell border
68 // -------------------------
69 @btnBackground: @white;
70 @btnBackgroundHighlight: darken(@white, 10%);
73 @btnPrimaryBackground: @linkColor;
74 @btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%);
76 @btnInfoBackground: #5bc0de;
77 @btnInfoBackgroundHighlight: #2f96b4;
79 @btnSuccessBackground: #62c462;
80 @btnSuccessBackgroundHighlight: #51a351;
82 @btnWarningBackground: lighten(@orange, 15%);
83 @btnWarningBackgroundHighlight: @orange;
85 @btnDangerBackground: #ee5f5b;
86 @btnDangerBackgroundHighlight: #bd362f;
88 @btnInverseBackground: #444;
89 @btnInverseBackgroundHighlight: @grayDarker;
93 // -------------------------
94 @inputBackground: @white;
96 @inputBorderRadius: 3px;
97 @inputDisabledBackground: @grayLighter;
98 @formActionsBackground: #f5f5f5;
101 // -------------------------
102 @dropdownBackground: @white;
103 @dropdownBorder: rgba(0,0,0,.2);
104 @dropdownDividerTop: #e5e5e5;
105 @dropdownDividerBottom: @white;
107 @dropdownLinkColor: @grayDark;
108 @dropdownLinkColorHover: @white;
109 @dropdownLinkColorActive: @dropdownLinkColor;
111 @dropdownLinkBackgroundActive: @linkColor;
112 @dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;
116 // COMPONENT VARIABLES
117 // --------------------------------------------------
119 // Z-index master list
120 // -------------------------
121 // Used for a bird's eye view of components dependent on the z-axis
122 // Try to avoid customizing these :)
123 @zindexDropdown: 1000;
124 @zindexPopover: 1010;
125 @zindexTooltip: 1030;
126 @zindexFixedNavbar: 1030;
127 @zindexModalBackdrop: 1040;
132 // -------------------------
133 @iconSpritePath: "../img/glyphicons-halflings.png";
134 @iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
137 // Input placeholder text color
138 // -------------------------
139 @placeholderText: @grayLight;
143 // -------------------------
144 @hrBorder: @grayLighter;
147 // Horizontal forms & lists
148 // -------------------------
149 @horizontalComponentOffset: 180px;
153 // -------------------------
154 @wellBackground: #f5f5f5;
158 // -------------------------
159 @navbarCollapseWidth: 979px;
162 @navbarBackgroundHighlight: #ffffff;
163 @navbarBackground: darken(@navbarBackgroundHighlight, 5%);
164 @navbarBorder: darken(@navbarBackground, 12%);
167 @navbarLinkColor: #777;
168 @navbarLinkColorHover: @grayDark;
169 @navbarLinkColorActive: @gray;
170 @navbarLinkBackgroundHover: transparent;
171 @navbarLinkBackgroundActive: darken(@navbarBackground, 5%);
173 @navbarBrandColor: @navbarLinkColor;
176 @navbarInverseBackground: #111111;
177 @navbarInverseBackgroundHighlight: #222222;
178 @navbarInverseBorder: #252525;
180 @navbarInverseText: @grayLight;
181 @navbarInverseLinkColor: @grayLight;
182 @navbarInverseLinkColorHover: @white;
183 @navbarInverseLinkColorActive: @navbarInverseLinkColorHover;
184 @navbarInverseLinkBackgroundHover: transparent;
185 @navbarInverseLinkBackgroundActive: @navbarInverseBackground;
187 @navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%);
188 @navbarInverseSearchBackgroundFocus: @white;
189 @navbarInverseSearchBorder: @navbarInverseBackground;
190 @navbarInverseSearchPlaceholderColor: #ccc;
192 @navbarInverseBrandColor: @navbarInverseLinkColor;
196 // -------------------------
197 @paginationBackground: #fff;
198 @paginationBorder: #ddd;
199 @paginationActiveBackground: #f5f5f5;
203 // -------------------------
204 @heroUnitBackground: @grayLighter;
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);