_common-variables.less 32 KB

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