all.less 26 KB

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