2022-11-01 09:43:57 -04:00
@import 'colors.less';
2023-06-01 16:57:24 -04:00
@import 'z-index.less';
2024-06-17 11:51:01 -04:00
@import 'border-radius.less';
2022-11-01 09:43:57 -04:00
2022-10-24 09:55:43 -04:00
//
// Variables
// --------------------------------------------------
@editor-header-logo-background: url(../../../public/img/ol-brand/overleaf-o-white.svg)
center / contain no-repeat;
2023-01-10 13:22:03 -05:00
@editor-header-logo-background-active: url(../../../public/img/ol-brand/overleaf-o-white.svg)
center / contain no-repeat;
2022-10-24 09:55:43 -04:00
@editor-loading-logo-padding-top: 115.44%;
@editor-loading-logo-background-url: url(../../../public/img/ol-brand/overleaf-o-grey.svg);
@editor-loading-logo-foreground-url: url(../../../public/img/ol-brand/overleaf-o.svg);
2022-11-01 09:43:57 -04:00
@editor-search-count-color: @neutral-70;
2022-10-24 09:55:43 -04:00
//== Scaffolding
//
// ## Settings for some of the most global styles.
//** Background color for `<body>`.
@body-bg: #fff;
//** Global text color on `<body>`.
2022-11-01 09:43:57 -04:00
@text-color: @content-secondary;
2022-10-24 09:55:43 -04:00
//** Global textual link color.
2022-11-01 09:43:57 -04:00
@link-color: @blue;
@link-active-color: @green-darker;
2022-10-24 09:55:43 -04:00
//** Link hover color set via `darken()` function.
2022-11-01 09:43:57 -04:00
@link-hover-color: @blue-dark;
2022-10-24 09:55:43 -04:00
2022-11-01 09:43:57 -04:00
@link-color-alt: @green-dark;
@link-hover-color-alt: @green-darker;
2022-10-24 09:55:43 -04:00
@hr-border-alt: @gray-lighter;
//== Typography
//
//## Font, line-height, and color for body text, headings, and more.
@font-family-sans-serif: 'Lato', sans-serif;
@font-family-serif: 'Merriweather', serif;
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
@font-family-monospace: Menlo, Monaco, Consolas, 'Courier New', monospace;
@font-family-base: @font-family-sans-serif;
@font-size-base: 16px;
@font-size-large: ceil((@font-size-base * 1.25)); // ~20px
@font-size-small: ceil((@font-size-base * 0.85)); // ~14px
@font-size-extra-small: ceil((@font-size-base * 0.7)); // ~12px
@font-size-h1: floor((@font-size-base * 2)); // ~32px
@font-size-h2: floor((@font-size-base * 1.6)); // ~25px
@font-size-h3: ceil((@font-size-base * 1.25)); // ~20px
@font-size-h4: ceil((@font-size-base * 1.1)); // ~18px
@font-size-h5: @font-size-base;
@font-size-h6: ceil((@font-size-base * 0.85)); // ~14px
//** Unit-less `line-height` for use in components like buttons.
@line-height-base: 1.5625; // 20/14
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
2022-12-08 10:16:20 -05:00
@line-height-computed: floor((@font-size-base * @line-height-base)); // ~25px
2022-10-24 09:55:43 -04:00
//** By default, this inherits from the `<body>`.
@headings-font-family: @font-family-serif;
@headings-font-weight: 500;
@headings-line-height: 1.35;
2022-11-01 09:43:57 -04:00
@headings-color: @content-primary;
2022-10-24 09:55:43 -04:00
//-- Iconography
//
//## Specify custom locations of the include Glyphicons icon font. Useful for those including Bootstrap via Bower.
@icon-font-path: '../fonts/';
@icon-font-name: 'glyphicons-halflings-regular';
@icon-font-svg-id: 'glyphicons_halflingsregular';
//== Components
//
//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
@margin-xs: 5px;
@margin-sm: 10px;
@margin-md: 20px;
@margin-lg: 30px;
@margin-xl: 40px;
@margin-xxl: 50px;
@padding-base-vertical: 5px;
@padding-base-horizontal: 16px;
@padding-large-vertical: 10px;
@padding-large-horizontal: 16px;
@padding-small-vertical: 5px;
@padding-small-horizontal: 10px;
2022-12-08 10:16:20 -05:00
@padding-xs-vertical: @border-size; // border size is removed in .button-size mixin
2022-10-24 09:55:43 -04:00
@padding-xs-horizontal: 8px;
@padding-xs: 5px;
@padding-sm: 10px;
@padding-md: 20px;
@padding-lg: 30px;
@padding-xl: 40px;
@padding-xxl: 50px;
@line-height-large: 1.33;
@line-height-small: 1.5;
2023-03-08 09:43:42 -05:00
@border-width-sm: 1px;
2022-11-01 09:43:57 -04:00
@border-width-base: 3px; // only used by plans and cards
2022-12-07 05:52:22 -05:00
@border-size: 1px;
@border-color-base: @neutral-60;
2022-11-14 10:07:21 -05:00
@border-color-disabled: @color-disabled;
2022-11-01 09:43:57 -04:00
2024-06-11 09:39:56 -04:00
@spacing-00: 0px;
@spacing-01: 2px;
@spacing-02: 4px;
@spacing-03: 6px;
@spacing-04: 8px;
@spacing-05: 12px;
@spacing-06: 16px;
@spacing-07: 20px;
@spacing-08: 24px;
@spacing-09: 32px;
@spacing-10: 40px;
@spacing-11: 48px;
@spacing-12: 56px;
@spacing-13: 64px;
@spacing-14: 72px;
@spacing-15: 80px;
@spacing-16: 96px;
2024-06-11 12:23:59 -04:00
@font-size-01: 0.75rem; // 12px
@font-size-02: 0.875rem; // 14px
@font-size-03: 1rem; // 16px
@font-size-04: 1.125rem; // 18px
@font-size-05: 1.25rem; // 20px
@font-size-06: 1.5rem; // 24px
@font-size-07: 1.875rem; // 30px
@font-size-08: 2.25rem; // 36px
@font-size-09: 3rem; // 48px
@font-size-10: 3.25rem; // 52px
@font-size-11: 3.75rem; // 60px
@font-size-12: 4.5rem; // 72px
@font-size-13: 6rem; // 96px
2024-06-12 09:29:27 -04:00
@font-size-body-base: @font-size-03;
2024-06-11 12:23:59 -04:00
@line-height-01: 1rem; // 16px
@line-height-02: 1.25rem; // 20px
@line-height-03: 1.5rem; // 24px
@line-height-04: 1.75rem; // 28px
@line-height-05: 2rem; // 32px
@line-height-06: 2.5rem; // 40px
@line-height-07: 3rem; // 48px
@line-height-08: 4rem; // 64px
@line-height-09: 4.25rem; // 68px
@line-height-10: 5rem; // 80px
@line-height-11: 6rem; // 96px
@line-height-12: 8rem; // 128px
2022-11-01 09:43:57 -04:00
//** Horizontal line color.
@hr-border: @neutral-20;
2022-10-24 09:55:43 -04:00
2022-11-01 09:43:57 -04:00
@btn-switch-color: @neutral-70;
@btn-switch-hover-color: darken(@neutral-70, 8%);
2022-10-24 09:55:43 -04:00
//** Global color for active items (e.g., navs or dropdowns).
@component-active-color: #fff;
//** Global background color for active items (e.g., navs or dropdowns).
@component-active-bg: @brand-primary;
//** Width of the `border` for generating carets that indicator dropdowns.
@caret-width-base: 4px;
//** Carets increase slightly in size for larger components.
@caret-width-large: 5px;
//== Tables
//
//## Customizes the `.table` component with basic values, each used across all table variations.
//** Padding for `<th>`s and `<td>`s.
@table-cell-padding: 8px;
//** Padding for cells in `.table-condensed`.
@table-condensed-cell-padding: 5px;
//** Default background color used for all tables.
@table-bg: transparent;
//** Background color used for `.table-striped`.
@table-bg-accent: #f9f9f9;
//** Background color used for `.table-hover`.
@table-bg-hover: #f5f5f5;
@table-bg-active: @table-bg-hover;
//** Border color for table and cell borders.
2022-11-01 09:43:57 -04:00
@table-border-color: @neutral-20;
2022-10-24 09:55:43 -04:00
//== Buttons
//
//## For each of Bootstrap's buttons, define text, background and border color.
@btn-font-weight: 700;
@btn-default-color: #fff;
2022-11-01 09:43:57 -04:00
@btn-default-bg: @neutral-70;
2022-10-24 09:55:43 -04:00
@btn-default-border: transparent;
@btn-primary-color: #fff;
2022-11-01 09:43:57 -04:00
@btn-primary-bg: @green;
2022-10-24 09:55:43 -04:00
@btn-primary-border: transparent;
@btn-info-color: #fff;
2022-11-01 09:43:57 -04:00
@btn-info-bg: @blue;
2022-10-24 09:55:43 -04:00
@btn-info-border: transparent;
2023-09-18 07:35:43 -04:00
@btn-info-ghost-color: @blue-50;
@btn-info-ghost-bg: transparent;
@btn-info-ghost-border: transparent;
2022-10-24 09:55:43 -04:00
@btn-warning-color: #fff;
@btn-warning-bg: @orange;
@btn-warning-border: transparent;
@btn-danger-color: #fff;
2022-11-01 09:43:57 -04:00
@btn-danger-bg: @red;
2022-10-24 09:55:43 -04:00
@btn-danger-border: transparent;
2023-04-17 09:48:09 -04:00
@btn-danger-ghost-color: @red-50;
@btn-danger-ghost-bg: transparent;
@btn-danger-ghost-border: transparent;
2022-10-24 09:55:43 -04:00
@btn-link-disabled-color: @gray-light;
//== Forms
//
//##
//** `<input>` background color
@input-bg: #fff;
//** `<input disabled>` background color
2022-11-01 09:43:57 -04:00
@input-bg-disabled: @color-disabled;
2022-10-24 09:55:43 -04:00
//** Text color for `<input>`s
2022-11-01 09:43:57 -04:00
@input-color: @neutral-90;
2022-10-24 09:55:43 -04:00
//** `<input>` border color
2022-11-14 10:07:21 -05:00
@input-border: @border-color-base;
2022-10-24 09:55:43 -04:00
//** `<input>` border radius
2022-11-01 09:43:57 -04:00
@input-border-radius: 4px;
2022-10-24 09:55:43 -04:00
//** Border color for inputs on focus
2022-11-01 09:43:57 -04:00
@input-border-focus: @blue-50;
//** Bordersize for inputs
@input-border-size: @border-size;
2022-11-14 10:07:37 -05:00
@input-padding: @padding-sm;
2022-10-24 09:55:43 -04:00
//** Placeholder text color
2022-11-01 09:43:57 -04:00
@input-color-placeholder: @neutral-60;
2022-10-24 09:55:43 -04:00
//** Default `.form-control` height
2022-12-08 10:16:20 -05:00
@input-height-base: @line-height-computed + (@padding-base-vertical * 2); // Make inputs at least the height of their button counterpart. buttons and inputs have same border height
2022-10-24 09:55:43 -04:00
//** Large `.form-control` height
@input-height-large: (
ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) +
2
);
//** Small `.form-control` height
@input-height-small: (
floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) +
2
);
@legend-color: @gray-dark;
@legend-border-color: #e5e5e5;
//** Background color for textual input addons
@input-group-addon-bg: @gray-lighter;
//** Border color for textual input addons
@input-group-addon-border-color: @input-border;
//== Dropdowns
//
//## Dropdown menu container and contents.
//** Background for the dropdown menu.
@dropdown-bg: #fff;
//** Dropdown menu `border-color`.
@dropdown-border: rgba(0, 0, 0, 0.15);
//** Dropdown menu `border-color` **for IE8**.
@dropdown-fallback-border: #ccc;
//** Divider color for between dropdown items.
@dropdown-divider-bg: #e5e5e5;
//** Dropdown link text color.
@dropdown-link-color: @gray-dark;
//** Hover color for dropdown links.
@dropdown-link-hover-color: #fff;
//** Hover background for dropdown links.
@dropdown-link-hover-bg: @brand-primary;
//** Active dropdown menu item text color.
@dropdown-link-active-color: @component-active-color;
//** Active dropdown menu item background color.
@dropdown-link-active-bg: @component-active-bg;
//** Disabled dropdown menu item background color.
@dropdown-link-disabled-color: @gray-light;
//** Text color for headers within dropdown menus.
@dropdown-header-color: @gray-light;
// Note: Deprecated @dropdown-caret-color as of v3.1.0
@dropdown-caret-color: #000;
2023-05-15 05:17:13 -04:00
//== List group
//
//##
//** Background color on `.list-group-item`
@list-group-bg: #fff;
//** `.list-group-item` border color
@list-group-border: #ddd;
//** List group border radius
@list-group-border-radius: @border-radius-base;
//** Background color of single list elements on hover
@list-group-hover-bg: @component-active-bg;
//** Text color of single list elements on hover
@list-group-hover-color: @component-active-color;
//** Text color of active list elements
@list-group-active-color: @component-active-color;
//** Background color of active list elements
@list-group-active-bg: @component-active-bg;
//** Border color of active list elements
@list-group-active-border: @list-group-active-bg;
@list-group-active-text-color: lighten(@list-group-active-bg, 40%);
@list-group-link-color: #555;
@list-group-link-heading-color: #333;
2022-10-24 09:55:43 -04:00
//-- Z-index master list
//
// Warning: Avoid customizing these values. They're used for a bird's eye view
// of components dependent on the z-axis and are designed to all work together.
//
// Note: These variables are not generated into the Customizer.
@zindex-navbar: 1000;
@zindex-dropdown: 1000;
@zindex-navbar-fixed: 1030;
@zindex-modal-background: 1040;
@zindex-modal: 1050;
@zindex-popover: 1060;
@zindex-tooltip: 1070;
//== Media queries breakpoints
//
//## Define the breakpoints at which your layout will change, adapting to different screen sizes.
// Extra small screen / phone
// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1
@screen-xs: 480px;
@screen-xs-min: @screen-xs;
@screen-phone: @screen-xs-min;
// Small screen / tablet
// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1
@screen-sm: 768px;
@screen-sm-min: @screen-sm;
@screen-tablet: @screen-sm-min;
2024-08-13 08:18:03 -04:00
// Medium screen / small desktop
2022-10-24 09:55:43 -04:00
// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1
@screen-md: 992px;
@screen-md-min: @screen-md;
@screen-desktop: @screen-md-min;
2024-08-13 08:18:03 -04:00
// Large screen / desktop
2022-10-24 09:55:43 -04:00
// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1
@screen-lg: 1200px;
@screen-lg-min: @screen-lg;
@screen-lg-desktop: @screen-lg-min;
2024-08-13 08:18:03 -04:00
// Extra large screen / wide desktop
@screen-xl: 1400px;
@screen-xl-min: @screen-xl;
@screen-xl-desktop: @screen-xl-min;
2022-10-24 09:55:43 -04:00
// So media queries don't overlap when required, provide a maximum
@screen-xs-max: (@screen-sm-min - 1);
@screen-sm-max: (@screen-md-min - 1);
@screen-md-max: (@screen-lg-min - 1);
2024-08-13 08:18:03 -04:00
@screen-lg-max: (@screen-xl-min - 1);
2022-10-24 09:55:43 -04:00
//== Grid system
//
//## Define your custom responsive grid.
//** Number of columns in the grid.
@grid-columns: 12;
//** Padding between columns. Gets divided in half for the left and right.
@grid-gutter-width: 30px;
2024-08-13 08:18:03 -04:00
@grid-gutter-width-new: 32px; // for website-redesign because the usage of 16px padding
2022-10-24 09:55:43 -04:00
// Navbar collapse
//** Point at which the navbar becomes uncollapsed.
@grid-float-breakpoint: @screen-md-min;
//** Point at which the navbar begins collapsing.
@grid-float-breakpoint-max: (@grid-float-breakpoint - 1);
//== Container sizes
//
//## Define the maximum width of `.container` for different screen sizes.
// Small screen / tablet
@container-tablet: ((720px + @grid-gutter-width));
//** For `@screen-sm-min` and up.
@container-sm: @container-tablet;
2024-08-13 08:18:03 -04:00
// Medium screen / small desktop
2022-10-24 09:55:43 -04:00
@container-desktop: ((940px + @grid-gutter-width));
//** For `@screen-md-min` and up.
@container-md: @container-desktop;
2024-08-13 08:18:03 -04:00
// Large screen / desktop
2022-10-24 09:55:43 -04:00
@container-large-desktop: ((1140px + @grid-gutter-width));
//** For `@screen-lg-min` and up.
@container-lg: @container-large-desktop;
2024-08-13 08:18:03 -04:00
// Extra large screen / wide desktop
@container-wide-desktop: ((1248px + @grid-gutter-width-new)); // 1280px
//** For `@screen-xl-min` and up.
@container-xl: @container-wide-desktop;
2022-10-24 09:55:43 -04:00
//== Navbar
//
//##
// Basics of a navbar
@navbar-height: 60px;
@navbar-margin-bottom: 0;
@navbar-border-radius: 0;
@navbar-padding-horizontal: floor((@grid-gutter-width / 2));
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
@navbar-default-color: #fff;
2023-12-04 12:53:26 -05:00
@navbar-default-color-website-redesign: @neutral-90;
2022-11-01 09:43:57 -04:00
@navbar-default-bg: @neutral-90;
2023-12-04 12:53:26 -05:00
@navbar-default-bg-website-redesign: @white;
2022-10-24 09:55:43 -04:00
@navbar-default-border: transparent;
// Navbar links
@navbar-default-link-color: #fff;
2023-12-04 12:53:26 -05:00
@navbar-default-link-color-website-redesign: @neutral-90;
2022-10-24 09:55:43 -04:00
@navbar-default-link-border-color: @navbar-default-link-color;
2022-11-01 09:43:57 -04:00
@navbar-default-link-hover-color: @green;
@navbar-default-link-hover-bg: @green;
2023-12-15 10:43:40 -05:00
@navbar-default-link-hover-bg-website-redesign: @neutral-90;
2022-10-24 09:55:43 -04:00
@navbar-default-link-active-color: #fff;
2023-12-15 10:43:40 -05:00
@navbar-default-link-active-color-website-redesign: @neutral-90;
2022-11-01 09:43:57 -04:00
@navbar-default-link-active-bg: @green;
2023-12-15 10:43:40 -05:00
@navbar-default-link-active-bg-website-redesign: @neutral-90;
2022-10-24 09:55:43 -04:00
@navbar-default-link-disabled-color: #ccc;
2023-12-15 10:43:40 -05:00
@navbar-default-link-disabled-color-website-redesign: @neutral-80;
2022-10-24 09:55:43 -04:00
@navbar-default-link-disabled-bg: transparent;
// Navbar brand label
@navbar-default-brand-color: @navbar-default-link-color;
@navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%);
@navbar-default-brand-hover-bg: transparent;
// Navbar toggle
@navbar-default-toggle-hover-bg: @link-hover-color;
2023-12-15 10:43:40 -05:00
@navbar-default-toggle-hover-bg-website-redesign: @neutral-90;
2022-10-24 09:55:43 -04:00
@navbar-default-toggle-border-color: @link-color;
2023-12-15 10:43:40 -05:00
@navbar-default-toggle-border-color-website-redesign: @neutral-90;
2022-10-24 09:55:43 -04:00
//== Navs
//
//##
//=== Shared nav styles
@nav-link-padding: 10px 15px;
@nav-link-hover-bg: @link-color;
@nav-disabled-link-color: @gray-light;
@nav-disabled-link-hover-color: @gray-light;
@nav-open-link-hover-color: #fff;
//== Tabs
@nav-tabs-border-color: #ddd;
@nav-tabs-link-hover-border-color: @link-color;
@nav-tabs-active-link-hover-bg: @body-bg;
@nav-tabs-active-link-hover-color: @gray;
@nav-tabs-active-link-hover-border-color: #ddd;
@nav-tabs-justified-link-border-color: #ddd;
@nav-tabs-justified-active-link-border-color: @body-bg;
//== Pills
@nav-pills-link-color: @btn-default-bg;
@nav-pills-link-hover-color: @nav-link-hover-bg;
2022-11-01 09:43:57 -04:00
@nav-pills-link-hover-bg: darken(@neutral-70, 8%); // match button-variant mixin
2022-10-24 09:55:43 -04:00
@nav-pills-border-radius: @border-radius-base;
2022-11-01 09:43:57 -04:00
@nav-pills-active-link-hover-bg: @green-darker;
2022-10-24 09:55:43 -04:00
@nav-pills-active-link-hover-color: @component-active-color;
//== Pagination
//
//##
2022-11-01 09:43:57 -04:00
@pagination-color: @green-darker;
2022-10-24 09:55:43 -04:00
@pagination-bg: #fff;
@pagination-border: @gray-lighter;
2022-11-01 09:43:57 -04:00
@pagination-hover-color: @green-darker;
2022-10-24 09:55:43 -04:00
@pagination-hover-bg: @gray-lightest;
@pagination-hover-border: @gray-lighter;
@pagination-active-color: #fff;
2022-11-01 09:43:57 -04:00
@pagination-active-bg: @green-darker;
2022-10-24 09:55:43 -04:00
@pagination-active-border: @gray-lighter;
@pagination-disabled-color: @gray-dark;
@pagination-disabled-bg: @gray-lightest;
@pagination-disabled-border: @gray-lighter;
// Plans
2022-11-01 09:43:57 -04:00
@table-hover-bg: @neutral-10;
2022-10-24 09:55:43 -04:00
@plans-non-highlighted: white;
//== Form states and alerts
//
//## Define colors for form feedback states and, by default, alerts.
2022-11-01 09:43:57 -04:00
@state-success-text: @brand-success;
2022-10-24 09:55:43 -04:00
@state-success-bg: lighten(@brand-success, 50%);
2022-11-01 09:43:57 -04:00
@state-success-border: @brand-success;
2022-10-24 09:55:43 -04:00
2022-11-01 09:43:57 -04:00
@state-info-text: @content-secondary;
2022-10-24 09:55:43 -04:00
@state-info-bg: lighten(@brand-info, 47%);
2022-11-01 09:43:57 -04:00
@state-info-border: @content-secondary;
2022-10-24 09:55:43 -04:00
2022-11-01 09:43:57 -04:00
@state-warning-text: @brand-warning;
2022-10-24 09:55:43 -04:00
@state-warning-bg: lighten(@brand-warning, 45%);
@state-warning-border: @brand-warning;
2022-11-01 09:43:57 -04:00
@state-danger-text: @brand-danger;
2022-10-24 09:55:43 -04:00
@state-danger-bg: lighten(@brand-danger, 50%);
2022-11-01 09:43:57 -04:00
@state-danger-border: @brand-danger;
2022-10-24 09:55:43 -04:00
//== Tooltips
//
//##
//** Tooltip max width
2023-01-23 06:47:16 -05:00
@tooltip-max-width: 220px;
2022-10-24 09:55:43 -04:00
//** Tooltip text color
@tooltip-color: #fff;
//** Tooltip background color
@tooltip-bg: #000;
@tooltip-opacity: 0.9;
//** Tooltip arrow width
@tooltip-arrow-width: 5px;
//** Tooltip arrow color
@tooltip-arrow-color: @tooltip-bg;
//== Popovers
//
//##
//** Popover body background color
@popover-bg: #fff;
//** Popover maximum width
@popover-max-width: 276px;
//** Popover border color
@popover-border-color: rgba(0, 0, 0, 0.2);
//** Popover fallback border color
@popover-fallback-border-color: #ccc;
//** Popover title background color
@popover-title-bg: darken(@popover-bg, 3%);
//** Popover arrow width
@popover-arrow-width: 10px;
//** Popover arrow color
@popover-arrow-color: #fff;
//** Popover outer arrow width
@popover-arrow-outer-width: (@popover-arrow-width + 1);
//** Popover outer arrow color
@popover-arrow-outer-color: fadein(@popover-border-color, 5%);
//** Popover outer arrow fallback color
@popover-arrow-outer-fallback-color: darken(
@popover-fallback-border-color,
20%
);
2023-08-29 15:04:45 -04:00
//== Popovers dark theme
//
//##
//** Popover body background color
@popover-dark-bg: #000;
//** Popover font color
@popover-dark-color: #fff;
//** Popover maximum width
@popover-dark-max-width: 512px;
//** Popover border color
@popover-dark-border-color: #000;
//** Popover title background color
@popover-dark-title-bg: #000;
//** Popover arrow color
@popover-dark-arrow-color: #000;
//** Popover outer arrow color
@popover-dark-arrow-outer-color: fadein(@popover-dark-border-color, 5%);
2022-10-24 09:55:43 -04:00
//== Labels
//
//##
//** Default label background color
@label-default-bg: @gray-light;
//** Primary label background color
@label-primary-bg: @brand-primary;
//** Success label background color
@label-success-bg: @brand-success;
//** Info label background color
@label-info-bg: @brand-info;
//** Warning label background color
@label-warning-bg: @brand-warning;
//** Danger label background color
@label-danger-bg: @brand-danger;
//** Default label text color
@label-color: #fff;
//** Default text color of a linked label
@label-link-hover-color: #fff;
//== Modals
//
//##
//** Padding applied to the modal body
@modal-inner-padding: 20px;
//** Padding applied to the modal title
@modal-title-padding: 15px;
//** Modal title line-height
@modal-title-line-height: @line-height-base;
//** Background color of modal content area
@modal-content-bg: #fff;
//** Modal content border color
@modal-content-border-color: rgba(0, 0, 0, 0.2);
//** Modal content border color **for IE8**
@modal-content-fallback-border-color: #999;
//** Modal backdrop background color
@modal-backdrop-bg: #000;
//** Modal backdrop opacity
@modal-backdrop-opacity: 0.5;
//** Modal header border color
@modal-header-border-color: #e5e5e5;
//** Modal footer border color
@modal-footer-border-color: @modal-header-border-color;
@modal-footer-background-color: @gray-lightest;
@modal-lg: 900px;
@modal-md: 600px;
@modal-sm: 300px;
//== Alerts
//
//## Define alert colors, border radius, and padding.
@alert-padding: 15px;
@alert-border-radius: @border-radius-base;
@alert-link-font-weight: bold;
@alert-success-bg: @brand-success;
@alert-success-text: #fff;
@alert-success-border: transparent;
@alert-info-bg: @brand-info;
@alert-info-text: #fff;
@alert-info-border: transparent;
2023-01-26 11:48:20 -05:00
@alert-info-alt-bg: @v2-dash-pane-bg;
@alert-info-alt-text: @v2-dash-pane-subdued-color;
@alert-info-alt-border: transparent;
2022-10-24 09:55:43 -04:00
@alert-warning-bg: @brand-warning;
@alert-warning-text: #fff;
@alert-warning-border: transparent;
@alert-danger-bg: @brand-danger;
@alert-danger-text: #fff;
@alert-danger-border: transparent;
2022-11-01 09:43:57 -04:00
@alert-alt-bg: @neutral-20;
@alert-alt-text: @content-secondary;
2022-10-24 09:55:43 -04:00
@alert-alt-border: transparent;
//== Progress bars
//
//##
//** Background color of the whole progress component
@progress-bg: white;
@progress-border-color: @gray-lighter;
//** Progress bar text color
@progress-bar-color: #fff;
//** Default progress bar color
2022-11-01 09:43:57 -04:00
@progress-bar-bg: @neutral-70;
2022-10-24 09:55:43 -04:00
//** Success progress bar color
2022-11-01 09:43:57 -04:00
@progress-bar-success-bg: @green;
2022-10-24 09:55:43 -04:00
//** Warning progress bar color
@progress-bar-warning-bg: @brand-warning;
//** Danger progress bar color
2022-11-01 09:43:57 -04:00
@progress-bar-danger-bg: @red;
2022-10-24 09:55:43 -04:00
//** Info progress bar color
2022-11-01 09:43:57 -04:00
@progress-bar-info-bg: @blue;
2022-10-24 09:55:43 -04:00
//== Thumbnails
//
//##
//** Padding around the thumbnail image
@thumbnail-padding: 4px;
//** Thumbnail background color
@thumbnail-bg: @body-bg;
//** Thumbnail border color
@thumbnail-border: #ddd;
//** Thumbnail border radius
@thumbnail-border-radius: @border-radius-base;
//** Custom text color for thumbnail captions
@thumbnail-caption-color: @text-color;
//** Padding around the thumbnail caption
@thumbnail-caption-padding: 9px;
//== Close
//
//##
@close-font-weight: bold;
@close-color: #000;
@close-text-shadow: 0 1px 0 #fff;
//== Type
//
//##
//** Text muted color
@text-muted: @gray-light;
//** Abbreviations and acronyms border color
@abbr-border-color: @gray-light;
//** Headings small color
@headings-small-color: @gray-light;
//** Blockquote small color
2022-11-01 09:43:57 -04:00
@blockquote-small-color: @neutral-60;
2022-10-24 09:55:43 -04:00
//** Blockquote font size
@blockquote-font-size: (@font-size-base * 1.125);
//** Blockquote border color
@blockquote-border-color: @gray-lighter;
//** Page header border color
2022-11-01 09:43:57 -04:00
@page-header-border-color: @hr-border;
2022-10-24 09:55:43 -04:00
//== Miscellaneous
2022-11-01 09:43:57 -04:00
@editor-search-count-color: @neutral-70;
2022-10-24 09:55:43 -04:00
//##
//** Horizontal offset for forms and lists.
@component-offset-horizontal: 180px;
@content-margin-vertical: @line-height-computed;
2023-08-11 04:11:22 -04:00
@left-menu-width: 320px;
2022-10-24 09:55:43 -04:00
@left-menu-animation-duration: 0.35s;
2022-11-01 09:43:57 -04:00
@toolbar-border-color: @neutral-80;
2022-10-24 09:55:43 -04:00
@toolbar-header-btn-border-color: @toolbar-border-color;
2022-11-15 05:55:29 -05:00
@toolbar-btn-height: 26px;
2022-10-24 09:55:43 -04:00
@common-border-color: @gray-lighter;
2022-11-01 09:43:57 -04:00
@editor-border-color: @neutral-80;
2022-10-24 09:55:43 -04:00
@editor-dark-background-color: #333;
@editor-dark-toolbar-border-color: #222;
@editor-dark-highlight-color: #ffa03a;
// Custom
@header-height: 68px;
@footer-height: 50px;
// Backgrounds
2022-11-01 09:43:57 -04:00
@content-alt-bg-color: @neutral-10;
2022-10-24 09:55:43 -04:00
// Typography
2022-11-01 09:43:57 -04:00
@text-small-color: @content-secondary;
2022-10-24 09:55:43 -04:00
// Navbar
2022-11-01 09:43:57 -04:00
@navbar-title-color: @neutral-20;
@navbar-title-color-hover: @neutral-40;
2022-10-24 09:55:43 -04:00
@navbar-default-padding-v: (@grid-gutter-width / 2);
@navbar-default-padding-h: 10px;
@navbar-default-padding: @navbar-default-padding-v @navbar-default-padding-h;
@navbar-brand-width: 130px;
@navbar-btn-font-size: @font-size-base;
@navbar-btn-border-radius: @btn-border-radius-base;
@navbar-btn-font-weight: 400;
@navbar-btn-padding: (@padding-base-vertical - 1) @padding-base-horizontal
@padding-base-vertical;
@navbar-btn-line-height: @line-height-base;
@navbar-subdued-padding: (@padding-base-vertical + 1)
(@padding-base-horizontal + 1) (@padding-base-vertical + 2);
@navbar-subdued-color: #fff;
2023-12-04 12:53:26 -05:00
@navbar-subdued-color-website-redesign: @neutral-90;
2022-10-24 09:55:43 -04:00
@navbar-subdued-hover-bg: #fff;
2023-12-04 12:53:26 -05:00
@navbar-subdued-hover-bg-website-redesign: @neutral-90;
2022-11-01 09:43:57 -04:00
@navbar-subdued-hover-color: @green;
2023-12-15 10:43:40 -05:00
@navbar-subdued-hover-color-website-redesign: #fff;
2022-10-24 09:55:43 -04:00
@navbar-brand-image-url: url(../../../public/img/ol-brand/overleaf-white.svg);
2023-12-15 10:43:40 -05:00
@navbar-brand-image-url-website-redesign: url(../../../public/img/ol-brand/overleaf-black.svg);
2022-10-24 09:55:43 -04:00
@dropdown-divider-margin: 6px;
@dropdown-item-padding: 4px 20px;
@navbar-default-link-bg: transparent;
// Button colors and sizing
@btn-border-radius-large: 9999px;
@btn-border-radius-base: 9999px;
@btn-border-radius-small: 9999px;
@btn-border-width: 0;
@btn-border-bottom-width: 0;
2022-11-14 10:07:21 -05:00
@btn-primary-hover-bg-color: @green-dark;
@btn-secondary-hover-bg-color: @neutral-20;
2022-10-24 09:55:43 -04:00
2023-05-09 04:53:26 -04:00
// Shadows
2024-03-25 06:51:40 -04:00
@box-shadow:
0px 4px 12px rgba(30, 37, 48, 0.12),
2023-05-09 04:53:26 -04:00
0px 2px 4px rgba(30, 37, 48, 0.08);
2022-10-24 09:55:43 -04:00
// Cards
2023-03-08 09:43:42 -05:00
@card-border-radius: @border-radius-base-new;
2023-04-04 09:47:16 -04:00
@card-gray-bg-color: @neutral-10; // only some variations of cards
2023-05-09 04:53:26 -04:00
@card-box-shadow: @box-shadow; // only some variations of cards
2022-10-24 09:55:43 -04:00
// Project table
2022-11-01 09:43:57 -04:00
@structured-list-link-color: @blue;
@structured-header-border-color: shade(@neutral-20, 5%);
@structured-list-border-color: @neutral-20;
@structured-list-hover-color: lighten(@neutral-20, 5%);
2022-10-24 09:55:43 -04:00
@structured-list-line-height: 2.5;
// Sidebar
2022-11-01 09:43:57 -04:00
@sidebar-bg: @neutral-80;
@sidebar-color: @neutral-40;
2022-10-24 09:55:43 -04:00
@sidebar-link-color: #fff;
@sidebar-active-border-radius: 0;
2022-11-01 09:43:57 -04:00
@sidebar-active-bg: @neutral-90;
2022-10-24 09:55:43 -04:00
@sidebar-active-color: #fff;
@sidebar-active-font-weight: 700;
2022-11-01 09:43:57 -04:00
@sidebar-hover-bg: @neutral-70;
2022-10-24 09:55:43 -04:00
@sidebar-hover-text-decoration: none;
2022-11-01 09:43:57 -04:00
@v2-dash-pane-bg: @neutral-70;
2022-10-24 09:55:43 -04:00
@v2-dash-pane-link-color: #fff;
@v2-dash-pane-color: #fff;
2022-11-01 09:43:57 -04:00
@v2-dash-pane-subdued-color: @neutral-20;
2022-10-24 09:55:43 -04:00
@v2-dash-pane-toggle-color: #fff;
2022-11-01 09:43:57 -04:00
@v2-dash-pane-btn-bg: @neutral-80;
@v2-dash-pane-btn-hover-bg: @neutral-90;
2022-10-24 09:55:43 -04:00
@folders-menu-margin: 0 - (@grid-gutter-width / 2);
@folders-menu-line-height: @structured-list-line-height;
@folders-menu-item-v-padding: (@line-height-computed / 4);
@folders-menu-item-h-padding: (@grid-gutter-width / 2);
@folders-title-padding: @folders-menu-item-v-padding 0;
@folders-title-margin-top: 0;
@folders-title-margin-bottom: 0;
@folders-title-font-size: @font-size-small;
@folders-title-font-weight: normal;
@folders-title-line-height: @headings-line-height;
2022-11-01 09:43:57 -04:00
@folders-title-color: @neutral-40;
2022-10-24 09:55:43 -04:00
@folders-title-text-transform: uppercase;
@folders-tag-padding: @folders-menu-item-v-padding 30px
@folders-menu-item-v-padding @folders-menu-item-h-padding;
@folders-tag-line-height: 1.4;
2024-07-02 08:10:42 -04:00
@folders-tag-display: flex;
2022-10-24 09:55:43 -04:00
@folders-tag-menu-color: #fff;
@folders-tag-hover: @sidebar-hover-bg;
@folders-tag-border-color: @folders-tag-menu-color;
@folders-tag-menu-active-hover: rgba(0, 0, 0, 0.1);
@folders-tag-menu-hover: rgba(0, 0, 0, 0.1);
2022-11-01 09:43:57 -04:00
@info-badge-bg: @blue;
2022-10-24 09:55:43 -04:00
// Progress bars
@progress-border-radius: @line-height-computed;
@progress-border-width: 0;
@progress-bar-shadow: none;
// Footer
@footer-link-color: @link-color-alt;
@footer-link-hover-color: @link-hover-color-alt;
@footer-bg-color: #fff;
@footer-padding: 2em 0;
@fat-footer-social-font-size: 30px;
// Editor header
@ide-body-top-offset: 40px;
2022-11-01 09:43:57 -04:00
@toolbar-header-bg-color: @neutral-90;
2022-10-24 09:55:43 -04:00
@toolbar-header-shadow: none;
@toolbar-header-branded-btn-bg-color: transparent;
@toolbar-btn-color: #fff;
@toolbar-btn-hover-color: #fff;
2022-11-01 09:43:57 -04:00
@toolbar-btn-hover-bg-color: @neutral-80;
2022-10-24 09:55:43 -04:00
@toolbar-btn-hover-text-shadow: none;
@toolbar-btn-active-color: #fff;
2022-11-01 09:43:57 -04:00
@toolbar-btn-active-bg-color: @green;
2022-10-24 09:55:43 -04:00
@toolbar-btn-active-shadow: none;
@toolbar-font-size: 13px;
2022-11-01 09:43:57 -04:00
@toolbar-alt-bg-color: @neutral-80;
2022-10-24 09:55:43 -04:00
@toolbar-icon-btn-color: #fff;
@toolbar-icon-btn-hover-color: #fff;
@toolbar-icon-btn-hover-shadow: none;
@toolbar-icon-btn-hover-boxshadow: none;
@toolbar-border-bottom: 1px solid @toolbar-border-color;
@toolbar-small-height: 32px;
@toolbar-tall-height: 58px;
2022-11-01 09:43:57 -04:00
@project-name-color: @neutral-40;
@project-rename-link-color: @neutral-40;
@project-rename-link-color-hover: @neutral-20;
2022-10-24 09:55:43 -04:00
@global-alerts-padding: 7px;
// Editor file-tree
2022-11-01 09:43:57 -04:00
@file-tree-bg: @neutral-70;
2022-10-24 09:55:43 -04:00
@file-tree-line-height: 2.05;
@file-tree-item-color: #fff;
@file-tree-item-focus-color: @file-tree-item-color;
@file-tree-item-selected-color: @file-tree-item-color;
2022-11-01 09:43:57 -04:00
@file-tree-item-toggle-color: @neutral-40;
@file-tree-item-icon-color: @neutral-40;
2022-12-08 10:17:02 -05:00
@file-tree-item-input-color: @input-color;
2022-11-01 09:43:57 -04:00
@file-tree-item-folder-color: @neutral-40;
@file-tree-item-hover-bg: @neutral-80;
@file-tree-item-selected-bg: @green;
@file-tree-multiselect-bg: @blue;
@file-tree-multiselect-hover-bg: @blue-dark;
@file-tree-droppable-bg-color: @neutral-40;
@file-tree-error-color: @neutral-20;
2022-10-24 09:55:43 -04:00
// File outline
@outline-v-rhythm: 24px;
@outline-h-rhythm: 24px;
@outline-item-h-padding: @outline-h-rhythm * 0.25;
2022-11-01 09:43:57 -04:00
@outline-line-guide-color: @neutral-60;
@outline-expand-collapse-color: @neutral-40;
2022-10-24 09:55:43 -04:00
@outline-no-items-color: @file-tree-item-color;
2022-11-01 09:43:57 -04:00
@outline-header-hover-bg: @neutral-90;
2022-10-24 09:55:43 -04:00
@outline-highlight-bg: tint(@file-tree-bg, 15%);
2022-11-01 09:43:57 -04:00
@vertical-resizable-resizer-bg: @neutral-80;
@vertical-resizable-resizer-hover-bg: @neutral-90;
2022-10-24 09:55:43 -04:00
// Editor resizers
2022-11-01 09:43:57 -04:00
@editor-resizer-bg-color: @neutral-80;
@editor-resizer-bg-color-dragging: @neutral-80;
@editor-toggler-bg-color: darken(@neutral-40, 15%);
@editor-toggler-hover-bg-color: @green;
2022-10-24 09:55:43 -04:00
@synctex-controls-z-index: 6;
@synctex-controls-padding: 0;
// Editor toolbar
@editor-toolbar-height: 32px;
2022-11-01 09:43:57 -04:00
@editor-toolbar-bg: @neutral-80;
2022-10-24 09:55:43 -04:00
// Toggle switch
2022-11-01 09:43:57 -04:00
@toggle-switch-bg: @neutral-20;
@toggle-switch-highlight-color: @green;
2022-10-24 09:55:43 -04:00
// Formatting buttons
@formatting-btn-color: #fff;
2022-11-01 09:43:57 -04:00
@formatting-btn-bg: @neutral-80;
@formatting-btn-border: @neutral-70;
@formatting-menu-bg: @neutral-80;
2022-10-24 09:55:43 -04:00
// Chat
2022-11-01 09:43:57 -04:00
@chat-bg: @neutral-80;
@chat-instructions-color: @neutral-20;
2022-10-24 09:55:43 -04:00
@chat-message-color: #fff;
2022-11-01 09:43:57 -04:00
@chat-message-date-color: @neutral-40;
2022-10-24 09:55:43 -04:00
@chat-message-name-color: #fff;
@chat-message-box-shadow: none;
@chat-message-border-radius: @border-radius-large;
@chat-message-padding: 5px 10px;
@chat-message-weight: bold;
2022-11-01 09:43:57 -04:00
@chat-new-message-bg: @neutral-70;
@chat-new-message-textarea-bg: @neutral-20;
@chat-new-message-textarea-color: @neutral-90;
2022-10-24 09:55:43 -04:00
@chat-new-message-border-color: @editor-border-color;
// PDF and logs
@pdf-top-offset: @toolbar-small-height;
2022-12-05 10:33:38 -05:00
@pdf-bg: @neutral-10;
2022-10-24 09:55:43 -04:00
@pdfjs-bg: transparent;
@pdf-page-shadow-color: rgba(0, 0, 0, 0.5);
2022-11-01 09:43:57 -04:00
@logs-pane-bg: @neutral-80;
2022-10-24 09:55:43 -04:00
@log-line-no-color: #fff;
2022-11-01 09:43:57 -04:00
@log-hints-color: @neutral-70;
2024-05-31 04:51:27 -04:00
@pdf-toolbar-btn-hover-color: rgba(125, 125, 125, 0.2);
2022-10-24 09:55:43 -04:00
// Tags
@tag-border-radius: 9999px;
2022-11-01 09:43:57 -04:00
@tag-color: @neutral-70;
@tag-bg-color: @neutral-20;
@tag-bg-hover-color: darken(@neutral-20, 5%);
2022-10-24 09:55:43 -04:00
@tag-max-width: 150px;
@tag-top-adjustment: 2px;
@labels-font-size: 85%;
// System messages
2022-11-01 09:43:57 -04:00
@sys-msg-background: @blue;
2022-10-24 09:55:43 -04:00
@sys-msg-color: #fff;
2022-11-01 09:43:57 -04:00
@sys-msg-border: solid 1px lighten(@blue, 10%);
2022-10-24 09:55:43 -04:00
// Portals
@black-alpha-strong: rgba(0, 0, 0, 0.8);
@btn-portal-width: 200px;
// v2 History
@history-base-font-size: @font-size-small;
2022-11-01 09:43:57 -04:00
@history-base-bg: @neutral-20;
@history-entry-label-bg-color: @blue;
@history-entry-pseudo-label-bg-color: @green;
2022-10-24 09:55:43 -04:00
@history-entry-label-color: #fff;
@history-entry-selected-label-bg-color: #fff;
2022-11-01 09:43:57 -04:00
@history-entry-selected-label-color: @blue;
@history-entry-selected-pseudo-label-color: @green;
@history-entry-day-bg: @neutral-20;
@history-entry-day-color: @neutral-60;
@history-entry-selected-bg: @green;
@history-entry-handle-bg: darken(@green, 10%);
2022-10-24 09:55:43 -04:00
@history-entry-handle-height: 8px;
2022-11-01 09:43:57 -04:00
@history-base-color: @neutral-60;
@history-highlight-color: @content-secondary;
2022-10-24 09:55:43 -04:00
@history-toolbar-bg-color: @editor-toolbar-bg;
@history-toolbar-color: #fff;
@history-file-badge-bg: rgba(255, 255, 255, 0.25);
@history-file-badge-color: @file-tree-item-color;
// Input suggestions
@input-suggestion-v-offset: 4px;
// Symbol Palette
2022-11-01 09:43:57 -04:00
@symbol-palette-bg: @neutral-70;
2022-10-24 09:55:43 -04:00
@symbol-palette-color: #fff;
2022-11-01 09:43:57 -04:00
@symbol-palette-header-background: @neutral-80;
@symbol-palette-item-bg: @neutral-80;
2022-10-24 09:55:43 -04:00
@symbol-palette-item-color: #fff;
2022-11-01 09:43:57 -04:00
@symbol-palette-selected-tab-bg: @neutral-70;
2022-10-24 09:55:43 -04:00
@symbol-palette-selected-tab-color: #fff;
2022-11-01 09:43:57 -04:00
@symbol-palette-text-shadow-color: @neutral-90;
2022-10-24 09:55:43 -04:00
// Editor fonts
@editor-font-lucida: 'Lucida Console', 'Source Code Pro', monospace;
@editor-font-monaco: Monaco, Menlo, 'Ubuntu Mono', 'Consolas', monospace;
@mobile-action-element-width: 48px;
@mobile-action-element-height: @mobile-action-element-width;
2023-03-23 10:54:00 -04:00
// React History
@history-react-header-bg: @neutral-80;
@history-react-header-color: #fff;
@history-react-separator-color: @neutral-80;
@history-main-bg: #fff;
2023-05-02 10:00:45 -04:00
// Gradients
@premium-gradient: linear-gradient(
246deg,
@blue-70 0%,
#254c84 29%,
@blue-40 97%
);