variables.less 23 KB

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