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