2
0

variables.less 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861
  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%); // #337ab7
  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.3333333; // extra decimals for Win 8.1 Chrome
  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. // This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
  143. @input-border-radius: @border-radius-base;
  144. //** Large `.form-control` border radius
  145. @input-border-radius-large: @border-radius-large;
  146. //** Small `.form-control` border radius
  147. @input-border-radius-small: @border-radius-small;
  148. //** Border color for inputs on focus
  149. @input-border-focus: #66afe9;
  150. //** Placeholder text color
  151. @input-color-placeholder: #999;
  152. //** Default `.form-control` height
  153. @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
  154. //** Large `.form-control` height
  155. @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
  156. //** Small `.form-control` height
  157. @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
  158. //** `.form-group` margin
  159. @form-group-margin-bottom: 15px;
  160. @legend-color: @gray-dark;
  161. @legend-border-color: #e5e5e5;
  162. //** Background color for textual input addons
  163. @input-group-addon-bg: @gray-lighter;
  164. //** Border color for textual input addons
  165. @input-group-addon-border-color: @input-border;
  166. //** Disabled cursor for form controls and buttons.
  167. @cursor-disabled: not-allowed;
  168. //== Dropdowns
  169. //
  170. //## Dropdown menu container and contents.
  171. //** Background for the dropdown menu.
  172. @dropdown-bg: #fff;
  173. //** Dropdown menu `border-color`.
  174. @dropdown-border: rgba(0,0,0,.15);
  175. //** Dropdown menu `border-color` **for IE8**.
  176. @dropdown-fallback-border: #ccc;
  177. //** Divider color for between dropdown items.
  178. @dropdown-divider-bg: #e5e5e5;
  179. //** Dropdown link text color.
  180. @dropdown-link-color: @gray-dark;
  181. //** Hover color for dropdown links.
  182. @dropdown-link-hover-color: darken(@gray-dark, 5%);
  183. //** Hover background for dropdown links.
  184. @dropdown-link-hover-bg: #f5f5f5;
  185. //** Active dropdown menu item text color.
  186. @dropdown-link-active-color: @component-active-color;
  187. //** Active dropdown menu item background color.
  188. @dropdown-link-active-bg: @component-active-bg;
  189. //** Disabled dropdown menu item background color.
  190. @dropdown-link-disabled-color: @gray-light;
  191. //** Text color for headers within dropdown menus.
  192. @dropdown-header-color: @gray-light;
  193. //** Deprecated `@dropdown-caret-color` as of v3.1.0
  194. @dropdown-caret-color: #000;
  195. //-- Z-index master list
  196. //
  197. // Warning: Avoid customizing these values. They're used for a bird's eye view
  198. // of components dependent on the z-axis and are designed to all work together.
  199. //
  200. // Note: These variables are not generated into the Customizer.
  201. @zindex-navbar: 1000;
  202. @zindex-dropdown: 1000;
  203. @zindex-popover: 1060;
  204. @zindex-tooltip: 1070;
  205. @zindex-navbar-fixed: 1030;
  206. @zindex-modal-background: 1040;
  207. @zindex-modal: 1050;
  208. //== Media queries breakpoints
  209. //
  210. //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
  211. // Extra small screen / phone
  212. //** Deprecated `@screen-xs` as of v3.0.1
  213. @screen-xs: 480px;
  214. //** Deprecated `@screen-xs-min` as of v3.2.0
  215. @screen-xs-min: @screen-xs;
  216. //** Deprecated `@screen-phone` as of v3.0.1
  217. @screen-phone: @screen-xs-min;
  218. // Small screen / tablet
  219. //** Deprecated `@screen-sm` as of v3.0.1
  220. @screen-sm: 768px;
  221. @screen-sm-min: @screen-sm;
  222. //** Deprecated `@screen-tablet` as of v3.0.1
  223. @screen-tablet: @screen-sm-min;
  224. // Medium screen / desktop
  225. //** Deprecated `@screen-md` as of v3.0.1
  226. @screen-md: 992px;
  227. @screen-md-min: @screen-md;
  228. //** Deprecated `@screen-desktop` as of v3.0.1
  229. @screen-desktop: @screen-md-min;
  230. // Large screen / wide desktop
  231. //** Deprecated `@screen-lg` as of v3.0.1
  232. @screen-lg: 1200px;
  233. @screen-lg-min: @screen-lg;
  234. //** Deprecated `@screen-lg-desktop` as of v3.0.1
  235. @screen-lg-desktop: @screen-lg-min;
  236. // So media queries don't overlap when required, provide a maximum
  237. @screen-xs-max: (@screen-sm-min - 1);
  238. @screen-sm-max: (@screen-md-min - 1);
  239. @screen-md-max: (@screen-lg-min - 1);
  240. //== Grid system
  241. //
  242. //## Define your custom responsive grid.
  243. //** Number of columns in the grid.
  244. @grid-columns: 12;
  245. //** Padding between columns. Gets divided in half for the left and right.
  246. @grid-gutter-width: 30px;
  247. // Navbar collapse
  248. //** Point at which the navbar becomes uncollapsed.
  249. @grid-float-breakpoint: @screen-sm-min;
  250. //** Point at which the navbar begins collapsing.
  251. @grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
  252. //== Container sizes
  253. //
  254. //## Define the maximum width of `.container` for different screen sizes.
  255. // Small screen / tablet
  256. @container-tablet: (720px + @grid-gutter-width);
  257. //** For `@screen-sm-min` and up.
  258. @container-sm: @container-tablet;
  259. // Medium screen / desktop
  260. @container-desktop: (940px + @grid-gutter-width);
  261. //** For `@screen-md-min` and up.
  262. @container-md: @container-desktop;
  263. // Large screen / wide desktop
  264. @container-large-desktop: (1140px + @grid-gutter-width);
  265. //** For `@screen-lg-min` and up.
  266. @container-lg: @container-large-desktop;
  267. //== Navbar
  268. //
  269. //##
  270. // Basics of a navbar
  271. @navbar-height: 50px;
  272. @navbar-margin-bottom: @line-height-computed;
  273. @navbar-border-radius: @border-radius-base;
  274. @navbar-padding-horizontal: floor((@grid-gutter-width / 2));
  275. @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
  276. @navbar-collapse-max-height: 340px;
  277. @navbar-default-color: #777;
  278. @navbar-default-bg: #f8f8f8;
  279. @navbar-default-border: darken(@navbar-default-bg, 6.5%);
  280. // Navbar links
  281. @navbar-default-link-color: #777;
  282. @navbar-default-link-hover-color: #333;
  283. @navbar-default-link-hover-bg: transparent;
  284. @navbar-default-link-active-color: #555;
  285. @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%);
  286. @navbar-default-link-disabled-color: #ccc;
  287. @navbar-default-link-disabled-bg: transparent;
  288. // Navbar brand label
  289. @navbar-default-brand-color: @navbar-default-link-color;
  290. @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
  291. @navbar-default-brand-hover-bg: transparent;
  292. // Navbar toggle
  293. @navbar-default-toggle-hover-bg: #ddd;
  294. @navbar-default-toggle-icon-bar-bg: #888;
  295. @navbar-default-toggle-border-color: #ddd;
  296. // Inverted navbar
  297. // Reset inverted navbar basics
  298. @navbar-inverse-color: lighten(@gray-light, 15%);
  299. @navbar-inverse-bg: #222;
  300. @navbar-inverse-border: darken(@navbar-inverse-bg, 10%);
  301. // Inverted navbar links
  302. @navbar-inverse-link-color: lighten(@gray-light, 15%);
  303. @navbar-inverse-link-hover-color: #fff;
  304. @navbar-inverse-link-hover-bg: transparent;
  305. @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color;
  306. @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%);
  307. @navbar-inverse-link-disabled-color: #444;
  308. @navbar-inverse-link-disabled-bg: transparent;
  309. // Inverted navbar brand label
  310. @navbar-inverse-brand-color: @navbar-inverse-link-color;
  311. @navbar-inverse-brand-hover-color: #fff;
  312. @navbar-inverse-brand-hover-bg: transparent;
  313. // Inverted navbar toggle
  314. @navbar-inverse-toggle-hover-bg: #333;
  315. @navbar-inverse-toggle-icon-bar-bg: #fff;
  316. @navbar-inverse-toggle-border-color: #333;
  317. //== Navs
  318. //
  319. //##
  320. //=== Shared nav styles
  321. @nav-link-padding: 10px 15px;
  322. @nav-link-hover-bg: @gray-lighter;
  323. @nav-disabled-link-color: @gray-light;
  324. @nav-disabled-link-hover-color: @gray-light;
  325. //== Tabs
  326. @nav-tabs-border-color: #ddd;
  327. @nav-tabs-link-hover-border-color: @gray-lighter;
  328. @nav-tabs-active-link-hover-bg: @body-bg;
  329. @nav-tabs-active-link-hover-color: @gray;
  330. @nav-tabs-active-link-hover-border-color: #ddd;
  331. @nav-tabs-justified-link-border-color: #ddd;
  332. @nav-tabs-justified-active-link-border-color: @body-bg;
  333. //== Pills
  334. @nav-pills-border-radius: @border-radius-base;
  335. @nav-pills-active-link-hover-bg: @component-active-bg;
  336. @nav-pills-active-link-hover-color: @component-active-color;
  337. //== Pagination
  338. //
  339. //##
  340. @pagination-color: @link-color;
  341. @pagination-bg: #fff;
  342. @pagination-border: #ddd;
  343. @pagination-hover-color: @link-hover-color;
  344. @pagination-hover-bg: @gray-lighter;
  345. @pagination-hover-border: #ddd;
  346. @pagination-active-color: #fff;
  347. @pagination-active-bg: @brand-primary;
  348. @pagination-active-border: @brand-primary;
  349. @pagination-disabled-color: @gray-light;
  350. @pagination-disabled-bg: #fff;
  351. @pagination-disabled-border: #ddd;
  352. //== Pager
  353. //
  354. //##
  355. @pager-bg: @pagination-bg;
  356. @pager-border: @pagination-border;
  357. @pager-border-radius: 15px;
  358. @pager-hover-bg: @pagination-hover-bg;
  359. @pager-active-bg: @pagination-active-bg;
  360. @pager-active-color: @pagination-active-color;
  361. @pager-disabled-color: @pagination-disabled-color;
  362. //== Jumbotron
  363. //
  364. //##
  365. @jumbotron-padding: 30px;
  366. @jumbotron-color: inherit;
  367. @jumbotron-bg: @gray-lighter;
  368. @jumbotron-heading-color: inherit;
  369. @jumbotron-font-size: ceil((@font-size-base * 1.5));
  370. //== Form states and alerts
  371. //
  372. //## Define colors for form feedback states and, by default, alerts.
  373. @state-success-text: #3c763d;
  374. @state-success-bg: #dff0d8;
  375. @state-success-border: darken(spin(@state-success-bg, -10), 5%);
  376. @state-info-text: #31708f;
  377. @state-info-bg: #d9edf7;
  378. @state-info-border: darken(spin(@state-info-bg, -10), 7%);
  379. @state-warning-text: #8a6d3b;
  380. @state-warning-bg: #fcf8e3;
  381. @state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
  382. @state-danger-text: #a94442;
  383. @state-danger-bg: #f2dede;
  384. @state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
  385. //== Tooltips
  386. //
  387. //##
  388. //** Tooltip max width
  389. @tooltip-max-width: 200px;
  390. //** Tooltip text color
  391. @tooltip-color: #fff;
  392. //** Tooltip background color
  393. @tooltip-bg: #000;
  394. @tooltip-opacity: .9;
  395. //** Tooltip arrow width
  396. @tooltip-arrow-width: 5px;
  397. //** Tooltip arrow color
  398. @tooltip-arrow-color: @tooltip-bg;
  399. //== Popovers
  400. //
  401. //##
  402. //** Popover body background color
  403. @popover-bg: #fff;
  404. //** Popover maximum width
  405. @popover-max-width: 276px;
  406. //** Popover border color
  407. @popover-border-color: rgba(0,0,0,.2);
  408. //** Popover fallback border color
  409. @popover-fallback-border-color: #ccc;
  410. //** Popover title background color
  411. @popover-title-bg: darken(@popover-bg, 3%);
  412. //** Popover arrow width
  413. @popover-arrow-width: 10px;
  414. //** Popover arrow color
  415. @popover-arrow-color: @popover-bg;
  416. //** Popover outer arrow width
  417. @popover-arrow-outer-width: (@popover-arrow-width + 1);
  418. //** Popover outer arrow color
  419. @popover-arrow-outer-color: fadein(@popover-border-color, 5%);
  420. //** Popover outer arrow fallback color
  421. @popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);
  422. //== Labels
  423. //
  424. //##
  425. //** Default label background color
  426. @label-default-bg: @gray-light;
  427. //** Primary label background color
  428. @label-primary-bg: @brand-primary;
  429. //** Success label background color
  430. @label-success-bg: @brand-success;
  431. //** Info label background color
  432. @label-info-bg: @brand-info;
  433. //** Warning label background color
  434. @label-warning-bg: @brand-warning;
  435. //** Danger label background color
  436. @label-danger-bg: @brand-danger;
  437. //** Default label text color
  438. @label-color: #fff;
  439. //** Default text color of a linked label
  440. @label-link-hover-color: #fff;
  441. //== Modals
  442. //
  443. //##
  444. //** Padding applied to the modal body
  445. @modal-inner-padding: 15px;
  446. //** Padding applied to the modal title
  447. @modal-title-padding: 15px;
  448. //** Modal title line-height
  449. @modal-title-line-height: @line-height-base;
  450. //** Background color of modal content area
  451. @modal-content-bg: #fff;
  452. //** Modal content border color
  453. @modal-content-border-color: rgba(0,0,0,.2);
  454. //** Modal content border color **for IE8**
  455. @modal-content-fallback-border-color: #999;
  456. //** Modal backdrop background color
  457. @modal-backdrop-bg: #000;
  458. //** Modal backdrop opacity
  459. @modal-backdrop-opacity: .5;
  460. //** Modal header border color
  461. @modal-header-border-color: #e5e5e5;
  462. //** Modal footer border color
  463. @modal-footer-border-color: @modal-header-border-color;
  464. @modal-lg: 900px;
  465. @modal-md: 600px;
  466. @modal-sm: 300px;
  467. //== Alerts
  468. //
  469. //## Define alert colors, border radius, and padding.
  470. @alert-padding: 15px;
  471. @alert-border-radius: @border-radius-base;
  472. @alert-link-font-weight: bold;
  473. @alert-success-bg: @state-success-bg;
  474. @alert-success-text: @state-success-text;
  475. @alert-success-border: @state-success-border;
  476. @alert-info-bg: @state-info-bg;
  477. @alert-info-text: @state-info-text;
  478. @alert-info-border: @state-info-border;
  479. @alert-warning-bg: @state-warning-bg;
  480. @alert-warning-text: @state-warning-text;
  481. @alert-warning-border: @state-warning-border;
  482. @alert-danger-bg: @state-danger-bg;
  483. @alert-danger-text: @state-danger-text;
  484. @alert-danger-border: @state-danger-border;
  485. //== Progress bars
  486. //
  487. //##
  488. //** Background color of the whole progress component
  489. @progress-bg: #f5f5f5;
  490. //** Progress bar text color
  491. @progress-bar-color: #fff;
  492. //** Variable for setting rounded corners on progress bar.
  493. @progress-border-radius: @border-radius-base;
  494. //** Default progress bar color
  495. @progress-bar-bg: @brand-primary;
  496. //** Success progress bar color
  497. @progress-bar-success-bg: @brand-success;
  498. //** Warning progress bar color
  499. @progress-bar-warning-bg: @brand-warning;
  500. //** Danger progress bar color
  501. @progress-bar-danger-bg: @brand-danger;
  502. //** Info progress bar color
  503. @progress-bar-info-bg: @brand-info;
  504. //== List group
  505. //
  506. //##
  507. //** Background color on `.list-group-item`
  508. @list-group-bg: #fff;
  509. //** `.list-group-item` border color
  510. @list-group-border: #ddd;
  511. //** List group border radius
  512. @list-group-border-radius: @border-radius-base;
  513. //** Background color of single list items on hover
  514. @list-group-hover-bg: #f5f5f5;
  515. //** Text color of active list items
  516. @list-group-active-color: @component-active-color;
  517. //** Background color of active list items
  518. @list-group-active-bg: @component-active-bg;
  519. //** Border color of active list elements
  520. @list-group-active-border: @list-group-active-bg;
  521. //** Text color for content within active list items
  522. @list-group-active-text-color: lighten(@list-group-active-bg, 40%);
  523. //** Text color of disabled list items
  524. @list-group-disabled-color: @gray-light;
  525. //** Background color of disabled list items
  526. @list-group-disabled-bg: @gray-lighter;
  527. //** Text color for content within disabled list items
  528. @list-group-disabled-text-color: @list-group-disabled-color;
  529. @list-group-link-color: #555;
  530. @list-group-link-hover-color: @list-group-link-color;
  531. @list-group-link-heading-color: #333;
  532. //== Panels
  533. //
  534. //##
  535. @panel-bg: #fff;
  536. @panel-body-padding: 15px;
  537. @panel-heading-padding: 10px 15px;
  538. @panel-footer-padding: @panel-heading-padding;
  539. @panel-border-radius: @border-radius-base;
  540. //** Border color for elements within panels
  541. @panel-inner-border: #ddd;
  542. @panel-footer-bg: #f5f5f5;
  543. @panel-default-text: @gray-dark;
  544. @panel-default-border: #ddd;
  545. @panel-default-heading-bg: #f5f5f5;
  546. @panel-primary-text: #fff;
  547. @panel-primary-border: @brand-primary;
  548. @panel-primary-heading-bg: @brand-primary;
  549. @panel-success-text: @state-success-text;
  550. @panel-success-border: @state-success-border;
  551. @panel-success-heading-bg: @state-success-bg;
  552. @panel-info-text: @state-info-text;
  553. @panel-info-border: @state-info-border;
  554. @panel-info-heading-bg: @state-info-bg;
  555. @panel-warning-text: @state-warning-text;
  556. @panel-warning-border: @state-warning-border;
  557. @panel-warning-heading-bg: @state-warning-bg;
  558. @panel-danger-text: @state-danger-text;
  559. @panel-danger-border: @state-danger-border;
  560. @panel-danger-heading-bg: @state-danger-bg;
  561. //== Thumbnails
  562. //
  563. //##
  564. //** Padding around the thumbnail image
  565. @thumbnail-padding: 4px;
  566. //** Thumbnail background color
  567. @thumbnail-bg: @body-bg;
  568. //** Thumbnail border color
  569. @thumbnail-border: #ddd;
  570. //** Thumbnail border radius
  571. @thumbnail-border-radius: @border-radius-base;
  572. //** Custom text color for thumbnail captions
  573. @thumbnail-caption-color: @text-color;
  574. //** Padding around the thumbnail caption
  575. @thumbnail-caption-padding: 9px;
  576. //== Wells
  577. //
  578. //##
  579. @well-bg: #f5f5f5;
  580. @well-border: darken(@well-bg, 7%);
  581. //== Badges
  582. //
  583. //##
  584. @badge-color: #fff;
  585. //** Linked badge text color on hover
  586. @badge-link-hover-color: #fff;
  587. @badge-bg: @gray-light;
  588. //** Badge text color in active nav link
  589. @badge-active-color: @link-color;
  590. //** Badge background color in active nav link
  591. @badge-active-bg: #fff;
  592. @badge-font-weight: bold;
  593. @badge-line-height: 1;
  594. @badge-border-radius: 10px;
  595. //== Breadcrumbs
  596. //
  597. //##
  598. @breadcrumb-padding-vertical: 8px;
  599. @breadcrumb-padding-horizontal: 15px;
  600. //** Breadcrumb background color
  601. @breadcrumb-bg: #f5f5f5;
  602. //** Breadcrumb text color
  603. @breadcrumb-color: #ccc;
  604. //** Text color of current page in the breadcrumb
  605. @breadcrumb-active-color: @gray-light;
  606. //** Textual separator for between breadcrumb elements
  607. @breadcrumb-separator: "/";
  608. //== Carousel
  609. //
  610. //##
  611. @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
  612. @carousel-control-color: #fff;
  613. @carousel-control-width: 15%;
  614. @carousel-control-opacity: .5;
  615. @carousel-control-font-size: 20px;
  616. @carousel-indicator-active-bg: #fff;
  617. @carousel-indicator-border-color: #fff;
  618. @carousel-caption-color: #fff;
  619. //== Close
  620. //
  621. //##
  622. @close-font-weight: bold;
  623. @close-color: #000;
  624. @close-text-shadow: 0 1px 0 #fff;
  625. //== Code
  626. //
  627. //##
  628. @code-color: #c7254e;
  629. @code-bg: #f9f2f4;
  630. @kbd-color: #fff;
  631. @kbd-bg: #333;
  632. @pre-bg: #f5f5f5;
  633. @pre-color: @gray-dark;
  634. @pre-border-color: #ccc;
  635. @pre-scrollable-max-height: 340px;
  636. //== Type
  637. //
  638. //##
  639. //** Horizontal offset for forms and lists.
  640. @component-offset-horizontal: 180px;
  641. //** Text muted color
  642. @text-muted: @gray-light;
  643. //** Abbreviations and acronyms border color
  644. @abbr-border-color: @gray-light;
  645. //** Headings small color
  646. @headings-small-color: @gray-light;
  647. //** Blockquote small color
  648. @blockquote-small-color: @gray-light;
  649. //** Blockquote font size
  650. @blockquote-font-size: (@font-size-base * 1.25);
  651. //** Blockquote border color
  652. @blockquote-border-color: @gray-lighter;
  653. //** Page header border color
  654. @page-header-border-color: @gray-lighter;
  655. //** Width of horizontal description list titles
  656. @dl-horizontal-offset: @component-offset-horizontal;
  657. //** Horizontal line color.
  658. @hr-border: @gray-lighter;