defined only one css to reduce the request and implemented custom css via import
3 // --------------------------------------------------
7 // --------------------------------------------------
10 // -------------------------
12 @blue-light: rgba(18,88,131,.6);
13 @blue-darker: #0E394F;
15 @yellow-light: rgba(253,201,26,.6);
18 // -------------------------
20 @gray-darker: lighten(#000, 13.5%); // #222
21 @gray-dark: lighten(#000, 20%); // #333
22 @gray: lighten(#000, 33.5%); // #555
23 @gray-light: lighten(#000, 60%); // #999
24 @gray-lighter: lighten(#000, 93.5%); // #eee
27 // -------------------------
29 @brand-primary: #428bca;
30 @brand-success: #5cb85c;
31 @brand-warning: #f0ad4e;
32 @brand-danger: #d9534f;
36 // -------------------------
39 @text-color: @gray-dark;
42 // -------------------------
44 @link-color: @brand-primary;
45 @link-hover-color: darken(@link-color, 15%);
48 // -------------------------
50 @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
51 @font-family-serif: Georgia, "Times New Roman", Times, serif;
52 @font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
53 @font-family-base: @font-family-sans-serif;
55 @font-size-base: 14px;
56 @font-size-large: ceil(@font-size-base * 1.25); // ~18px
57 @font-size-small: ceil(@font-size-base * 0.85); // ~12px
59 @font-size-h1: floor(@font-size-base * 2.6); // ~36px
60 @font-size-h2: floor(@font-size-base * 2.15); // ~30px
61 @font-size-h3: ceil(@font-size-base * 1.7); // ~24px
62 @font-size-h4: ceil(@font-size-base * 1.25); // ~18px
63 @font-size-h5: @font-size-base;
64 @font-size-h6: ceil(@font-size-base * 0.85); // ~12px
66 @line-height-base: 1.428571429; // 20/14
67 @line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
69 @headings-font-family: @font-family-base;
70 @headings-font-weight: 500;
71 @headings-line-height: 1.1;
72 @headings-color: inherit;
76 // -------------------------
78 @icon-font-path: "../fonts/";
79 @icon-font-name: "glyphicons-halflings-regular";
83 // -------------------------
84 // Based on 14px font-size and 1.428 line-height (~20px to start)
86 @padding-base-vertical: 6px;
87 @padding-base-horizontal: 12px;
89 @padding-large-vertical: 10px;
90 @padding-large-horizontal: 16px;
92 @padding-small-vertical: 5px;
93 @padding-small-horizontal: 10px;
95 @padding-xs-vertical: 1px;
96 @padding-xs-horizontal: 5px;
98 @line-height-large: 1.33;
99 @line-height-small: 1.5;
101 @border-radius-base: 4px;
102 @border-radius-large: 6px;
103 @border-radius-small: 3px;
105 @component-active-color: #fff;
106 @component-active-bg: @brand-primary;
108 @caret-width-base: 4px;
109 @caret-width-large: 5px;
112 // -------------------------
114 @table-cell-padding: 8px;
115 @table-condensed-cell-padding: 5px;
117 @table-bg: transparent; // overall background-color
118 @table-bg-accent: #f9f9f9; // for striping
119 @table-bg-hover: #f5f5f5;
120 @table-bg-active: @table-bg-hover;
122 @table-border-color: #ddd; // table and cell border
126 // -------------------------
128 @btn-font-weight: normal;
130 @btn-default-color: #333;
131 @btn-default-bg: #fff;
132 @btn-default-border: #ccc;
134 @btn-primary-color: #fff;
135 @btn-primary-bg: @brand-primary;
136 @btn-primary-border: darken(@btn-primary-bg, 5%);
138 @btn-success-color: #fff;
139 @btn-success-bg: @brand-success;
140 @btn-success-border: darken(@btn-success-bg, 5%);
142 @btn-warning-color: #fff;
143 @btn-warning-bg: @brand-warning;
144 @btn-warning-border: darken(@btn-warning-bg, 5%);
146 @btn-danger-color: #fff;
147 @btn-danger-bg: @brand-danger;
148 @btn-danger-border: darken(@btn-danger-bg, 5%);
150 @btn-info-color: #fff;
151 @btn-info-bg: @brand-info;
152 @btn-info-border: darken(@btn-info-bg, 5%);
154 @btn-link-disabled-color: @gray-light;
158 // -------------------------
161 @input-bg-disabled: @gray-lighter;
165 @input-border-radius: @border-radius-base;
166 @input-border-focus: #66afe9;
168 @input-color-placeholder: @gray-light;
170 @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
171 @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
172 @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
174 @legend-color: @gray-dark;
175 @legend-border-color: #e5e5e5;
177 @input-group-addon-bg: @gray-lighter;
178 @input-group-addon-border-color: @input-border;
182 // -------------------------
185 @dropdown-border: rgba(0,0,0,.15);
186 @dropdown-fallback-border: #ccc;
187 @dropdown-divider-bg: #e5e5e5;
189 @dropdown-link-color: @gray-dark;
190 @dropdown-link-hover-color: darken(@gray-dark, 5%);
191 @dropdown-link-hover-bg: #f5f5f5;
193 @dropdown-link-active-color: @component-active-color;
194 @dropdown-link-active-bg: @component-active-bg;
196 @dropdown-link-disabled-color: @gray-light;
198 @dropdown-header-color: @gray-light;
201 // COMPONENT VARIABLES
202 // --------------------------------------------------
205 // Z-index master list
206 // -------------------------
207 // Used for a bird's eye view of components dependent on the z-axis
208 // Try to avoid customizing these :)
210 @zindex-navbar: 1000;
211 @zindex-dropdown: 1000;
212 @zindex-popover: 1010;
213 @zindex-tooltip: 1030;
214 @zindex-navbar-fixed: 1030;
215 @zindex-modal-background: 1040;
218 // Media queries breakpoints
219 // --------------------------------------------------
221 // Extra small screen / phone
222 // Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
224 @screen-xs-min: @screen-xs;
225 @screen-phone: @screen-xs-min;
227 // Small screen / tablet
228 // Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1
230 @screen-sm-min: @screen-sm;
231 @screen-tablet: @screen-sm-min;
233 // Medium screen / desktop
234 // Note: Deprecated @screen-md and @screen-desktop as of v3.0.1
236 @screen-md-min: @screen-md;
237 @screen-desktop: @screen-md-min;
239 // Large screen / wide desktop
240 // Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1
242 @screen-lg-min: @screen-lg;
243 @screen-lg-desktop: @screen-lg-min;
245 // So media queries don't overlap when required, provide a maximum
246 @screen-xs-max: (@screen-sm-min - 1);
247 @screen-sm-max: (@screen-md-min - 1);
248 @screen-md-max: (@screen-lg-min - 1);
252 // --------------------------------------------------
254 // Number of columns in the grid system
256 // Padding, to be divided by two and applied to the left and right of all columns
257 @grid-gutter-width: 30px;
261 // Point at which the navbar becomes uncollapsed
262 @grid-float-breakpoint: @screen-sm-min;
263 // Point at which the navbar begins collapsing
264 @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
268 // -------------------------
270 // Basics of a navbar
271 @navbar-height: 50px;
272 @navbar-margin-bottom: @line-height-computed;
273 @navbar-border-radius: @border-radius-base;
274 @navbar-padding-horizontal: floor(@grid-gutter-width / 2);
275 @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
277 @navbar-default-color: #777;
278 @navbar-default-bg: transparent;
279 @navbar-default-border: transparent;
282 @navbar-default-link-color: #777;
283 @navbar-default-link-hover-color: #333;
284 @navbar-default-link-hover-bg: transparent;
285 @navbar-default-link-active-color: #555;
286 @navbar-default-link-active-bg: transparent;
287 @navbar-default-link-disabled-color: #ccc;
288 @navbar-default-link-disabled-bg: transparent;
290 // Navbar brand label
291 @navbar-default-brand-color: @navbar-default-link-color;
292 @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
293 @navbar-default-brand-hover-bg: transparent;
296 @navbar-default-toggle-hover-bg: #ddd;
297 @navbar-default-toggle-icon-bar-bg: #ccc;
298 @navbar-default-toggle-border-color: #ddd;
303 // Reset inverted navbar basics
304 @navbar-inverse-color: @gray-light;
305 @navbar-inverse-bg: #222;
306 @navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
308 // Inverted navbar links
309 @navbar-inverse-link-color: @gray-light;
310 @navbar-inverse-link-hover-color: #fff;
311 @navbar-inverse-link-hover-bg: transparent;
312 @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
313 @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
314 @navbar-inverse-link-disabled-color: #444;
315 @navbar-inverse-link-disabled-bg: transparent;
317 // Inverted navbar brand label
318 @navbar-inverse-brand-color: @navbar-inverse-link-color;
319 @navbar-inverse-brand-hover-color: #fff;
320 @navbar-inverse-brand-hover-bg: transparent;
322 // Inverted navbar toggle
323 @navbar-inverse-toggle-hover-bg: #333;
324 @navbar-inverse-toggle-icon-bar-bg: #fff;
325 @navbar-inverse-toggle-border-color: #333;
329 // -------------------------
331 @nav-link-padding: 10px 15px;
332 @nav-link-hover-bg: @gray-lighter;
334 @nav-disabled-link-color: @gray-light;
335 @nav-disabled-link-hover-color: @gray-light;
337 @nav-open-link-hover-color: #fff;
340 @nav-tabs-border-color: #ddd;
342 @nav-tabs-link-hover-border-color: @gray-lighter;
344 @nav-tabs-active-link-hover-bg: @body-bg;
345 @nav-tabs-active-link-hover-color: @gray;
346 @nav-tabs-active-link-hover-border-color: #ddd;
348 @nav-tabs-justified-link-border-color: #ddd;
349 @nav-tabs-justified-active-link-border-color: @body-bg;
352 @nav-pills-border-radius: @border-radius-base;
353 @nav-pills-active-link-hover-bg: @component-active-bg;
354 @nav-pills-active-link-hover-color: @component-active-color;
358 // -------------------------
360 @pagination-bg: #fff;
361 @pagination-border: #ddd;
363 @pagination-hover-bg: @gray-lighter;
365 @pagination-active-bg: @brand-primary;
366 @pagination-active-color: #fff;
368 @pagination-disabled-color: @gray-light;
372 // -------------------------
374 @pager-border-radius: 15px;
375 @pager-disabled-color: @gray-light;
379 // -------------------------
381 @jumbotron-padding: 30px;
382 @jumbotron-color: inherit;
383 @jumbotron-bg: @gray-lighter;
384 @jumbotron-heading-color: inherit;
385 @jumbotron-font-size: ceil(@font-size-base * 1.5);
388 // Form states and alerts
389 // -------------------------
391 @state-success-text: #3c763d;
392 @state-success-bg: #dff0d8;
393 @state-success-border: darken(spin(@state-success-bg, -10), 5%);
395 @state-info-text: #31708f;
396 @state-info-bg: #d9edf7;
397 @state-info-border: darken(spin(@state-info-bg, -10), 7%);
399 @state-warning-text: #8a6d3b;
400 @state-warning-bg: #fcf8e3;
401 @state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
403 @state-danger-text: #a94442;
404 @state-danger-bg: #f2dede;
405 @state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
409 // -------------------------
410 @tooltip-max-width: 200px;
411 @tooltip-color: #fff;
414 @tooltip-arrow-width: 5px;
415 @tooltip-arrow-color: @tooltip-bg;
419 // -------------------------
421 @popover-max-width: 276px;
422 @popover-border-color: rgba(0,0,0,.2);
423 @popover-fallback-border-color: #ccc;
425 @popover-title-bg: darken(@popover-bg, 3%);
427 @popover-arrow-width: 10px;
428 @popover-arrow-color: #fff;
430 @popover-arrow-outer-width: (@popover-arrow-width + 1);
431 @popover-arrow-outer-color: rgba(0,0,0,.25);
432 @popover-arrow-outer-fallback-color: #999;
436 // -------------------------
438 @label-default-bg: @gray-light;
439 @label-primary-bg: @brand-primary;
440 @label-success-bg: @brand-success;
441 @label-info-bg: @brand-info;
442 @label-warning-bg: @brand-warning;
443 @label-danger-bg: @brand-danger;
446 @label-link-hover-color: #fff;
450 // -------------------------
451 @modal-inner-padding: 20px;
453 @modal-title-padding: 15px;
454 @modal-title-line-height: @line-height-base;
456 @modal-content-bg: #fff;
457 @modal-content-border-color: rgba(0,0,0,.2);
458 @modal-content-fallback-border-color: #999;
460 @modal-backdrop-bg: #000;
461 @modal-header-border-color: #e5e5e5;
462 @modal-footer-border-color: @modal-header-border-color;
466 // -------------------------
467 @alert-padding: 15px;
468 @alert-border-radius: @border-radius-base;
469 @alert-link-font-weight: bold;
471 @alert-success-bg: @state-success-bg;
472 @alert-success-text: @state-success-text;
473 @alert-success-border: @state-success-border;
475 @alert-info-bg: @state-info-bg;
476 @alert-info-text: @state-info-text;
477 @alert-info-border: @state-info-border;
479 @alert-warning-bg: @state-warning-bg;
480 @alert-warning-text: @state-warning-text;
481 @alert-warning-border: @state-warning-border;
483 @alert-danger-bg: @state-danger-bg;
484 @alert-danger-text: @state-danger-text;
485 @alert-danger-border: @state-danger-border;
489 // -------------------------
490 @progress-bg: #f5f5f5;
491 @progress-bar-color: #fff;
493 @progress-bar-bg: @brand-primary;
494 @progress-bar-success-bg: @brand-success;
495 @progress-bar-warning-bg: @brand-warning;
496 @progress-bar-danger-bg: @brand-danger;
497 @progress-bar-info-bg: @brand-info;
501 // -------------------------
502 @list-group-bg: #fff;
503 @list-group-border: #ddd;
504 @list-group-border-radius: @border-radius-base;
506 @list-group-hover-bg: #f5f5f5;
507 @list-group-active-color: @component-active-color;
508 @list-group-active-bg: @component-active-bg;
509 @list-group-active-border: @list-group-active-bg;
511 @list-group-link-color: #555;
512 @list-group-link-heading-color: #333;
516 // -------------------------
518 @panel-inner-border: #ddd;
519 @panel-border-radius: @border-radius-base;
520 @panel-footer-bg: #f5f5f5;
522 @panel-default-text: @gray-dark;
523 @panel-default-border: #ddd;
524 @panel-default-heading-bg: #f5f5f5;
526 @panel-primary-text: #fff;
527 @panel-primary-border: @brand-primary;
528 @panel-primary-heading-bg: @brand-primary;
530 @panel-success-text: @state-success-text;
531 @panel-success-border: @state-success-border;
532 @panel-success-heading-bg: @state-success-bg;
534 @panel-warning-text: @state-warning-text;
535 @panel-warning-border: @state-warning-border;
536 @panel-warning-heading-bg: @state-warning-bg;
538 @panel-danger-text: @state-danger-text;
539 @panel-danger-border: @state-danger-border;
540 @panel-danger-heading-bg: @state-danger-bg;
542 @panel-info-text: @state-info-text;
543 @panel-info-border: @state-info-border;
544 @panel-info-heading-bg: @state-info-bg;
548 // -------------------------
549 @thumbnail-padding: 4px;
550 @thumbnail-bg: @body-bg;
551 @thumbnail-border: #ddd;
552 @thumbnail-border-radius: @border-radius-base;
554 @thumbnail-caption-color: @text-color;
555 @thumbnail-caption-padding: 9px;
559 // -------------------------
564 // -------------------------
566 @badge-link-hover-color: #fff;
567 @badge-bg: @gray-light;
569 @badge-active-color: @link-color;
570 @badge-active-bg: #fff;
572 @badge-font-weight: bold;
573 @badge-line-height: 1;
574 @badge-border-radius: 10px;
578 // -------------------------
579 @breadcrumb-bg: #f5f5f5;
580 @breadcrumb-color: #ccc;
581 @breadcrumb-active-color: @gray-light;
582 @breadcrumb-separator: "/";
586 // ------------------------
588 @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
590 @carousel-control-color: #fff;
591 @carousel-control-width: 15%;
592 @carousel-control-opacity: .5;
593 @carousel-control-font-size: 20px;
595 @carousel-indicator-active-bg: #fff;
596 @carousel-indicator-border-color: #fff;
598 @carousel-caption-color: #fff;
602 // ------------------------
603 @close-font-weight: bold;
605 @close-text-shadow: 0 1px 0 #fff;
609 // ------------------------
610 @code-color: #c7254e;
614 @pre-color: @gray-dark;
615 @pre-border-color: #ccc;
616 @pre-scrollable-max-height: 340px;
619 // ------------------------
620 @text-muted: @gray-light;
621 @abbr-border-color: @gray-light;
622 @headings-small-color: @gray-light;
623 @blockquote-small-color: @gray-light;
624 @blockquote-border-color: @gray-lighter;
625 @page-header-border-color: @gray-lighter;
628 // -------------------------
631 @hr-border: @gray-lighter;
633 // Horizontal forms & lists
634 @component-offset-horizontal: 180px;
638 // --------------------------------------------------
640 // Small screen / tablet
641 @container-tablet: ((720px + @grid-gutter-width));
642 @container-sm: @container-tablet;
644 // Medium screen / desktop
645 @container-desktop: ((940px + @grid-gutter-width));
646 @container-md: @container-desktop;
648 // Large screen / wide desktop
649 @container-large-desktop: ((1140px + @grid-gutter-width));
650 @container-lg: @container-large-desktop;