variables.less 25 KB

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