_common-variables.less 28 KB

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