_common-variables.less 30 KB

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