_common-variables.less 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008
  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-hover-color: @link-hover-color;
  255. @navbar-default-link-hover-bg: @link-hover-color;
  256. @navbar-default-link-active-color: #fff;
  257. @navbar-default-link-active-bg: @link-hover-color;
  258. @navbar-default-link-disabled-color: #ccc;
  259. @navbar-default-link-disabled-bg: transparent;
  260. // Navbar brand label
  261. @navbar-default-brand-color: @navbar-default-link-color;
  262. @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
  263. @navbar-default-brand-hover-bg: transparent;
  264. // Navbar toggle
  265. @navbar-default-toggle-hover-bg: @link-hover-color;
  266. @navbar-default-toggle-border-color: @link-color;
  267. //== Navs
  268. //
  269. //##
  270. //=== Shared nav styles
  271. @nav-link-padding: 10px 15px;
  272. @nav-link-hover-bg: @link-color;
  273. @nav-disabled-link-color: @gray-light;
  274. @nav-disabled-link-hover-color: @gray-light;
  275. @nav-open-link-hover-color: #fff;
  276. //== Tabs
  277. @nav-tabs-border-color: #ddd;
  278. @nav-tabs-link-hover-border-color: @link-color;
  279. @nav-tabs-active-link-hover-bg: @body-bg;
  280. @nav-tabs-active-link-hover-color: @gray;
  281. @nav-tabs-active-link-hover-border-color: #ddd;
  282. @nav-tabs-justified-link-border-color: #ddd;
  283. @nav-tabs-justified-active-link-border-color: @body-bg;
  284. //== Pills
  285. @nav-pills-border-radius: @border-radius-base;
  286. @nav-pills-active-link-hover-bg: @component-active-bg;
  287. @nav-pills-active-link-hover-color: @component-active-color;
  288. //== Pagination
  289. //
  290. //##
  291. @pagination-color: @link-color;
  292. @pagination-bg: #fff;
  293. @pagination-border: #ddd;
  294. @pagination-hover-color: @link-hover-color;
  295. @pagination-hover-bg: @gray-lighter;
  296. @pagination-hover-border: #ddd;
  297. @pagination-active-color: #fff;
  298. @pagination-active-bg: @brand-primary;
  299. @pagination-active-border: @brand-primary;
  300. @pagination-disabled-color: @gray-light;
  301. @pagination-disabled-bg: #fff;
  302. @pagination-disabled-border: #ddd;
  303. //== Pager
  304. //
  305. //##
  306. @pager-bg: @pagination-bg;
  307. @pager-border: @pagination-border;
  308. @pager-border-radius: 15px;
  309. @pager-hover-bg: @pagination-hover-bg;
  310. @pager-active-bg: @pagination-active-bg;
  311. @pager-active-color: @pagination-active-color;
  312. @pager-disabled-color: @pagination-disabled-color;
  313. //== Jumbotron
  314. //
  315. //##
  316. @jumbotron-padding: 30px;
  317. @jumbotron-color: inherit;
  318. @jumbotron-bg: @gray-lighter;
  319. @jumbotron-heading-color: inherit;
  320. @jumbotron-font-size: ceil((@font-size-base * 1.5));
  321. //== Form states and alerts
  322. //
  323. //## Define colors for form feedback states and, by default, alerts.
  324. @state-success-text: darken(@brand-success, 20%);
  325. @state-success-bg: lighten(@brand-success, 50%);
  326. @state-success-border: darken(@brand-success, 5%);
  327. @state-info-text: darken(@brand-info, 20%);
  328. @state-info-bg: lighten(@brand-info, 47%);
  329. @state-info-border: darken(@brand-info, 7%);
  330. @state-warning-text: darken(@brand-warning, 10%);
  331. @state-warning-bg: lighten(@brand-warning, 45%);
  332. @state-warning-border: @brand-warning;
  333. @state-danger-text: darken(@brand-danger, 10%);
  334. @state-danger-bg: lighten(@brand-danger, 50%);
  335. @state-danger-border: darken(@brand-danger, 5%);
  336. //== Tooltips
  337. //
  338. //##
  339. //** Tooltip max width
  340. @tooltip-max-width: 200px;
  341. //** Tooltip text color
  342. @tooltip-color: #fff;
  343. //** Tooltip background color
  344. @tooltip-bg: #000;
  345. @tooltip-opacity: .9;
  346. //** Tooltip arrow width
  347. @tooltip-arrow-width: 5px;
  348. //** Tooltip arrow color
  349. @tooltip-arrow-color: @tooltip-bg;
  350. //== Popovers
  351. //
  352. //##
  353. //** Popover body background color
  354. @popover-bg: #fff;
  355. //** Popover maximum width
  356. @popover-max-width: 276px;
  357. //** Popover border color
  358. @popover-border-color: rgba(0,0,0,.2);
  359. //** Popover fallback border color
  360. @popover-fallback-border-color: #ccc;
  361. //** Popover title background color
  362. @popover-title-bg: darken(@popover-bg, 3%);
  363. //** Popover arrow width
  364. @popover-arrow-width: 10px;
  365. //** Popover arrow color
  366. @popover-arrow-color: #fff;
  367. //** Popover outer arrow width
  368. @popover-arrow-outer-width: (@popover-arrow-width + 1);
  369. //** Popover outer arrow color
  370. @popover-arrow-outer-color: fadein(@popover-border-color, 5%);
  371. //** Popover outer arrow fallback color
  372. @popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);
  373. //== Labels
  374. //
  375. //##
  376. //** Default label background color
  377. @label-default-bg: @gray-light;
  378. //** Primary label background color
  379. @label-primary-bg: @brand-primary;
  380. //** Success label background color
  381. @label-success-bg: @brand-success;
  382. //** Info label background color
  383. @label-info-bg: @brand-info;
  384. //** Warning label background color
  385. @label-warning-bg: @brand-warning;
  386. //** Danger label background color
  387. @label-danger-bg: @brand-danger;
  388. //** Default label text color
  389. @label-color: #fff;
  390. //** Default text color of a linked label
  391. @label-link-hover-color: #fff;
  392. //== Modals
  393. //
  394. //##
  395. //** Padding applied to the modal body
  396. @modal-inner-padding: 20px;
  397. //** Padding applied to the modal title
  398. @modal-title-padding: 15px;
  399. //** Modal title line-height
  400. @modal-title-line-height: @line-height-base;
  401. //** Background color of modal content area
  402. @modal-content-bg: #fff;
  403. //** Modal content border color
  404. @modal-content-border-color: rgba(0,0,0,.2);
  405. //** Modal content border color **for IE8**
  406. @modal-content-fallback-border-color: #999;
  407. //** Modal backdrop background color
  408. @modal-backdrop-bg: #000;
  409. //** Modal backdrop opacity
  410. @modal-backdrop-opacity: .5;
  411. //** Modal header border color
  412. @modal-header-border-color: #e5e5e5;
  413. //** Modal footer border color
  414. @modal-footer-border-color: @modal-header-border-color;
  415. @modal-footer-background-color: @gray-lightest;
  416. @modal-lg: 900px;
  417. @modal-md: 600px;
  418. @modal-sm: 300px;
  419. //== Alerts
  420. //
  421. //## Define alert colors, border radius, and padding.
  422. @alert-padding: 15px;
  423. @alert-border-radius: 0;
  424. @alert-link-font-weight: bold;
  425. @alert-success-bg: @state-success-bg;
  426. @alert-success-text: @state-success-text;
  427. @alert-success-border: @state-success-border;
  428. @alert-info-bg: @state-info-bg;
  429. @alert-info-text: @state-info-text;
  430. @alert-info-border: @state-info-border;
  431. @alert-warning-bg: @state-warning-bg;
  432. @alert-warning-text: @state-warning-text;
  433. @alert-warning-border: @state-warning-border;
  434. @alert-danger-bg: @state-danger-bg;
  435. @alert-danger-text: @state-danger-text;
  436. @alert-danger-border: @state-danger-border;
  437. //== Progress bars
  438. //
  439. //##
  440. //** Background color of the whole progress component
  441. @progress-bg: white;
  442. @progress-border-color: @gray-lighter;
  443. //** Progress bar text color
  444. @progress-bar-color: #fff;
  445. //** Default progress bar color
  446. @progress-bar-bg: @brand-primary;
  447. //** Success progress bar color
  448. @progress-bar-success-bg: @brand-success;
  449. //** Warning progress bar color
  450. @progress-bar-warning-bg: @brand-warning;
  451. //** Danger progress bar color
  452. @progress-bar-danger-bg: @brand-danger;
  453. //** Info progress bar color
  454. @progress-bar-info-bg: @brand-info;
  455. //== List group
  456. //
  457. //##
  458. //** Background color on `.list-group-item`
  459. @list-group-bg: #fff;
  460. //** `.list-group-item` border color
  461. @list-group-border: #ddd;
  462. //** List group border radius
  463. @list-group-border-radius: @border-radius-base;
  464. //** Background color of single list elements on hover
  465. @list-group-hover-bg: #f5f5f5;
  466. //** Text color of active list elements
  467. @list-group-active-color: @component-active-color;
  468. //** Background color of active list elements
  469. @list-group-active-bg: @component-active-bg;
  470. //** Border color of active list elements
  471. @list-group-active-border: @list-group-active-bg;
  472. @list-group-active-text-color: lighten(@list-group-active-bg, 40%);
  473. @list-group-link-color: #555;
  474. @list-group-link-heading-color: #333;
  475. //== Panels
  476. //
  477. //##
  478. @panel-bg: #fff;
  479. @panel-body-padding: 15px;
  480. @panel-border-radius: @border-radius-base;
  481. //** Border color for elements within panels
  482. @panel-inner-border: #ddd;
  483. @panel-footer-bg: #f5f5f5;
  484. @panel-default-text: @gray-dark;
  485. @panel-default-border: #ddd;
  486. @panel-default-heading-bg: #f5f5f5;
  487. @panel-primary-text: #fff;
  488. @panel-primary-border: @brand-primary;
  489. @panel-primary-heading-bg: @brand-primary;
  490. @panel-success-text: @state-success-text;
  491. @panel-success-border: @state-success-border;
  492. @panel-success-heading-bg: @state-success-bg;
  493. @panel-info-text: @state-info-text;
  494. @panel-info-border: @state-info-border;
  495. @panel-info-heading-bg: @state-info-bg;
  496. @panel-warning-text: @state-warning-text;
  497. @panel-warning-border: @state-warning-border;
  498. @panel-warning-heading-bg: @state-warning-bg;
  499. @panel-danger-text: @state-danger-text;
  500. @panel-danger-border: @state-danger-border;
  501. @panel-danger-heading-bg: @state-danger-bg;
  502. //== Thumbnails
  503. //
  504. //##
  505. //** Padding around the thumbnail image
  506. @thumbnail-padding: 4px;
  507. //** Thumbnail background color
  508. @thumbnail-bg: @body-bg;
  509. //** Thumbnail border color
  510. @thumbnail-border: #ddd;
  511. //** Thumbnail border radius
  512. @thumbnail-border-radius: @border-radius-base;
  513. //** Custom text color for thumbnail captions
  514. @thumbnail-caption-color: @text-color;
  515. //** Padding around the thumbnail caption
  516. @thumbnail-caption-padding: 9px;
  517. //== Wells
  518. //
  519. //##
  520. @well-bg: #f5f5f5;
  521. @well-border: darken(@well-bg, 7%);
  522. //== Badges
  523. //
  524. //##
  525. @badge-color: #fff;
  526. //** Linked badge text color on hover
  527. @badge-link-hover-color: #fff;
  528. @badge-bg: @gray-light;
  529. //** Badge text color in active nav link
  530. @badge-active-color: @link-color;
  531. //** Badge background color in active nav link
  532. @badge-active-bg: #fff;
  533. @badge-font-weight: bold;
  534. @badge-line-height: 1;
  535. @badge-border-radius: 10px;
  536. //== Breadcrumbs
  537. //
  538. //##
  539. @breadcrumb-padding-vertical: 8px;
  540. @breadcrumb-padding-horizontal: 15px;
  541. //** Breadcrumb background color
  542. @breadcrumb-bg: #f5f5f5;
  543. //** Breadcrumb text color
  544. @breadcrumb-color: #ccc;
  545. //** Text color of current page in the breadcrumb
  546. @breadcrumb-active-color: @gray-light;
  547. //** Textual separator for between breadcrumb elements
  548. @breadcrumb-separator: "/";
  549. //== Carousel
  550. //
  551. //##
  552. @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
  553. @carousel-control-color: #fff;
  554. @carousel-control-width: 15%;
  555. @carousel-control-opacity: .5;
  556. @carousel-control-font-size: 20px;
  557. @carousel-indicator-active-bg: #fff;
  558. @carousel-indicator-border-color: #fff;
  559. @carousel-caption-color: #fff;
  560. //== Close
  561. //
  562. //##
  563. @close-font-weight: bold;
  564. @close-color: #000;
  565. @close-text-shadow: 0 1px 0 #fff;
  566. //== Code
  567. //
  568. //##
  569. @code-color: #c7254e;
  570. @code-bg: #f9f2f4;
  571. @kbd-color: #fff;
  572. @kbd-bg: #333;
  573. @pre-bg: #f5f5f5;
  574. @pre-color: @gray-dark;
  575. @pre-border-color: #ccc;
  576. @pre-scrollable-max-height: 340px;
  577. //== Type
  578. //
  579. //##
  580. //** Text muted color
  581. @text-muted: @gray-light;
  582. //** Abbreviations and acronyms border color
  583. @abbr-border-color: @gray-light;
  584. //** Headings small color
  585. @headings-small-color: @gray-light;
  586. //** Blockquote small color
  587. @blockquote-small-color: @gray;
  588. //** Blockquote font size
  589. @blockquote-font-size: (@font-size-base * 1.125);
  590. //** Blockquote border color
  591. @blockquote-border-color: @gray-lighter;
  592. //** Page header border color
  593. @page-header-border-color: @gray-lighter;
  594. //== Miscellaneous
  595. //
  596. //##
  597. //** Horizontal line color.
  598. @hr-border: @gray-lighter;
  599. //** Horizontal offset for forms and lists.
  600. @component-offset-horizontal: 180px;
  601. @content-margin-vertical: @line-height-computed;
  602. @left-menu-width: 260px;
  603. @left-menu-animation-duration: 0.35s;
  604. @toolbar-border-color: @gray-lighter;
  605. @toolbar-header-btn-border-color: @toolbar-border-color;
  606. @common-border-color: @gray-lighter;
  607. @editor-border-color: @gray-lighter;
  608. @file-tree-droppable-bg-color: rgb(252, 231, 199);
  609. @editor-dark-background-color: #333;
  610. @editor-dark-toolbar-border-color: #222;
  611. @editor-dark-highlight-color: #FFA03A;
  612. // Custom
  613. @header-height : 68px;
  614. @footer-height : 50px;
  615. // Backgrounds
  616. @content-alt-bg-color: lighten(@gray-lightest, 2.5%);
  617. // Typography
  618. @text-small-color: @gray;
  619. // Navbar
  620. @navbar-title-color : #666;
  621. @navbar-title-color-hover : #333;
  622. @navbar-default-padding-v : 1rem;
  623. @navbar-default-padding-h : 2rem;
  624. @navbar-default-padding : @navbar-default-padding-v @navbar-default-padding-h;
  625. @navbar-brand-width : 180px;
  626. @navbar-btn-font-size : @font-size-base * 0.8;
  627. @navbar-btn-border-radius : @border-radius-base;
  628. @navbar-btn-font-weight : 700;
  629. @navbar-btn-padding : 10px 10px 11px;
  630. @navbar-btn-line-height : 1;
  631. @navbar-subdued-padding : 12px 12px 13px;
  632. @navbar-subdued-color : @gray;
  633. @navbar-subdued-hover-bg : @gray-lightest;
  634. @navbar-subdued-hover-color : @gray-dark;
  635. @dropdown-divider-margin :((@line-height-computed / 2) - 1) 0;
  636. @dropdown-item-padding : 3px 20px;
  637. // Button colors and sizing
  638. @btn-border-radius-large : @border-radius-large;
  639. @btn-border-radius-base : @border-radius-base;
  640. @btn-border-radius-small : @border-radius-small;
  641. @btn-border-width : 1px;
  642. @btn-border-bottom-width : 2px;
  643. // Cards
  644. @card-box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  645. // Project table
  646. @structured-list-link-color : darken(@blue, 10%);
  647. @structured-header-border-color : @gray-lightest;
  648. @structured-list-border-color : @gray-lightest;
  649. @structured-list-hover-color : @gray-lightest;
  650. @structured-list-line-height : @line-height-base;
  651. // Sidebar
  652. @sidebar-bg : transparent;
  653. @sidebar-color : @gray;
  654. @sidebar-link-color : #333;
  655. @sidebar-active-border-radius : @border-radius-small;
  656. @sidebar-active-bg : @link-color;
  657. @sidebar-active-color : #FFF;
  658. @sidebar-hover-bg : transparent;
  659. @sidebar-hover-text-decoration : underline;
  660. @folders-menu-margin : 0;
  661. @folders-menu-line-height : 1.2;
  662. @folders-menu-item-v-padding : (@line-height-computed / 4);
  663. @folders-menu-item-h-padding : (@line-height-computed / 4);
  664. @folders-title-padding : 0;
  665. @folders-title-margin-top : (@line-height-computed / 2);
  666. @folders-title-margin-bottom : (@line-height-computed / 4);
  667. @folders-title-font-size : @font-size-base;
  668. @folders-title-font-weight : 500;
  669. @folders-title-line-height : @headings-line-height;
  670. @folders-title-color : inherit;
  671. @folders-title-text-transform : none;
  672. @folders-tag-padding : 2px 20px 2px @folders-menu-item-h-padding;
  673. @folders-tag-line-height : 1.8;
  674. @folders-tag-display : block;
  675. @folders-tag-menu-color : @gray;
  676. @folders-tag-hover : darken(@gray-lightest, 2%);
  677. @folders-tag-border-color : @text-color;
  678. @folders-tag-menu-active-hover : darken(@brand-primary, 10%);
  679. @folders-tag-menu-hover : @gray-light;
  680. // Progress bars
  681. @progress-border-radius : @border-radius-base;
  682. @progress-border-width : 1px;
  683. @progress-bar-shadow : inset 0 -1px 0 rgba(0,0,0,.15);
  684. // Footer
  685. @footer-link-color : @link-color;
  686. @footer-link-hover-color : @link-hover-color;
  687. @footer-bg-color : transparent;
  688. @footer-padding : 2em;
  689. // Editor header
  690. @ide-body-top-offset : 40px;
  691. @toolbar-header-bg-color : transparent;
  692. @toolbar-header-shadow : 0 0 2px #ccc;
  693. @toolbar-btn-color : @link-color;
  694. @toolbar-btn-hover-color : @link-hover-color;
  695. @toolbar-btn-hover-bg-color : darken(white, 10%);
  696. @toolbar-btn-hover-text-shadow : 0 1px 0 rgba(0, 0, 0, 0.15);
  697. @toolbar-btn-active-color : white;
  698. @toolbar-btn-active-bg-color : @link-color;
  699. @toolbar-btn-active-shadow : inset 0 3px 5px rgba(0, 0, 0, 0.225);
  700. @toolbar-font-size : 12px;
  701. @toolbar-alt-bg-color : #fafafa;
  702. @toolbar-icon-btn-color : @gray-light;
  703. @toolbar-icon-btn-hover-color : @gray-dark;
  704. @toolbar-icon-btn-hover-shadow : 0 1px 0 rgba(0, 0, 0, 0.25);
  705. @toolbar-icon-btn-hover-boxshadow: inset 0 3px 5px rgba(0, 0, 0, 0.225);
  706. @toolbar-border-bottom : 1px solid @toolbar-border-color;
  707. @toolbar-small-height : 32px;
  708. @toolbar-tall-height : 58px;
  709. @project-name-color : @gray;
  710. @project-rename-link-color : @gray-light;
  711. @project-rename-link-color-hover : @gray-dark;
  712. @global-alerts-padding : (@line-height-computed / 4);
  713. // Editor file-tree
  714. @file-tree-bg : transparent;
  715. @file-tree-line-height : 2.6;
  716. @file-tree-item-color : @gray-darker;
  717. @file-tree-item-toggle-color : @gray;
  718. @file-tree-item-icon-color : @gray-light;
  719. @file-tree-item-input-color : inherit;
  720. @file-tree-item-folder-color : lighten(desaturate(@link-color, 10%), 5%);
  721. @file-tree-item-hover-bg : @gray-lightest;
  722. @file-tree-item-selected-bg : transparent;
  723. @file-tree-multiselect-bg : lighten(@brand-info, 40%);
  724. @file-tree-multiselect-hover-bg : lighten(@brand-info, 30%);
  725. // Editor resizers
  726. @editor-resizer-bg-color : #F4F4F4;
  727. @editor-resizer-bg-color-dragging : #ddd;
  728. @editor-toggler-bg-color : transparent;
  729. @editor-toggler-hover-bg-color : #DDD;
  730. @synctex-controls-z-index : 3;
  731. @synctex-controls-padding : 0 2px;
  732. // Editor toolbar
  733. @editor-toolbar-height : 32px;
  734. @editor-toolbar-bg : #fff;
  735. // Toggle switch
  736. @toggle-switch-bg : @gray-lightest;
  737. @toggle-switch-highlight-color : @brand-primary;
  738. // Formatting buttons
  739. @formatting-btn-color : @btn-default-color;
  740. @formatting-btn-bg : @btn-default-bg;
  741. @formatting-btn-border : @btn-default-border;
  742. @formatting-menu-bg : @btn-default-bg;
  743. // Chat
  744. @chat-bg : transparent;
  745. @chat-message-color : @text-color;
  746. @chat-message-date-color : @gray-light;
  747. @chat-message-name-color : @gray-light;
  748. @chat-message-box-shadow : -1px 2px 3px #ddd;
  749. @chat-message-border-radius : 0;
  750. @chat-message-padding : @line-height-computed / 2;
  751. @chat-message-weight : normal;
  752. @chat-new-message-bg : @gray-lightest;
  753. @chat-new-message-textarea-bg : #FFF;
  754. @chat-new-message-textarea-color : @gray-dark;
  755. // PDF
  756. @pdf-top-offset : @toolbar-tall-height;
  757. @pdf-bg : transparent;
  758. @pdfjs-bg : @gray-lighter;
  759. @pdf-page-shadow-color : #000;
  760. @log-line-no-color : @gray;
  761. @log-hints-color : @gray-dark;
  762. // Tags
  763. @tag-border-radius : 0.25em;
  764. @tag-bg-color : @label-default-bg;
  765. @tag-max-width : 150px;
  766. @tag-bg-hover-color : darken(@label-default-bg, 10%);
  767. @tag-top-adjustment : -2px;
  768. @labels-font-size : 75%;
  769. // System messages
  770. @sys-msg-background : @state-warning-bg;
  771. @sys-msg-color : #333;
  772. @sys-msg-border : 1px solid @common-border-color;
  773. // v2 History
  774. @history-base-font-size : @font-size-small;
  775. @history-base-bg : @gray-lightest;
  776. @history-entry-label-bg-color : @red;
  777. @history-entry-label-color : #FFF;
  778. @history-entry-selected-label-bg-color : #FFF;
  779. @history-entry-selected-label-color : @red;
  780. @history-entry-day-bg : @gray;
  781. @history-entry-selected-bg : @red;
  782. @history-base-color : @gray-light;
  783. @history-highlight-color : @gray;
  784. @history-toolbar-bg-color : @toolbar-alt-bg-color;
  785. @history-toolbar-color : @text-color;
  786. // Input suggestions
  787. @input-suggestion-v-offset : 6px;