_common-variables.less 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029
  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: 8px;
  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. @alert-alt-bg: @state-info-bg;
  450. @alert-alt-text: @state-info-text;
  451. @alert-alt-border: @state-info-border;
  452. //== Progress bars
  453. //
  454. //##
  455. //** Background color of the whole progress component
  456. @progress-bg: white;
  457. @progress-border-color: @gray-lighter;
  458. //** Progress bar text color
  459. @progress-bar-color: #fff;
  460. //** Default progress bar color
  461. @progress-bar-bg: @brand-primary;
  462. //** Success progress bar color
  463. @progress-bar-success-bg: @brand-success;
  464. //** Warning progress bar color
  465. @progress-bar-warning-bg: @brand-warning;
  466. //** Danger progress bar color
  467. @progress-bar-danger-bg: @brand-danger;
  468. //** Info progress bar color
  469. @progress-bar-info-bg: @brand-info;
  470. //== List group
  471. //
  472. //##
  473. //** Background color on `.list-group-item`
  474. @list-group-bg: #fff;
  475. //** `.list-group-item` border color
  476. @list-group-border: #ddd;
  477. //** List group border radius
  478. @list-group-border-radius: @border-radius-base;
  479. //** Background color of single list elements on hover
  480. @list-group-hover-bg: #f5f5f5;
  481. //** Text color of active list elements
  482. @list-group-active-color: @component-active-color;
  483. //** Background color of active list elements
  484. @list-group-active-bg: @component-active-bg;
  485. //** Border color of active list elements
  486. @list-group-active-border: @list-group-active-bg;
  487. @list-group-active-text-color: lighten(@list-group-active-bg, 40%);
  488. @list-group-link-color: #555;
  489. @list-group-link-heading-color: #333;
  490. //== Panels
  491. //
  492. //##
  493. @panel-bg: #fff;
  494. @panel-body-padding: 15px;
  495. @panel-border-radius: @border-radius-base;
  496. //** Border color for elements within panels
  497. @panel-inner-border: #ddd;
  498. @panel-footer-bg: #f5f5f5;
  499. @panel-default-text: @gray-dark;
  500. @panel-default-border: #ddd;
  501. @panel-default-heading-bg: #f5f5f5;
  502. @panel-primary-text: #fff;
  503. @panel-primary-border: @brand-primary;
  504. @panel-primary-heading-bg: @brand-primary;
  505. @panel-success-text: @state-success-text;
  506. @panel-success-border: @state-success-border;
  507. @panel-success-heading-bg: @state-success-bg;
  508. @panel-info-text: @state-info-text;
  509. @panel-info-border: @state-info-border;
  510. @panel-info-heading-bg: @state-info-bg;
  511. @panel-warning-text: @state-warning-text;
  512. @panel-warning-border: @state-warning-border;
  513. @panel-warning-heading-bg: @state-warning-bg;
  514. @panel-danger-text: @state-danger-text;
  515. @panel-danger-border: @state-danger-border;
  516. @panel-danger-heading-bg: @state-danger-bg;
  517. //== Thumbnails
  518. //
  519. //##
  520. //** Padding around the thumbnail image
  521. @thumbnail-padding: 4px;
  522. //** Thumbnail background color
  523. @thumbnail-bg: @body-bg;
  524. //** Thumbnail border color
  525. @thumbnail-border: #ddd;
  526. //** Thumbnail border radius
  527. @thumbnail-border-radius: @border-radius-base;
  528. //** Custom text color for thumbnail captions
  529. @thumbnail-caption-color: @text-color;
  530. //** Padding around the thumbnail caption
  531. @thumbnail-caption-padding: 9px;
  532. //== Wells
  533. //
  534. //##
  535. @well-bg: #f5f5f5;
  536. @well-border: darken(@well-bg, 7%);
  537. //== Badges
  538. //
  539. //##
  540. @badge-color: #fff;
  541. //** Linked badge text color on hover
  542. @badge-link-hover-color: #fff;
  543. @badge-bg: @gray-light;
  544. //** Badge text color in active nav link
  545. @badge-active-color: @link-color;
  546. //** Badge background color in active nav link
  547. @badge-active-bg: #fff;
  548. @badge-font-weight: bold;
  549. @badge-line-height: 1;
  550. @badge-border-radius: 10px;
  551. //== Breadcrumbs
  552. //
  553. //##
  554. @breadcrumb-padding-vertical: 8px;
  555. @breadcrumb-padding-horizontal: 15px;
  556. //** Breadcrumb background color
  557. @breadcrumb-bg: #f5f5f5;
  558. //** Breadcrumb text color
  559. @breadcrumb-color: #ccc;
  560. //** Text color of current page in the breadcrumb
  561. @breadcrumb-active-color: @gray-light;
  562. //** Textual separator for between breadcrumb elements
  563. @breadcrumb-separator: "/";
  564. //== Carousel
  565. //
  566. //##
  567. @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
  568. @carousel-control-color: #fff;
  569. @carousel-control-width: 15%;
  570. @carousel-control-opacity: .5;
  571. @carousel-control-font-size: 20px;
  572. @carousel-indicator-active-bg: #fff;
  573. @carousel-indicator-border-color: #fff;
  574. @carousel-caption-color: #fff;
  575. //== Close
  576. //
  577. //##
  578. @close-font-weight: bold;
  579. @close-color: #000;
  580. @close-text-shadow: 0 1px 0 #fff;
  581. //== Code
  582. //
  583. //##
  584. @code-color: #c7254e;
  585. @code-bg: #f9f2f4;
  586. @kbd-color: #fff;
  587. @kbd-bg: #333;
  588. @pre-bg: #f5f5f5;
  589. @pre-color: @gray-dark;
  590. @pre-border-color: #ccc;
  591. @pre-scrollable-max-height: 340px;
  592. //== Type
  593. //
  594. //##
  595. //** Text muted color
  596. @text-muted: @gray-light;
  597. //** Abbreviations and acronyms border color
  598. @abbr-border-color: @gray-light;
  599. //** Headings small color
  600. @headings-small-color: @gray-light;
  601. //** Blockquote small color
  602. @blockquote-small-color: @gray;
  603. //** Blockquote font size
  604. @blockquote-font-size: (@font-size-base * 1.125);
  605. //** Blockquote border color
  606. @blockquote-border-color: @gray-lighter;
  607. //** Page header border color
  608. @page-header-border-color: @gray-lighter;
  609. //== Miscellaneous
  610. //
  611. //##
  612. //** Horizontal line color.
  613. @hr-border: @gray-lighter;
  614. //** Horizontal offset for forms and lists.
  615. @component-offset-horizontal: 180px;
  616. @content-margin-vertical: @line-height-computed;
  617. @left-menu-width: 260px;
  618. @left-menu-animation-duration: 0.35s;
  619. @toolbar-border-color: @gray-lighter;
  620. @toolbar-header-btn-border-color: @toolbar-border-color;
  621. @common-border-color: @gray-lighter;
  622. @editor-border-color: @gray-lighter;
  623. @file-tree-droppable-bg-color: rgb(252, 231, 199);
  624. @editor-dark-background-color: #333;
  625. @editor-dark-toolbar-border-color: #222;
  626. @editor-dark-highlight-color: #FFA03A;
  627. // Custom
  628. @header-height : 68px;
  629. @footer-height : 50px;
  630. // Backgrounds
  631. @content-alt-bg-color: lighten(@gray-lightest, 2.5%);
  632. // Typography
  633. @text-small-color: @gray;
  634. // Navbar
  635. @navbar-title-color : #666;
  636. @navbar-title-color-hover : #333;
  637. @navbar-default-padding-v : 1rem;
  638. @navbar-default-padding-h : 2rem;
  639. @navbar-default-padding : @navbar-default-padding-v @navbar-default-padding-h;
  640. @navbar-brand-width : 180px;
  641. @navbar-btn-font-size : @font-size-base * 0.8;
  642. @navbar-btn-border-radius : @border-radius-base;
  643. @navbar-btn-font-weight : 700;
  644. @navbar-btn-padding : 10px 10px 11px;
  645. @navbar-btn-line-height : 1;
  646. @navbar-subdued-padding : 12px 12px 13px;
  647. @navbar-subdued-color : @gray;
  648. @navbar-subdued-hover-bg : @gray-lightest;
  649. @navbar-subdued-hover-color : @gray-dark;
  650. @dropdown-divider-margin :((@line-height-computed / 2) - 1) 0;
  651. @dropdown-item-padding : 3px 20px;
  652. @navbar-default-link-bg : transparent;
  653. // Button colors and sizing
  654. @btn-border-radius-large : @border-radius-large;
  655. @btn-border-radius-base : @border-radius-base;
  656. @btn-border-radius-small : @border-radius-small;
  657. @btn-border-width : 1px;
  658. @btn-border-bottom-width : 2px;
  659. // Cards
  660. @card-box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  661. // Project table
  662. @structured-list-link-color : darken(@blue, 10%);
  663. @structured-header-border-color : @gray-lightest;
  664. @structured-list-border-color : @gray-lightest;
  665. @structured-list-hover-color : @gray-lightest;
  666. @structured-list-line-height : @line-height-base;
  667. // Sidebar
  668. @sidebar-bg : transparent;
  669. @sidebar-color : @gray;
  670. @sidebar-link-color : #333;
  671. @sidebar-active-border-radius : @border-radius-small;
  672. @sidebar-active-bg : @link-color;
  673. @sidebar-active-color : #FFF;
  674. @sidebar-active-font-weight : 700;
  675. @sidebar-hover-bg : transparent;
  676. @sidebar-hover-text-decoration : underline;
  677. @folders-menu-margin : 0;
  678. @folders-menu-line-height : 1.2;
  679. @folders-menu-item-v-padding : (@line-height-computed / 4);
  680. @folders-menu-item-h-padding : (@line-height-computed / 4);
  681. @folders-title-padding : 0;
  682. @folders-title-margin-top : (@line-height-computed / 2);
  683. @folders-title-margin-bottom : (@line-height-computed / 4);
  684. @folders-title-font-size : @font-size-base;
  685. @folders-title-font-weight : 500;
  686. @folders-title-line-height : @headings-line-height;
  687. @folders-title-color : inherit;
  688. @folders-title-text-transform : none;
  689. @folders-tag-padding : 2px 20px 2px @folders-menu-item-h-padding;
  690. @folders-tag-line-height : 1.8;
  691. @folders-tag-display : block;
  692. @folders-tag-menu-color : @gray;
  693. @folders-tag-hover : darken(@gray-lightest, 2%);
  694. @folders-tag-border-color : @text-color;
  695. @folders-tag-menu-active-hover : darken(@brand-primary, 10%);
  696. @folders-tag-menu-hover : @gray-light;
  697. // Progress bars
  698. @progress-border-radius : @border-radius-base;
  699. @progress-border-width : 1px;
  700. @progress-bar-shadow : inset 0 -1px 0 rgba(0,0,0,.15);
  701. // Footer
  702. @footer-link-color : @link-color;
  703. @footer-link-hover-color : @link-hover-color;
  704. @footer-bg-color : transparent;
  705. @footer-padding : 2em;
  706. // Editor header
  707. @ide-body-top-offset : 40px;
  708. @toolbar-header-bg-color : transparent;
  709. @toolbar-header-shadow : 0 0 2px #ccc;
  710. @toolbar-btn-color : @link-color;
  711. @toolbar-btn-hover-color : @link-hover-color;
  712. @toolbar-btn-hover-bg-color : darken(white, 10%);
  713. @toolbar-btn-hover-text-shadow : 0 1px 0 rgba(0, 0, 0, 0.15);
  714. @toolbar-btn-active-color : white;
  715. @toolbar-btn-active-bg-color : @link-color;
  716. @toolbar-btn-active-shadow : inset 0 3px 5px rgba(0, 0, 0, 0.225);
  717. @toolbar-font-size : 12px;
  718. @toolbar-alt-bg-color : #fafafa;
  719. @toolbar-icon-btn-color : @gray-light;
  720. @toolbar-icon-btn-hover-color : @gray-dark;
  721. @toolbar-icon-btn-hover-shadow : 0 1px 0 rgba(0, 0, 0, 0.25);
  722. @toolbar-icon-btn-hover-boxshadow: inset 0 3px 5px rgba(0, 0, 0, 0.225);
  723. @toolbar-border-bottom : 1px solid @toolbar-border-color;
  724. @toolbar-small-height : 32px;
  725. @toolbar-tall-height : 58px;
  726. @project-name-color : @gray;
  727. @project-rename-link-color : @gray-light;
  728. @project-rename-link-color-hover : @gray-dark;
  729. @global-alerts-padding : (@line-height-computed / 4);
  730. // Editor file-tree
  731. @file-tree-bg : transparent;
  732. @file-tree-line-height : 2.6;
  733. @file-tree-item-color : @gray-darker;
  734. @file-tree-item-toggle-color : @gray;
  735. @file-tree-item-icon-color : @gray-light;
  736. @file-tree-item-input-color : inherit;
  737. @file-tree-item-folder-color : lighten(desaturate(@link-color, 10%), 5%);
  738. @file-tree-item-hover-bg : @gray-lightest;
  739. @file-tree-item-selected-bg : transparent;
  740. @file-tree-multiselect-bg : lighten(@brand-info, 40%);
  741. @file-tree-multiselect-hover-bg : lighten(@brand-info, 30%);
  742. // Editor resizers
  743. @editor-resizer-bg-color : #F4F4F4;
  744. @editor-resizer-bg-color-dragging : #ddd;
  745. @editor-toggler-bg-color : transparent;
  746. @editor-toggler-hover-bg-color : #DDD;
  747. @synctex-controls-z-index : 3;
  748. @synctex-controls-padding : 0 2px;
  749. // Editor toolbar
  750. @editor-toolbar-height : 32px;
  751. @editor-toolbar-bg : #fff;
  752. // Toggle switch
  753. @toggle-switch-bg : @gray-lightest;
  754. @toggle-switch-highlight-color : @brand-primary;
  755. // Formatting buttons
  756. @formatting-btn-color : @btn-default-color;
  757. @formatting-btn-bg : @btn-default-bg;
  758. @formatting-btn-border : @btn-default-border;
  759. @formatting-menu-bg : @btn-default-bg;
  760. // Chat
  761. @chat-bg : transparent;
  762. @chat-message-color : @text-color;
  763. @chat-message-date-color : @gray-light;
  764. @chat-message-name-color : @gray-light;
  765. @chat-message-box-shadow : -1px 2px 3px #ddd;
  766. @chat-message-border-radius : 0;
  767. @chat-message-padding : @line-height-computed / 2;
  768. @chat-message-weight : normal;
  769. @chat-new-message-bg : @gray-lightest;
  770. @chat-new-message-textarea-bg : #FFF;
  771. @chat-new-message-textarea-color : @gray-dark;
  772. @chat-new-message-border-color : @editor-border-color;
  773. // PDF
  774. @pdf-top-offset : @toolbar-tall-height;
  775. @pdf-bg : transparent;
  776. @pdfjs-bg : @gray-lighter;
  777. @pdf-page-shadow-color : #000;
  778. @log-line-no-color : @gray;
  779. @log-hints-color : @gray-dark;
  780. // Tags
  781. @tag-border-radius : 0.25em;
  782. @tag-bg-color : @label-default-bg;
  783. @tag-max-width : 150px;
  784. @tag-bg-hover-color : darken(@label-default-bg, 10%);
  785. @tag-top-adjustment : -2px;
  786. @labels-font-size : 75%;
  787. // System messages
  788. @sys-msg-background : @state-warning-bg;
  789. @sys-msg-color : #333;
  790. @sys-msg-border : 1px solid @common-border-color;
  791. // v2 History
  792. @history-base-font-size : @font-size-small;
  793. @history-base-bg : @gray-lightest;
  794. @history-entry-label-bg-color : @red;
  795. @history-entry-label-color : #FFF;
  796. @history-entry-selected-label-bg-color : #FFF;
  797. @history-entry-selected-label-color : @red;
  798. @history-entry-day-bg : @gray;
  799. @history-entry-selected-bg : @red;
  800. @history-base-color : @gray-light;
  801. @history-highlight-color : @gray;
  802. @history-toolbar-bg-color : @toolbar-alt-bg-color;
  803. @history-toolbar-color : @text-color;
  804. // Input suggestions
  805. @input-suggestion-v-offset : 6px;