variables.less 27 KB

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