_common-variables.less 32 KB

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