├── .gitignore ├── README.md ├── bower.json ├── .jshintrc ├── package.json ├── less ├── style.less └── include │ └── variables.less ├── gulpfile.js └── public └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /bower_components 3 | /public/css -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | tinker 2 | ====== 3 | 4 | Simple twbs example 5 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tinker", 3 | "version": "0.0.0", 4 | "dependencies": { 5 | "bootstrap": "~3.3.0", 6 | "jquery": "~1.11.1" 7 | }, 8 | "devDependencies": {} 9 | } 10 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "boss": true, 3 | "eqeqeq": true, 4 | "eqnull": true, 5 | "expr": true, 6 | "immed": true, 7 | "noarg": true, 8 | "onevar": true, 9 | "quotmark": "double", 10 | "smarttabs": true, 11 | "trailing": true, 12 | "undef": true, 13 | "unused": true, 14 | "indent": 4, 15 | "forin": true, 16 | "expr": true, 17 | 18 | "browser": true, 19 | "node": true, 20 | "devel": true 21 | } 22 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tinker", 3 | "version": "1.0.0", 4 | "description": "Simple twbs example", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/marsmining/tinker.git" 12 | }, 13 | "author": "", 14 | "license": "ISC", 15 | "bugs": { 16 | "url": "https://github.com/marsmining/tinker/issues" 17 | }, 18 | "homepage": "https://github.com/marsmining/tinker", 19 | "devDependencies": { 20 | "gulp": "^3.8.10", 21 | "gulp-less": "^1.3.6" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /less/style.less: -------------------------------------------------------------------------------- 1 | @import "../bower_components/bootstrap/less/bootstrap.less"; 2 | @import "include/variables.less"; 3 | 4 | body { 5 | padding-top: 20px; 6 | padding-bottom: 20px; 7 | 8 | background: 9 | radial-gradient(circle at 0% 50%, rgba(96, 16, 48, 0) 9px, #613 10px, rgba(96, 16, 48, 0) 11px) 0px 10px, 10 | radial-gradient(at 100% 100%, rgba(96, 16, 48, 0) 9px, #613 10px, rgba(96, 16, 48, 0) 11px), 11 | #8a3; 12 | background-size: 20px 20px; 13 | 14 | } 15 | 16 | /* gradients */ 17 | 18 | nav { 19 | background: linear-gradient(to right, @sandal-ocean, @sandal-foam, @sandal-ocean); 20 | } 21 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require("gulp"); 2 | var less = require("gulp-less"); 3 | var path = require("path"); 4 | 5 | gulp.task("less", function () { 6 | gulp.src("less/*.less") 7 | .pipe(less({ 8 | paths: [ path.join(__dirname, "less", "includes") ] 9 | })) 10 | .pipe(gulp.dest("./public/css")); 11 | }); 12 | 13 | gulp.task("watch", function () { 14 | var watcher = gulp.watch("less/**/*.less", ["less"]); 15 | watcher.on("change", function(event) { 16 | console.log("File " + event.path + " was " + event.type + ", running tasks..."); 17 | }); 18 | }); 19 | 20 | gulp.task("default", ["less"]); 21 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Navbar Example 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 55 | 56 | 57 |
58 |

Navbar example

59 |

This example is to test navbar gradients.

60 |

61 | 63 | View this Button » 64 |

65 |
66 | 67 |
68 | 69 | 70 | 71 | 72 | 73 | 74 | -------------------------------------------------------------------------------- /less/include/variables.less: -------------------------------------------------------------------------------- 1 | // 2 | // Variables 3 | // -------------------------------------------------- 4 | 5 | 6 | //== Colors 7 | // 8 | //## Gray and brand colors for use across Bootstrap. 9 | 10 | @sandal-cream: #f6f4e9; 11 | @sandal-sand: #e6ddc7; 12 | @sandal-ocean: #a7cbcf; 13 | @sandal-foam: #bfd9dc; 14 | 15 | @gray-base: #000; 16 | @gray-darker: lighten(@gray-base, 13.5%); // #222 17 | @gray-dark: lighten(@gray-base, 20%); // #333 18 | @gray: lighten(@gray-base, 33.5%); // #555 19 | @gray-light: lighten(@gray-base, 46.7%); // #777 20 | @gray-lighter: lighten(@gray-base, 93.5%); // #eee 21 | 22 | @brand-primary: @sandal-ocean; 23 | @brand-success: #5cb85c; 24 | @brand-info: #5bc0de; 25 | @brand-warning: #f0ad4e; 26 | @brand-danger: #d9534f; 27 | 28 | 29 | //== Scaffolding 30 | // 31 | //## Settings for some of the most global styles. 32 | 33 | //** Background color for ``. 34 | @body-bg: @sandal-cream; 35 | //** Global text color on ``. 36 | @text-color: @gray-darker; 37 | 38 | //** Global textual link color. 39 | @link-color: @brand-primary; 40 | //** Link hover color set via `darken()` function. 41 | @link-hover-color: darken(@link-color, 15%); 42 | 43 | 44 | //== Typography 45 | // 46 | //## Font, line-height, and color for body text, headings, and more. 47 | 48 | @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; 49 | @font-family-serif: Georgia, "Times New Roman", Times, serif; 50 | //** Default monospace fonts for ``, ``, and `
`.
 51 | @font-family-monospace:   Menlo, Monaco, Consolas, "Courier New", monospace;
 52 | @font-family-base:        @font-family-sans-serif;
 53 | 
 54 | @font-size-base:          14px;
 55 | @font-size-large:         ceil((@font-size-base * 1.25)); // ~18px
 56 | @font-size-small:         ceil((@font-size-base * 0.85)); // ~12px
 57 | 
 58 | @font-size-h1:            floor((@font-size-base * 2.6)); // ~36px
 59 | @font-size-h2:            floor((@font-size-base * 2.15)); // ~30px
 60 | @font-size-h3:            ceil((@font-size-base * 1.7)); // ~24px
 61 | @font-size-h4:            ceil((@font-size-base * 1.25)); // ~18px
 62 | @font-size-h5:            @font-size-base;
 63 | @font-size-h6:            ceil((@font-size-base * 0.85)); // ~12px
 64 | 
 65 | //** Unit-less `line-height` for use in components like buttons.
 66 | @line-height-base:        1.428571429; // 20/14
 67 | //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
 68 | @line-height-computed:    floor((@font-size-base * @line-height-base)); // ~20px
 69 | 
 70 | //** By default, this inherits from the ``.
 71 | @headings-font-family:    inherit;
 72 | @headings-font-weight:    500;
 73 | @headings-line-height:    1.1;
 74 | @headings-color:          inherit;
 75 | 
 76 | 
 77 | //== Iconography
 78 | //
 79 | //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
 80 | 
 81 | //** Load fonts from this directory.
 82 | @icon-font-path:          "../fonts/";
 83 | //** File name for all font files.
 84 | @icon-font-name:          "glyphicons-halflings-regular";
 85 | //** Element ID within SVG icon file.
 86 | @icon-font-svg-id:        "glyphicons_halflingsregular";
 87 | 
 88 | 
 89 | //== Components
 90 | //
 91 | //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
 92 | 
 93 | @padding-base-vertical:     6px;
 94 | @padding-base-horizontal:   12px;
 95 | 
 96 | @padding-large-vertical:    10px;
 97 | @padding-large-horizontal:  16px;
 98 | 
 99 | @padding-small-vertical:    5px;
100 | @padding-small-horizontal:  10px;
101 | 
102 | @padding-xs-vertical:       1px;
103 | @padding-xs-horizontal:     5px;
104 | 
105 | @line-height-large:         1.33;
106 | @line-height-small:         1.5;
107 | 
108 | @border-radius-base:        4px;
109 | @border-radius-large:       6px;
110 | @border-radius-small:       3px;
111 | 
112 | //** Global color for active items (e.g., navs or dropdowns).
113 | @component-active-color:    #fff;
114 | //** Global background color for active items (e.g., navs or dropdowns).
115 | @component-active-bg:       @brand-primary;
116 | 
117 | //** Width of the `border` for generating carets that indicator dropdowns.
118 | @caret-width-base:          4px;
119 | //** Carets increase slightly in size for larger components.
120 | @caret-width-large:         5px;
121 | 
122 | 
123 | //== Tables
124 | //
125 | //## Customizes the `.table` component with basic values, each used across all table variations.
126 | 
127 | //** Padding for ``s and ``s.
128 | @table-cell-padding:            8px;
129 | //** Padding for cells in `.table-condensed`.
130 | @table-condensed-cell-padding:  5px;
131 | 
132 | //** Default background color used for all tables.
133 | @table-bg:                      transparent;
134 | //** Background color used for `.table-striped`.
135 | @table-bg-accent:               #f9f9f9;
136 | //** Background color used for `.table-hover`.
137 | @table-bg-hover:                #f5f5f5;
138 | @table-bg-active:               @table-bg-hover;
139 | 
140 | //** Border color for table and cell borders.
141 | @table-border-color:            #ddd;
142 | 
143 | 
144 | //== Buttons
145 | //
146 | //## For each of Bootstrap's buttons, define text, background and border color.
147 | 
148 | @btn-font-weight:                normal;
149 | 
150 | @btn-default-color:              #333;
151 | @btn-default-bg:                 #fff;
152 | @btn-default-border:             #ccc;
153 | 
154 | @btn-primary-color:              #fff;
155 | @btn-primary-bg:                 @brand-primary;
156 | @btn-primary-border:             darken(@btn-primary-bg, 5%);
157 | 
158 | @btn-success-color:              #fff;
159 | @btn-success-bg:                 @brand-success;
160 | @btn-success-border:             darken(@btn-success-bg, 5%);
161 | 
162 | @btn-info-color:                 #fff;
163 | @btn-info-bg:                    @brand-info;
164 | @btn-info-border:                darken(@btn-info-bg, 5%);
165 | 
166 | @btn-warning-color:              #fff;
167 | @btn-warning-bg:                 @brand-warning;
168 | @btn-warning-border:             darken(@btn-warning-bg, 5%);
169 | 
170 | @btn-danger-color:               #fff;
171 | @btn-danger-bg:                  @brand-danger;
172 | @btn-danger-border:              darken(@btn-danger-bg, 5%);
173 | 
174 | @btn-link-disabled-color:        @gray-light;
175 | 
176 | 
177 | //== Forms
178 | //
179 | //##
180 | 
181 | //** `` background color
182 | @input-bg:                       #fff;
183 | //** `` background color
184 | @input-bg-disabled:              @gray-lighter;
185 | 
186 | //** Text color for ``s
187 | @input-color:                    @gray;
188 | //** `` border color
189 | @input-border:                   #ccc;
190 | 
191 | // TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4
192 | //** Default `.form-control` border radius
193 | @input-border-radius:            @border-radius-base;
194 | //** Large `.form-control` border radius
195 | @input-border-radius-large:      @border-radius-large;
196 | //** Small `.form-control` border radius
197 | @input-border-radius-small:      @border-radius-small;
198 | 
199 | //** Border color for inputs on focus
200 | @input-border-focus:             #66afe9;
201 | 
202 | //** Placeholder text color
203 | @input-color-placeholder:        #999;
204 | 
205 | //** Default `.form-control` height
206 | @input-height-base:              (@line-height-computed + (@padding-base-vertical * 2) + 2);
207 | //** Large `.form-control` height
208 | @input-height-large:             (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
209 | //** Small `.form-control` height
210 | @input-height-small:             (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
211 | 
212 | @legend-color:                   @gray-dark;
213 | @legend-border-color:            #e5e5e5;
214 | 
215 | //** Background color for textual input addons
216 | @input-group-addon-bg:           @gray-lighter;
217 | //** Border color for textual input addons
218 | @input-group-addon-border-color: @input-border;
219 | 
220 | 
221 | //== Dropdowns
222 | //
223 | //## Dropdown menu container and contents.
224 | 
225 | //** Background for the dropdown menu.
226 | @dropdown-bg:                    @sandal-cream;
227 | //** Dropdown menu `border-color`.
228 | @dropdown-border:                rgba(0,0,0,.15);
229 | //** Dropdown menu `border-color` **for IE8**.
230 | @dropdown-fallback-border:       #ccc;
231 | //** Divider color for between dropdown items.
232 | @dropdown-divider-bg:            #e5e5e5;
233 | 
234 | //** Dropdown link text color.
235 | @dropdown-link-color:            @gray-dark;
236 | //** Hover color for dropdown links.
237 | @dropdown-link-hover-color:      darken(@gray-dark, 5%);
238 | //** Hover background for dropdown links.
239 | @dropdown-link-hover-bg:         @sandal-sand;
240 | 
241 | //** Active dropdown menu item text color.
242 | @dropdown-link-active-color:     @component-active-color;
243 | //** Active dropdown menu item background color.
244 | @dropdown-link-active-bg:        @component-active-bg;
245 | 
246 | //** Disabled dropdown menu item background color.
247 | @dropdown-link-disabled-color:   @gray-light;
248 | 
249 | //** Text color for headers within dropdown menus.
250 | @dropdown-header-color:          @gray-light;
251 | 
252 | //** Deprecated `@dropdown-caret-color` as of v3.1.0
253 | @dropdown-caret-color:           #000;
254 | 
255 | 
256 | //-- Z-index master list
257 | //
258 | // Warning: Avoid customizing these values. They're used for a bird's eye view
259 | // of components dependent on the z-axis and are designed to all work together.
260 | //
261 | // Note: These variables are not generated into the Customizer.
262 | 
263 | @zindex-navbar:            1000;
264 | @zindex-dropdown:          1000;
265 | @zindex-popover:           1060;
266 | @zindex-tooltip:           1070;
267 | @zindex-navbar-fixed:      1030;
268 | @zindex-modal:             1040;
269 | 
270 | 
271 | //== Media queries breakpoints
272 | //
273 | //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
274 | 
275 | // Extra small screen / phone
276 | //** Deprecated `@screen-xs` as of v3.0.1
277 | @screen-xs:                  480px;
278 | //** Deprecated `@screen-xs-min` as of v3.2.0
279 | @screen-xs-min:              @screen-xs;
280 | //** Deprecated `@screen-phone` as of v3.0.1
281 | @screen-phone:               @screen-xs-min;
282 | 
283 | // Small screen / tablet
284 | //** Deprecated `@screen-sm` as of v3.0.1
285 | @screen-sm:                  768px;
286 | @screen-sm-min:              @screen-sm;
287 | //** Deprecated `@screen-tablet` as of v3.0.1
288 | @screen-tablet:              @screen-sm-min;
289 | 
290 | // Medium screen / desktop
291 | //** Deprecated `@screen-md` as of v3.0.1
292 | @screen-md:                  992px;
293 | @screen-md-min:              @screen-md;
294 | //** Deprecated `@screen-desktop` as of v3.0.1
295 | @screen-desktop:             @screen-md-min;
296 | 
297 | // Large screen / wide desktop
298 | //** Deprecated `@screen-lg` as of v3.0.1
299 | @screen-lg:                  1200px;
300 | @screen-lg-min:              @screen-lg;
301 | //** Deprecated `@screen-lg-desktop` as of v3.0.1
302 | @screen-lg-desktop:          @screen-lg-min;
303 | 
304 | // So media queries don't overlap when required, provide a maximum
305 | @screen-xs-max:              (@screen-sm-min - 1);
306 | @screen-sm-max:              (@screen-md-min - 1);
307 | @screen-md-max:              (@screen-lg-min - 1);
308 | 
309 | 
310 | //== Grid system
311 | //
312 | //## Define your custom responsive grid.
313 | 
314 | //** Number of columns in the grid.
315 | @grid-columns:              12;
316 | //** Padding between columns. Gets divided in half for the left and right.
317 | @grid-gutter-width:         30px;
318 | // Navbar collapse
319 | //** Point at which the navbar becomes uncollapsed.
320 | @grid-float-breakpoint:     @screen-sm-min;
321 | //** Point at which the navbar begins collapsing.
322 | @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
323 | 
324 | 
325 | //== Container sizes
326 | //
327 | //## Define the maximum width of `.container` for different screen sizes.
328 | 
329 | // Small screen / tablet
330 | @container-tablet:             (720px + @grid-gutter-width);
331 | //** For `@screen-sm-min` and up.
332 | @container-sm:                 @container-tablet;
333 | 
334 | // Medium screen / desktop
335 | @container-desktop:            (940px + @grid-gutter-width);
336 | //** For `@screen-md-min` and up.
337 | @container-md:                 @container-desktop;
338 | 
339 | // Large screen / wide desktop
340 | @container-large-desktop:      (1140px + @grid-gutter-width);
341 | //** For `@screen-lg-min` and up.
342 | @container-lg:                 @container-large-desktop;
343 | 
344 | 
345 | //== Navbar
346 | //
347 | //##
348 | 
349 | // Basics of a navbar
350 | @navbar-height:                    50px;
351 | @navbar-margin-bottom:             @line-height-computed;
352 | @navbar-border-radius:             @border-radius-base;
353 | @navbar-padding-horizontal:        floor((@grid-gutter-width / 2));
354 | @navbar-padding-vertical:          ((@navbar-height - @line-height-computed) / 2);
355 | @navbar-collapse-max-height:       340px;
356 | 
357 | @navbar-default-color:             #777;
358 | @navbar-default-bg:                #f8f8f8;
359 | @navbar-default-border:            darken(@navbar-default-bg, 6.5%);
360 | 
361 | // Navbar links
362 | @navbar-default-link-color:                #777;
363 | @navbar-default-link-hover-color:          #333;
364 | @navbar-default-link-hover-bg:             transparent;
365 | @navbar-default-link-active-color:         #555;
366 | @navbar-default-link-active-bg:            darken(@navbar-default-bg, 6.5%);
367 | @navbar-default-link-disabled-color:       #ccc;
368 | @navbar-default-link-disabled-bg:          transparent;
369 | 
370 | // Navbar brand label
371 | @navbar-default-brand-color:               @navbar-default-link-color;
372 | @navbar-default-brand-hover-color:         darken(@navbar-default-brand-color, 10%);
373 | @navbar-default-brand-hover-bg:            transparent;
374 | 
375 | // Navbar toggle
376 | @navbar-default-toggle-hover-bg:           #ddd;
377 | @navbar-default-toggle-icon-bar-bg:        #888;
378 | @navbar-default-toggle-border-color:       #ddd;
379 | 
380 | 
381 | // Inverted navbar
382 | // Reset inverted navbar basics
383 | @navbar-inverse-color:                      lighten(@gray-light, 15%);
384 | @navbar-inverse-bg:                         @sandal-ocean;
385 | @navbar-inverse-border:                     darken(@navbar-inverse-bg, 10%);
386 | 
387 | // Inverted navbar links
388 | @navbar-inverse-link-color:                 lighten(@gray, 10%);
389 | @navbar-inverse-link-hover-color:           @sandal-cream;
390 | @navbar-inverse-link-hover-bg:              transparent;
391 | @navbar-inverse-link-active-color:          @navbar-inverse-link-hover-color;
392 | @navbar-inverse-link-active-bg:             darken(@navbar-inverse-bg, 10%);
393 | @navbar-inverse-link-disabled-color:        #444;
394 | @navbar-inverse-link-disabled-bg:           transparent;
395 | 
396 | // Inverted navbar brand label
397 | @navbar-inverse-brand-color:                @navbar-inverse-link-color;
398 | @navbar-inverse-brand-hover-color:          #fff;
399 | @navbar-inverse-brand-hover-bg:             transparent;
400 | 
401 | // Inverted navbar toggle
402 | @navbar-inverse-toggle-hover-bg:            @sandal-ocean;
403 | @navbar-inverse-toggle-icon-bar-bg:         #fff;
404 | @navbar-inverse-toggle-border-color:        @sandal-cream;
405 | 
406 | 
407 | //== Navs
408 | //
409 | //##
410 | 
411 | //=== Shared nav styles
412 | @nav-link-padding:                          10px 15px;
413 | @nav-link-hover-bg:                         @gray-lighter;
414 | 
415 | @nav-disabled-link-color:                   @gray-light;
416 | @nav-disabled-link-hover-color:             @gray-light;
417 | 
418 | //== Tabs
419 | @nav-tabs-border-color:                     #ddd;
420 | 
421 | @nav-tabs-link-hover-border-color:          @gray-lighter;
422 | 
423 | @nav-tabs-active-link-hover-bg:             @body-bg;
424 | @nav-tabs-active-link-hover-color:          @gray;
425 | @nav-tabs-active-link-hover-border-color:   #ddd;
426 | 
427 | @nav-tabs-justified-link-border-color:            #ddd;
428 | @nav-tabs-justified-active-link-border-color:     @body-bg;
429 | 
430 | //== Pills
431 | @nav-pills-border-radius:                   @border-radius-base;
432 | @nav-pills-active-link-hover-bg:            @component-active-bg;
433 | @nav-pills-active-link-hover-color:         @component-active-color;
434 | 
435 | 
436 | //== Pagination
437 | //
438 | //##
439 | 
440 | @pagination-color:                     @link-color;
441 | @pagination-bg:                        #fff;
442 | @pagination-border:                    #ddd;
443 | 
444 | @pagination-hover-color:               @link-hover-color;
445 | @pagination-hover-bg:                  @gray-lighter;
446 | @pagination-hover-border:              #ddd;
447 | 
448 | @pagination-active-color:              #fff;
449 | @pagination-active-bg:                 @brand-primary;
450 | @pagination-active-border:             @brand-primary;
451 | 
452 | @pagination-disabled-color:            @gray-light;
453 | @pagination-disabled-bg:               #fff;
454 | @pagination-disabled-border:           #ddd;
455 | 
456 | 
457 | //== Pager
458 | //
459 | //##
460 | 
461 | @pager-bg:                             @pagination-bg;
462 | @pager-border:                         @pagination-border;
463 | @pager-border-radius:                  15px;
464 | 
465 | @pager-hover-bg:                       @pagination-hover-bg;
466 | 
467 | @pager-active-bg:                      @pagination-active-bg;
468 | @pager-active-color:                   @pagination-active-color;
469 | 
470 | @pager-disabled-color:                 @pagination-disabled-color;
471 | 
472 | 
473 | //== Jumbotron
474 | //
475 | //##
476 | 
477 | @jumbotron-padding:              30px;
478 | @jumbotron-color:                inherit;
479 | @jumbotron-bg:                   @gray-lighter;
480 | @jumbotron-heading-color:        inherit;
481 | @jumbotron-font-size:            ceil((@font-size-base * 1.5));
482 | 
483 | 
484 | //== Form states and alerts
485 | //
486 | //## Define colors for form feedback states and, by default, alerts.
487 | 
488 | @state-success-text:             #3c763d;
489 | @state-success-bg:               #dff0d8;
490 | @state-success-border:           darken(spin(@state-success-bg, -10), 5%);
491 | 
492 | @state-info-text:                #31708f;
493 | @state-info-bg:                  #d9edf7;
494 | @state-info-border:              darken(spin(@state-info-bg, -10), 7%);
495 | 
496 | @state-warning-text:             #8a6d3b;
497 | @state-warning-bg:               #fcf8e3;
498 | @state-warning-border:           darken(spin(@state-warning-bg, -10), 5%);
499 | 
500 | @state-danger-text:              #a94442;
501 | @state-danger-bg:                #f2dede;
502 | @state-danger-border:            darken(spin(@state-danger-bg, -10), 5%);
503 | 
504 | 
505 | //== Tooltips
506 | //
507 | //##
508 | 
509 | //** Tooltip max width
510 | @tooltip-max-width:           200px;
511 | //** Tooltip text color
512 | @tooltip-color:               #fff;
513 | //** Tooltip background color
514 | @tooltip-bg:                  #000;
515 | @tooltip-opacity:             .9;
516 | 
517 | //** Tooltip arrow width
518 | @tooltip-arrow-width:         5px;
519 | //** Tooltip arrow color
520 | @tooltip-arrow-color:         @tooltip-bg;
521 | 
522 | 
523 | //== Popovers
524 | //
525 | //##
526 | 
527 | //** Popover body background color
528 | @popover-bg:                          #fff;
529 | //** Popover maximum width
530 | @popover-max-width:                   276px;
531 | //** Popover border color
532 | @popover-border-color:                rgba(0,0,0,.2);
533 | //** Popover fallback border color
534 | @popover-fallback-border-color:       #ccc;
535 | 
536 | //** Popover title background color
537 | @popover-title-bg:                    darken(@popover-bg, 3%);
538 | 
539 | //** Popover arrow width
540 | @popover-arrow-width:                 10px;
541 | //** Popover arrow color
542 | @popover-arrow-color:                 @popover-bg;
543 | 
544 | //** Popover outer arrow width
545 | @popover-arrow-outer-width:           (@popover-arrow-width + 1);
546 | //** Popover outer arrow color
547 | @popover-arrow-outer-color:           fadein(@popover-border-color, 5%);
548 | //** Popover outer arrow fallback color
549 | @popover-arrow-outer-fallback-color:  darken(@popover-fallback-border-color, 20%);
550 | 
551 | 
552 | //== Labels
553 | //
554 | //##
555 | 
556 | //** Default label background color
557 | @label-default-bg:            @gray-light;
558 | //** Primary label background color
559 | @label-primary-bg:            @brand-primary;
560 | //** Success label background color
561 | @label-success-bg:            @brand-success;
562 | //** Info label background color
563 | @label-info-bg:               @brand-info;
564 | //** Warning label background color
565 | @label-warning-bg:            @brand-warning;
566 | //** Danger label background color
567 | @label-danger-bg:             @brand-danger;
568 | 
569 | //** Default label text color
570 | @label-color:                 #fff;
571 | //** Default text color of a linked label
572 | @label-link-hover-color:      #fff;
573 | 
574 | 
575 | //== Modals
576 | //
577 | //##
578 | 
579 | //** Padding applied to the modal body
580 | @modal-inner-padding:         15px;
581 | 
582 | //** Padding applied to the modal title
583 | @modal-title-padding:         15px;
584 | //** Modal title line-height
585 | @modal-title-line-height:     @line-height-base;
586 | 
587 | //** Background color of modal content area
588 | @modal-content-bg:                             #fff;
589 | //** Modal content border color
590 | @modal-content-border-color:                   rgba(0,0,0,.2);
591 | //** Modal content border color **for IE8**
592 | @modal-content-fallback-border-color:          #999;
593 | 
594 | //** Modal backdrop background color
595 | @modal-backdrop-bg:           #000;
596 | //** Modal backdrop opacity
597 | @modal-backdrop-opacity:      .5;
598 | //** Modal header border color
599 | @modal-header-border-color:   #e5e5e5;
600 | //** Modal footer border color
601 | @modal-footer-border-color:   @modal-header-border-color;
602 | 
603 | @modal-lg:                    900px;
604 | @modal-md:                    600px;
605 | @modal-sm:                    300px;
606 | 
607 | 
608 | //== Alerts
609 | //
610 | //## Define alert colors, border radius, and padding.
611 | 
612 | @alert-padding:               15px;
613 | @alert-border-radius:         @border-radius-base;
614 | @alert-link-font-weight:      bold;
615 | 
616 | @alert-success-bg:            @state-success-bg;
617 | @alert-success-text:          @state-success-text;
618 | @alert-success-border:        @state-success-border;
619 | 
620 | @alert-info-bg:               @state-info-bg;
621 | @alert-info-text:             @state-info-text;
622 | @alert-info-border:           @state-info-border;
623 | 
624 | @alert-warning-bg:            @state-warning-bg;
625 | @alert-warning-text:          @state-warning-text;
626 | @alert-warning-border:        @state-warning-border;
627 | 
628 | @alert-danger-bg:             @state-danger-bg;
629 | @alert-danger-text:           @state-danger-text;
630 | @alert-danger-border:         @state-danger-border;
631 | 
632 | 
633 | //== Progress bars
634 | //
635 | //##
636 | 
637 | //** Background color of the whole progress component
638 | @progress-bg:                 #f5f5f5;
639 | //** Progress bar text color
640 | @progress-bar-color:          #fff;
641 | //** Variable for setting rounded corners on progress bar.
642 | @progress-border-radius:      @border-radius-base;
643 | 
644 | //** Default progress bar color
645 | @progress-bar-bg:             @brand-primary;
646 | //** Success progress bar color
647 | @progress-bar-success-bg:     @brand-success;
648 | //** Warning progress bar color
649 | @progress-bar-warning-bg:     @brand-warning;
650 | //** Danger progress bar color
651 | @progress-bar-danger-bg:      @brand-danger;
652 | //** Info progress bar color
653 | @progress-bar-info-bg:        @brand-info;
654 | 
655 | 
656 | //== List group
657 | //
658 | //##
659 | 
660 | //** Background color on `.list-group-item`
661 | @list-group-bg:                 #fff;
662 | //** `.list-group-item` border color
663 | @list-group-border:             #ddd;
664 | //** List group border radius
665 | @list-group-border-radius:      @border-radius-base;
666 | 
667 | //** Background color of single list items on hover
668 | @list-group-hover-bg:           #f5f5f5;
669 | //** Text color of active list items
670 | @list-group-active-color:       @component-active-color;
671 | //** Background color of active list items
672 | @list-group-active-bg:          @component-active-bg;
673 | //** Border color of active list elements
674 | @list-group-active-border:      @list-group-active-bg;
675 | //** Text color for content within active list items
676 | @list-group-active-text-color:  lighten(@list-group-active-bg, 40%);
677 | 
678 | //** Text color of disabled list items
679 | @list-group-disabled-color:      @gray-light;
680 | //** Background color of disabled list items
681 | @list-group-disabled-bg:         @gray-lighter;
682 | //** Text color for content within disabled list items
683 | @list-group-disabled-text-color: @list-group-disabled-color;
684 | 
685 | @list-group-link-color:         #555;
686 | @list-group-link-hover-color:   @list-group-link-color;
687 | @list-group-link-heading-color: #333;
688 | 
689 | 
690 | //== Panels
691 | //
692 | //##
693 | 
694 | @panel-bg:                    #fff;
695 | @panel-body-padding:          15px;
696 | @panel-heading-padding:       10px 15px;
697 | @panel-footer-padding:        @panel-heading-padding;
698 | @panel-border-radius:         @border-radius-base;
699 | 
700 | //** Border color for elements within panels
701 | @panel-inner-border:          #ddd;
702 | @panel-footer-bg:             #f5f5f5;
703 | 
704 | @panel-default-text:          @gray-dark;
705 | @panel-default-border:        #ddd;
706 | @panel-default-heading-bg:    #f5f5f5;
707 | 
708 | @panel-primary-text:          #fff;
709 | @panel-primary-border:        @brand-primary;
710 | @panel-primary-heading-bg:    @brand-primary;
711 | 
712 | @panel-success-text:          @state-success-text;
713 | @panel-success-border:        @state-success-border;
714 | @panel-success-heading-bg:    @state-success-bg;
715 | 
716 | @panel-info-text:             @state-info-text;
717 | @panel-info-border:           @state-info-border;
718 | @panel-info-heading-bg:       @state-info-bg;
719 | 
720 | @panel-warning-text:          @state-warning-text;
721 | @panel-warning-border:        @state-warning-border;
722 | @panel-warning-heading-bg:    @state-warning-bg;
723 | 
724 | @panel-danger-text:           @state-danger-text;
725 | @panel-danger-border:         @state-danger-border;
726 | @panel-danger-heading-bg:     @state-danger-bg;
727 | 
728 | 
729 | //== Thumbnails
730 | //
731 | //##
732 | 
733 | //** Padding around the thumbnail image
734 | @thumbnail-padding:           4px;
735 | //** Thumbnail background color
736 | @thumbnail-bg:                @body-bg;
737 | //** Thumbnail border color
738 | @thumbnail-border:            #ddd;
739 | //** Thumbnail border radius
740 | @thumbnail-border-radius:     @border-radius-base;
741 | 
742 | //** Custom text color for thumbnail captions
743 | @thumbnail-caption-color:     @text-color;
744 | //** Padding around the thumbnail caption
745 | @thumbnail-caption-padding:   9px;
746 | 
747 | 
748 | //== Wells
749 | //
750 | //##
751 | 
752 | @well-bg:                     #f5f5f5;
753 | @well-border:                 darken(@well-bg, 7%);
754 | 
755 | 
756 | //== Badges
757 | //
758 | //##
759 | 
760 | @badge-color:                 #fff;
761 | //** Linked badge text color on hover
762 | @badge-link-hover-color:      #fff;
763 | @badge-bg:                    @gray-light;
764 | 
765 | //** Badge text color in active nav link
766 | @badge-active-color:          @link-color;
767 | //** Badge background color in active nav link
768 | @badge-active-bg:             #fff;
769 | 
770 | @badge-font-weight:           bold;
771 | @badge-line-height:           1;
772 | @badge-border-radius:         10px;
773 | 
774 | 
775 | //== Breadcrumbs
776 | //
777 | //##
778 | 
779 | @breadcrumb-padding-vertical:   8px;
780 | @breadcrumb-padding-horizontal: 15px;
781 | //** Breadcrumb background color
782 | @breadcrumb-bg:                 #f5f5f5;
783 | //** Breadcrumb text color
784 | @breadcrumb-color:              #ccc;
785 | //** Text color of current page in the breadcrumb
786 | @breadcrumb-active-color:       @gray-light;
787 | //** Textual separator for between breadcrumb elements
788 | @breadcrumb-separator:          "/";
789 | 
790 | 
791 | //== Carousel
792 | //
793 | //##
794 | 
795 | @carousel-text-shadow:                        0 1px 2px rgba(0,0,0,.6);
796 | 
797 | @carousel-control-color:                      #fff;
798 | @carousel-control-width:                      15%;
799 | @carousel-control-opacity:                    .5;
800 | @carousel-control-font-size:                  20px;
801 | 
802 | @carousel-indicator-active-bg:                #fff;
803 | @carousel-indicator-border-color:             #fff;
804 | 
805 | @carousel-caption-color:                      #fff;
806 | 
807 | 
808 | //== Close
809 | //
810 | //##
811 | 
812 | @close-font-weight:           bold;
813 | @close-color:                 #000;
814 | @close-text-shadow:           0 1px 0 #fff;
815 | 
816 | 
817 | //== Code
818 | //
819 | //##
820 | 
821 | @code-color:                  #c7254e;
822 | @code-bg:                     #f9f2f4;
823 | 
824 | @kbd-color:                   #fff;
825 | @kbd-bg:                      #333;
826 | 
827 | @pre-bg:                      #f5f5f5;
828 | @pre-color:                   @gray-dark;
829 | @pre-border-color:            #ccc;
830 | @pre-scrollable-max-height:   340px;
831 | 
832 | 
833 | //== Type
834 | //
835 | //##
836 | 
837 | //** Horizontal offset for forms and lists.
838 | @component-offset-horizontal: 180px;
839 | //** Text muted color
840 | @text-muted:                  @gray-light;
841 | //** Abbreviations and acronyms border color
842 | @abbr-border-color:           @gray-light;
843 | //** Headings small color
844 | @headings-small-color:        @gray-light;
845 | //** Blockquote small color
846 | @blockquote-small-color:      @gray-light;
847 | //** Blockquote font size
848 | @blockquote-font-size:        (@font-size-base * 1.25);
849 | //** Blockquote border color
850 | @blockquote-border-color:     @gray-lighter;
851 | //** Page header border color
852 | @page-header-border-color:    @gray-lighter;
853 | //** Width of horizontal description list titles
854 | @dl-horizontal-offset:        @component-offset-horizontal;
855 | //** Horizontal line color.
856 | @hr-border:                   @gray-lighter;
857 | 
858 | 


--------------------------------------------------------------------------------