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