1 // Flat by Jenil(www.jgog.in)
3 // --------------------------------------------------
7 // --------------------------------------------------
10 // -------------------------
16 @grayLighter: #ECF0F1;
21 // -------------------------
33 // -------------------------
34 @bodyBackground: @white;
39 // -------------------------
41 @linkColorHover: darken(@linkColor, 15%);
45 // -------------------------
46 @sansFontFamily: "Lato", sans-serif;
47 @serifFontFamily: Georgia, "Times New Roman", Times, serif;
48 @monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace;
51 @baseFontFamily: @sansFontFamily;
52 @baseLineHeight: 20px;
53 @altFontFamily: @serifFontFamily;
55 @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
56 @headingsFontWeight: bold; // instead of browser default, bold
57 @headingsColor: inherit; // empty to use BS default, @textColor
61 // -------------------------
62 // Based on 14px font-size and 20px line-height
64 @fontSizeLarge: @baseFontSize * 1.25; // ~18px
65 @fontSizeSmall: @baseFontSize * 0.85; // ~12px
66 @fontSizeMini: @baseFontSize * 0.75; // ~11px
68 @paddingLarge: 11px 19px; // 44px
69 @paddingSmall: 2px 10px; // 26px
70 @paddingMini: 1px 6px; // 24px
72 @baseBorderRadius: 4px;
73 @borderRadiusLarge: 6px;
74 @borderRadiusSmall: 3px;
78 // -------------------------
79 @tableBackground: transparent; // overall background-color
80 @tableBackgroundAccent: #f9f9f9; // for striping
81 @tableBackgroundHover: #f5f5f5; // for hover
82 @tableBorder: #ddd; // table and cell border
85 // -------------------------
86 @btnBackground: @white;
87 @btnBackgroundHighlight: darken(@white, 10%);
90 @btnPrimaryBackground: @linkColor;
91 @btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%);
93 @btnInfoBackground: #5bc0de;
94 @btnInfoBackgroundHighlight: #2f96b4;
96 @btnSuccessBackground: #62c462;
97 @btnSuccessBackgroundHighlight: #51a351;
99 @btnWarningBackground: lighten(@orange, 15%);
100 @btnWarningBackgroundHighlight: @orange;
102 @btnDangerBackground: #ee5f5b;
103 @btnDangerBackgroundHighlight: #bd362f;
105 @btnInverseBackground: #444;
106 @btnInverseBackgroundHighlight: @grayDarker;
110 // -------------------------
111 @inputBackground: @white;
112 @inputBorder: @grayLight;
113 @inputBorderRadius: @baseBorderRadius;
114 @inputDisabledBackground: #eaeded;
115 @formActionsBackground: #f5f5f5;
116 @inputHeight: @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
120 // -------------------------
121 @dropdownBackground: @white;
122 @dropdownBorder: rgba(0,0,0,0);
123 @dropdownDividerTop: #2C3E50;
124 @dropdownDividerBottom: #2C3E50;
126 @dropdownLinkColor: #34495E;
127 @dropdownLinkColorHover: #34495E;
128 @dropdownLinkColorActive: @dropdownLinkColor;
130 @dropdownLinkBackgroundActive: @linkColor;
131 @dropdownLinkBackgroundHover: @linkColor;
135 // COMPONENT VARIABLES
136 // --------------------------------------------------
139 // Z-index master list
140 // -------------------------
141 // Used for a bird's eye view of components dependent on the z-axis
142 // Try to avoid customizing these :)
143 @zindexDropdown: 1000;
144 @zindexPopover: 1010;
145 @zindexTooltip: 1030;
146 @zindexFixedNavbar: 1030;
147 @zindexModalBackdrop: 1040;
152 // -------------------------
153 @iconSpritePath: "../img/glyphicons-halflings.png";
154 @iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
157 // Input placeholder text color
158 // -------------------------
159 @placeholderText: @grayLight;
163 // -------------------------
164 @hrBorder: @grayLighter;
167 // Horizontal forms & lists
168 // -------------------------
169 @horizontalComponentOffset: 180px;
173 // -------------------------
174 @wellBackground: #ECF0F1;
178 // -------------------------
179 @navbarCollapseWidth: 979px;
180 @navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
183 @navbarBackgroundHighlight: #34495e;
184 @navbarBackground: #34495e;
185 @navbarBorder: darken(@navbarBackground, 12%);
188 @navbarLinkColor: @white;
189 @navbarLinkColorHover: @linkColor;
190 @navbarLinkColorActive: @linkColor;
191 @navbarLinkBackgroundHover: transparent;
192 @navbarLinkBackgroundActive: darken(@navbarBackground, 5%);
194 @navbarBrandColor: @navbarLinkColor;
197 @navbarInverseBackground: @red;
198 @navbarInverseBackgroundHighlight: @red;
199 @navbarInverseBorder: #C0392B;
201 @navbarInverseText: @white;
202 @navbarInverseLinkColor: @white;
203 @navbarInverseLinkColorHover: @white;
204 @navbarInverseLinkColorActive: @yellow;
205 @navbarInverseLinkBackgroundHover: transparent;
206 @navbarInverseLinkBackgroundActive: @navbarInverseBackground;
208 @navbarInverseSearchBackground: lighten(@navbarInverseBackground, 25%);
209 @navbarInverseSearchBackgroundFocus: @white;
210 @navbarInverseSearchBorder: @navbarInverseBackground;
211 @navbarInverseSearchPlaceholderColor: @white;
213 @navbarInverseBrandColor: @navbarInverseLinkColor;
217 // -------------------------
218 @paginationBackground: #fff;
219 @paginationBorder: #ddd;
220 @paginationActiveBackground: #f5f5f5;
224 // -------------------------
225 @heroUnitBackground: @grayLighter;
226 @heroUnitHeadingColor: inherit;
227 @heroUnitLeadColor: inherit;
230 // Form states and alerts
231 // -------------------------
232 @warningText: darken(@yellow, 3%);
233 @warningBackground: lighten(@warningText,40%);
234 @warningBorder: darken(spin(@warningBackground, -10), 3%);
236 @errorText: darken(@red, 3%);
237 @errorBackground: lighten(@errorText,40%);
238 @errorBorder: darken(spin(@errorBackground, -10), 3%);
240 @successText: #27AE60;
241 @successBackground: lighten(@successText,40%);
242 @successBorder: darken(spin(@successBackground, -10), 5%);
244 @infoText: darken(@blue, 3%);
245 @infoBackground: lighten(@infoText,40%);
246 @infoBorder: darken(spin(@infoBackground, -10), 7%);
249 // Tooltips and popovers
250 // -------------------------
252 @tooltipBackground: @textColor;
253 @tooltipArrowWidth: 5px;
254 @tooltipArrowColor: @tooltipBackground;
256 @popoverBackground: lighten(@grayLighter,5%);
257 @popoverArrowWidth: 10px;
258 @popoverArrowColor: lighten(@grayLighter,5%);
259 @popoverTitleBackground: darken(@popoverBackground, 3%);
261 // Special enhancement for popovers
262 @popoverArrowOuterWidth: @popoverArrowWidth + 1;
263 @popoverArrowOuterColor: rgba(0,0,0,.25);
268 // --------------------------------------------------
271 // Default 940px grid
272 // -------------------------
274 @gridColumnWidth: 60px;
275 @gridGutterWidth: 20px;
276 @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
279 @gridColumnWidth1200: 70px;
280 @gridGutterWidth1200: 30px;
281 @gridRowWidth1200: (@gridColumns * @gridColumnWidth1200) + (@gridGutterWidth1200 * (@gridColumns - 1));
284 @gridColumnWidth768: 42px;
285 @gridGutterWidth768: 20px;
286 @gridRowWidth768: (@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1));
290 // -------------------------
291 @fluidGridColumnWidth: percentage(@gridColumnWidth/@gridRowWidth);
292 @fluidGridGutterWidth: percentage(@gridGutterWidth/@gridRowWidth);
295 @fluidGridColumnWidth1200: percentage(@gridColumnWidth1200/@gridRowWidth1200);
296 @fluidGridGutterWidth1200: percentage(@gridGutterWidth1200/@gridRowWidth1200);
299 @fluidGridColumnWidth768: percentage(@gridColumnWidth768/@gridRowWidth768);
300 @fluidGridGutterWidth768: percentage(@gridGutterWidth768/@gridRowWidth768);