variables.less 26 KB

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