2017-09-25 06:48:42 -04:00
|
|
|
@import "./_common-variables.less";
|
|
|
|
|
2017-12-13 11:23:50 -05:00
|
|
|
@font-family-sans-serif: "Lato", sans-serif;
|
|
|
|
|
2017-10-09 10:27:01 -04:00
|
|
|
@header-height: 68px;
|
2017-10-09 05:30:09 -04:00
|
|
|
@footer-height: 50px;
|
2017-10-05 13:16:52 -04:00
|
|
|
|
2017-09-25 06:48:42 -04:00
|
|
|
// Styleguide colors
|
|
|
|
@ol-blue-gray-1 : #E4E8EE;
|
|
|
|
@ol-blue-gray-2 : #9DA7B7;
|
|
|
|
@ol-blue-gray-3 : #5D6879;
|
2017-11-20 07:24:00 -05:00
|
|
|
@ol-blue-gray-4 : #455265;
|
2017-09-25 06:48:42 -04:00
|
|
|
@ol-blue-gray-5 : #2C3645;
|
|
|
|
@ol-blue-gray-6 : #1E2530;
|
|
|
|
|
|
|
|
@ol-green : #4F9C45;
|
|
|
|
@ol-dark-green : #1C5B26;
|
|
|
|
@ol-blue : #4B7FD1;
|
|
|
|
@ol-dark-blue : #2857A1;
|
|
|
|
@ol-red : #C9453E;
|
|
|
|
@ol-dark-red : #A6312B;
|
|
|
|
|
|
|
|
@ol-type-color : @ol-blue-gray-3;
|
|
|
|
|
|
|
|
// Navbar customization
|
2017-10-23 10:56:52 -04:00
|
|
|
@navbar-title-color : @ol-blue-gray-1;
|
|
|
|
@navbar-title-color-hover : @ol-blue-gray-2;
|
|
|
|
@navbar-brand-width : 130px;
|
|
|
|
@navbar-default-color : #FFF;
|
|
|
|
@navbar-default-bg : @ol-blue-gray-6;
|
|
|
|
@navbar-default-border : transparent;
|
|
|
|
@navbar-brand-image-url : url(/img/ol-brand/overleaf-white.svg);
|
2017-09-25 06:48:42 -04:00
|
|
|
|
|
|
|
// Backgrounds
|
2017-10-17 07:24:47 -04:00
|
|
|
@body-bg : #FFF;
|
2017-09-25 06:48:42 -04:00
|
|
|
@content-alt-bg-color : @ol-blue-gray-1;
|
|
|
|
|
|
|
|
// Typography
|
2017-10-09 10:27:01 -04:00
|
|
|
@text-small-color : @ol-type-color;
|
2017-09-25 06:48:42 -04:00
|
|
|
@text-color : @ol-type-color;
|
2017-09-25 12:12:31 -04:00
|
|
|
@link-color : @ol-blue;
|
|
|
|
@link-hover-color : @ol-dark-blue;
|
2017-09-25 06:48:42 -04:00
|
|
|
|
2017-09-25 10:40:44 -04:00
|
|
|
// Button colors and sizing
|
|
|
|
@btn-border-width : 0;
|
|
|
|
@btn-border-bottom-width : 0;
|
|
|
|
|
2017-09-25 11:56:22 -04:00
|
|
|
@btn-border-radius-large : 9999px;
|
|
|
|
@btn-border-radius-base : 9999px;
|
|
|
|
@btn-border-radius-small : 9999px;
|
|
|
|
|
2017-09-25 10:40:44 -04:00
|
|
|
@btn-default-color : #FFF;
|
|
|
|
@btn-default-bg : @ol-blue-gray-4;
|
|
|
|
@btn-default-border : transparent;
|
|
|
|
|
|
|
|
@btn-primary-color : #FFF;
|
|
|
|
@btn-primary-bg : @ol-green;
|
|
|
|
@btn-primary-border : transparent;
|
|
|
|
|
|
|
|
@btn-success-color : #FFF;
|
|
|
|
@btn-success-bg : @ol-green;
|
|
|
|
@btn-success-border : transparent;
|
|
|
|
|
|
|
|
@btn-info-color : #FFF;
|
|
|
|
@btn-info-bg : @ol-blue;
|
|
|
|
@btn-info-border : transparent;
|
|
|
|
|
2017-12-07 11:35:39 -05:00
|
|
|
// Alerts
|
|
|
|
@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;
|
|
|
|
|
|
|
|
@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;
|
|
|
|
|
|
|
|
|
2017-10-02 12:01:51 -04:00
|
|
|
// Tags
|
2017-10-12 10:44:06 -04:00
|
|
|
@tag-border-radius : 9999px;
|
2017-10-02 12:01:51 -04:00
|
|
|
@tag-bg-color : @ol-green;
|
|
|
|
@tag-bg-hover-color : @ol-dark-green;
|
2017-12-21 07:57:33 -05:00
|
|
|
@tag-top-adjustment : 2px;
|
|
|
|
@labels-font-size : 85%;
|
2017-10-02 12:01:51 -04:00
|
|
|
|
2017-09-28 07:12:33 -04:00
|
|
|
// Navbar
|
2018-02-15 06:12:32 -05:00
|
|
|
@navbar-default-padding-v : (@grid-gutter-width / 2);
|
2018-02-15 06:46:40 -05:00
|
|
|
@navbar-default-padding-h : 10px;
|
2018-02-15 06:12:32 -05:00
|
|
|
@navbar-default-padding : @navbar-default-padding-v @navbar-default-padding-h;
|
2017-09-28 07:12:33 -04:00
|
|
|
@navbar-default-link-color : #FFF;
|
|
|
|
@navbar-default-link-hover-bg : @ol-green;
|
|
|
|
@navbar-default-link-active-bg : @ol-green;
|
|
|
|
@navbar-default-link-hover-color : @ol-green;
|
|
|
|
@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-color : #FFF;
|
|
|
|
@navbar-subdued-padding : (@padding-base-vertical + 1) (@padding-base-horizontal + 1) (@padding-base-vertical + 2);
|
|
|
|
@navbar-subdued-hover-bg : #FFF;
|
|
|
|
@navbar-subdued-hover-color : @ol-green;
|
|
|
|
|
2017-12-21 08:34:11 -05:00
|
|
|
@dropdown-divider-margin : 6px;
|
|
|
|
@dropdown-item-padding : 4px 20px;
|
|
|
|
|
2017-10-05 05:49:56 -04:00
|
|
|
// Forms
|
2017-10-09 10:27:01 -04:00
|
|
|
@input-color : @ol-blue-gray-3;
|
2017-10-05 05:49:56 -04:00
|
|
|
@input-border-radius : unit(@line-height-base, em);
|
2017-10-05 10:26:49 -04:00
|
|
|
@input-height-base : @line-height-computed + (@padding-base-vertical * 2) - 1;
|
2017-09-25 10:40:44 -04:00
|
|
|
// TODO Warning color-orange?
|
2017-10-05 10:26:49 -04:00
|
|
|
@btn-warning-color : #FFF;
|
|
|
|
@btn-warning-bg : @ol-red;
|
|
|
|
@btn-warning-border : transparent;
|
2017-09-25 10:40:44 -04:00
|
|
|
|
2017-10-05 10:26:49 -04:00
|
|
|
@btn-danger-color : #FFF;
|
|
|
|
@btn-danger-bg : @ol-red;
|
|
|
|
@btn-danger-border : transparent;
|
2017-09-25 12:12:31 -04:00
|
|
|
|
|
|
|
// Cards
|
2017-10-05 10:26:49 -04:00
|
|
|
@card-box-shadow : none;
|
2017-09-25 10:40:44 -04:00
|
|
|
|
2017-09-25 11:41:09 -04:00
|
|
|
// Sidebar
|
|
|
|
@sidebar-bg : @ol-blue-gray-5;
|
2017-10-09 10:27:01 -04:00
|
|
|
@sidebar-color : @ol-blue-gray-2;
|
2017-09-25 11:41:09 -04:00
|
|
|
@sidebar-link-color : #FFF;
|
|
|
|
@sidebar-active-border-radius : 0;
|
|
|
|
@sidebar-active-bg : @ol-blue-gray-6;
|
|
|
|
@sidebar-hover-bg : @ol-blue-gray-4;
|
|
|
|
@sidebar-hover-text-decoration : none;
|
2017-12-15 07:02:11 -05:00
|
|
|
@v2-dash-pane-bg : @ol-blue-gray-4;
|
|
|
|
@v2-dash-pane-link-color : #FFF;
|
|
|
|
@v2-dash-pane-btn-bg : @ol-blue-gray-5;
|
|
|
|
@v2-dash-pane-btn-hover-bg : @ol-blue-gray-6;
|
2017-09-25 12:12:31 -04:00
|
|
|
|
2017-10-18 05:55:32 -04:00
|
|
|
@folders-menu-margin : 0 -(@grid-gutter-width / 2);
|
2017-10-05 10:26:49 -04:00
|
|
|
@folders-menu-line-height : @structured-list-line-height;
|
2017-10-09 11:19:02 -04:00
|
|
|
@folders-menu-item-v-padding : (@line-height-computed / 4);
|
2017-10-06 07:02:20 -04:00
|
|
|
@folders-menu-item-h-padding : (@grid-gutter-width / 2);
|
2017-10-09 12:29:55 -04:00
|
|
|
@folders-title-padding : @folders-menu-item-v-padding 0;
|
2017-10-05 10:26:49 -04:00
|
|
|
@folders-title-margin-top : 0;
|
|
|
|
@folders-title-margin-bottom : 0;
|
|
|
|
@folders-title-font-weight : normal;
|
|
|
|
@folders-title-font-size : @font-size-small;
|
2017-10-09 10:27:01 -04:00
|
|
|
@folders-title-color : @ol-blue-gray-2;
|
2017-10-05 10:26:49 -04:00
|
|
|
@folders-title-text-transform : uppercase;
|
|
|
|
@folders-tag-display : block;
|
2017-10-06 07:02:20 -04:00
|
|
|
@folders-tag-line-height : 1.4;
|
2017-10-06 07:18:13 -04:00
|
|
|
@folders-tag-padding : @folders-menu-item-v-padding 20px @folders-menu-item-v-padding @folders-menu-item-h-padding;
|
2017-10-05 10:26:49 -04:00
|
|
|
@folders-tag-menu-color : #FFF;
|
|
|
|
@folders-tag-hover : @sidebar-hover-bg;
|
|
|
|
@folders-tag-border-color : @folders-tag-menu-color;
|
|
|
|
@folders-tag-menu-hover : rgba(0, 0, 0, .1);
|
|
|
|
@folders-tag-menu-active-hover : rgba(0, 0, 0, .1);
|
2017-10-05 11:35:53 -04:00
|
|
|
|
2017-10-05 13:16:52 -04:00
|
|
|
// Project table
|
|
|
|
@structured-list-line-height : 2.5;
|
|
|
|
@structured-list-link-color : @ol-blue;
|
|
|
|
@structured-header-border-color : shade(@ol-blue-gray-1, 5%);
|
|
|
|
@structured-list-border-color : @ol-blue-gray-1;
|
|
|
|
@structured-list-hover-color : lighten(@ol-blue-gray-1, 5%);
|
|
|
|
|
2017-10-12 10:44:06 -04:00
|
|
|
|
|
|
|
// Progress bars
|
|
|
|
@progress-border-radius : @line-height-computed;
|
|
|
|
@progress-border-width : 0;
|
|
|
|
@progress-bar-bg : @ol-blue-gray-4;
|
|
|
|
@progress-bar-success-bg : @ol-green;
|
|
|
|
@progress-bar-warning-bg : @brand-warning;
|
|
|
|
@progress-bar-danger-bg : @ol-red;
|
|
|
|
@progress-bar-info-bg : @ol-blue;
|
|
|
|
@progress-bar-shadow : none;
|
|
|
|
|
2017-10-05 11:35:53 -04:00
|
|
|
// Footer
|
|
|
|
@footer-bg-color : #FFF;
|
|
|
|
@footer-link-color : @ol-green;
|
|
|
|
@footer-link-hover-color : @ol-dark-green;
|
2017-10-05 11:41:11 -04:00
|
|
|
@footer-padding : 2em 0;
|
2017-10-05 11:35:53 -04:00
|
|
|
|
2017-11-13 07:03:28 -05:00
|
|
|
// Editor header
|
2017-12-05 05:20:25 -05:00
|
|
|
@toolbar-header-bg-color : @ol-blue-gray-6;
|
|
|
|
@toolbar-header-shadow : none;
|
|
|
|
@toolbar-btn-color : #FFF;
|
|
|
|
@toolbar-btn-hover-color : #FFF;
|
|
|
|
@toolbar-btn-hover-bg-color : @ol-blue-gray-5;
|
|
|
|
@toolbar-btn-hover-text-shadow : none;
|
|
|
|
@toolbar-btn-active-color : #FFF;
|
|
|
|
@toolbar-btn-active-bg-color : @ol-green;
|
|
|
|
@toolbar-btn-active-shadow : none;
|
|
|
|
@toolbar-border-color : @ol-blue-gray-5;
|
|
|
|
@toolbar-alt-bg-color : @ol-blue-gray-5;
|
|
|
|
@toolbar-icon-btn-color : #FFF;
|
|
|
|
@toolbar-icon-btn-hover-color : #FFF;
|
|
|
|
@toolbar-icon-btn-hover-shadow : none;
|
|
|
|
@toolbar-border-bottom : 1px solid @toolbar-border-color;
|
2017-12-07 05:35:43 -05:00
|
|
|
@toolbar-icon-btn-hover-boxshadow : none;
|
2017-12-13 11:23:50 -05:00
|
|
|
@toolbar-font-size : 13px;
|
2017-12-20 10:56:32 -05:00
|
|
|
@project-name-color : @ol-blue-gray-2;
|
|
|
|
@project-rename-link-color : @ol-blue-gray-2;
|
|
|
|
@project-rename-link-color-hover : @ol-blue-gray-1;
|
2017-12-21 08:38:40 -05:00
|
|
|
@global-alerts-padding : 7px;
|
2017-12-13 11:23:50 -05:00
|
|
|
|
2017-11-20 07:24:00 -05:00
|
|
|
// Editor file-tree
|
2017-11-22 06:54:57 -05:00
|
|
|
@file-tree-bg : @ol-blue-gray-4;
|
2017-12-05 05:07:45 -05:00
|
|
|
@file-tree-line-height : 2.05;
|
2017-11-22 06:54:57 -05:00
|
|
|
@file-tree-item-color : #FFF;
|
|
|
|
@file-tree-item-input-color : @ol-blue-gray-5;
|
|
|
|
@file-tree-item-toggle-color : @ol-blue-gray-2;
|
|
|
|
@file-tree-item-icon-color : @ol-blue-gray-2;
|
|
|
|
@file-tree-item-folder-color : @ol-blue-gray-2;
|
|
|
|
@file-tree-item-hover-bg : @ol-blue-gray-5;
|
|
|
|
@file-tree-item-selected-bg : @ol-green;
|
|
|
|
@file-tree-multiselect-bg : @ol-blue;
|
|
|
|
@file-tree-multiselect-hover-bg : @ol-dark-blue;
|
|
|
|
@file-tree-droppable-bg-color : tint(@ol-green, 5%);
|
2017-12-07 09:14:42 -05:00
|
|
|
|
2017-11-30 12:00:25 -05:00
|
|
|
// Editor resizers
|
2018-03-23 07:16:41 -04:00
|
|
|
@editor-resizer-bg-color : @ol-blue-gray-5;
|
2018-03-23 07:54:17 -04:00
|
|
|
@editor-resizer-bg-color-dragging : @ol-blue-gray-5;
|
2018-03-23 06:16:03 -04:00
|
|
|
@editor-toggler-bg-color : darken(@ol-blue-gray-2, 15%);
|
2017-12-04 10:48:23 -05:00
|
|
|
@editor-toggler-hover-bg-color : @ol-green;
|
2017-12-04 07:25:40 -05:00
|
|
|
@synctex-controls-z-index : 6;
|
2017-12-04 10:12:13 -05:00
|
|
|
@synctex-controls-padding : 0;
|
2017-12-13 06:38:57 -05:00
|
|
|
@editor-border-color : @ol-blue-gray-5;
|
|
|
|
|
2018-04-12 08:46:19 -04:00
|
|
|
// Editor toolbar
|
|
|
|
@editor-toolbar-bg : @ol-blue-gray-5;
|
|
|
|
|
2018-04-16 04:36:32 -04:00
|
|
|
// Toggle switch
|
|
|
|
@toggle-switch-bg : @ol-blue-gray-1;
|
|
|
|
@toggle-switch-highlight-color : @ol-green;
|
|
|
|
@toggle-switch-radius-left : @btn-border-radius-base 0 0 @btn-border-radius-base;
|
|
|
|
@toggle-switch-radius-right : 0 @btn-border-radius-base @btn-border-radius-base 0;
|
|
|
|
|
2018-06-01 08:19:00 -04:00
|
|
|
// Formatting buttons
|
|
|
|
@formatting-btn-color : #FFF;
|
|
|
|
@formatting-btn-bg : @ol-blue-gray-5;
|
|
|
|
@formatting-btn-border : @ol-blue-gray-4;
|
|
|
|
@formatting-menu-bg : @ol-blue-gray-5;
|
|
|
|
|
2017-12-13 06:38:57 -05:00
|
|
|
// Chat
|
2017-12-13 11:23:50 -05:00
|
|
|
@chat-bg : @ol-blue-gray-5;
|
2017-12-13 09:01:46 -05:00
|
|
|
@chat-message-color : #FFF;
|
|
|
|
@chat-message-name-color : #FFF;
|
2017-12-13 11:23:50 -05:00
|
|
|
@chat-message-date-color : @ol-blue-gray-2;
|
2017-12-13 06:38:57 -05:00
|
|
|
@chat-message-box-shadow : none;
|
2017-12-13 11:23:50 -05:00
|
|
|
@chat-message-padding : 5px 10px;
|
|
|
|
@chat-message-border-radius : @border-radius-large;
|
|
|
|
@chat-message-weight : bold;
|
2017-12-13 09:18:25 -05:00
|
|
|
@chat-new-message-bg : @ol-blue-gray-4;
|
|
|
|
@chat-new-message-textarea-bg : @ol-blue-gray-1;
|
|
|
|
@chat-new-message-textarea-color : @ol-blue-gray-6;
|
2017-12-13 06:38:57 -05:00
|
|
|
|
2017-12-07 09:14:42 -05:00
|
|
|
// PDF
|
|
|
|
@pdf-top-offset : @toolbar-small-height;
|
2017-12-07 11:35:39 -05:00
|
|
|
@pdf-bg : @ol-blue-gray-1;
|
|
|
|
@pdfjs-bg : transparent;
|
2017-12-07 09:14:42 -05:00
|
|
|
@pdf-page-shadow-color : rgba(0, 0, 0, 0.5);
|
2017-12-07 11:35:39 -05:00
|
|
|
@log-line-no-color : #FFF;
|
|
|
|
@log-hints-color : @ol-blue-gray-4;
|
2017-12-12 09:19:22 -05:00
|
|
|
|
2018-04-27 10:59:28 -04:00
|
|
|
|
|
|
|
// v2 History
|
2018-05-30 10:00:20 -04:00
|
|
|
@history-base-font-size : @font-size-small;
|
|
|
|
@history-base-bg : @ol-blue-gray-1;
|
|
|
|
@history-entry-day-bg : @ol-blue-gray-2;
|
|
|
|
@history-entry-selected-bg : @ol-green;
|
|
|
|
@history-base-color : @ol-blue-gray-2;
|
|
|
|
@history-highlight-color : @ol-type-color;
|
|
|
|
@history-toolbar-bg-color : @editor-toolbar-bg;
|
|
|
|
@history-toolbar-color : #FFF;
|
2018-04-27 10:59:28 -04:00
|
|
|
|
2018-03-28 09:46:07 -04:00
|
|
|
// System messages
|
|
|
|
@sys-msg-background : @ol-blue;
|
|
|
|
@sys-msg-color : #FFF;
|
|
|
|
@sys-msg-border : solid 1px lighten(@ol-blue, 10%);
|
|
|
|
|
2017-08-07 11:01:59 -04:00
|
|
|
//== Colors
|
|
|
|
//
|
|
|
|
//## Gray and brand colors for use across Bootstrap.
|
|
|
|
@gray-darker: #252525;
|
|
|
|
@gray-dark: #505050;
|
|
|
|
@gray: #7a7a7a;
|
|
|
|
@gray-light: #a4a4a4;
|
|
|
|
@gray-lighter: #cfcfcf;
|
|
|
|
@gray-lightest: #f0f0f0;
|
|
|
|
|
|
|
|
@blue: #405ebf;
|
|
|
|
@blueDark: #040D2D;
|
|
|
|
@green: #46a546;
|
|
|
|
@red: #a93529;
|
|
|
|
@yellow: #A1A729;
|
|
|
|
@orange: #f89406;
|
|
|
|
@pink: #c3325f;
|
|
|
|
@purple: #7a43b6;
|
|
|
|
|
|
|
|
@brand-primary: @ol-green;
|
|
|
|
@brand-success: @green;
|
2017-12-07 11:35:39 -05:00
|
|
|
@brand-info: @ol-blue;
|
2017-08-07 11:01:59 -04:00
|
|
|
@brand-warning: @orange;
|
2017-12-19 08:10:12 -05:00
|
|
|
@brand-danger: @ol-red;
|
2017-08-07 11:01:59 -04:00
|
|
|
|
2017-08-07 10:45:33 -04:00
|
|
|
@editor-loading-logo-padding-top: 115.44%;
|
|
|
|
@editor-loading-logo-background-url: url(/img/ol-brand/overleaf-o-grey.svg);
|
2017-09-25 06:48:42 -04:00
|
|
|
@editor-loading-logo-foreground-url: url(/img/ol-brand/overleaf-o.svg);
|