_common-variables.less 27 KB

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