mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
111 lines
No EOL
3 KiB
Text
111 lines
No EOL
3 KiB
Text
@import "./_common-variables.less";
|
|
|
|
// Styleguide colors
|
|
@ol-blue-gray-1 : #E4E8EE;
|
|
@ol-blue-gray-2 : #9DA7B7;
|
|
@ol-blue-gray-3 : #5D6879;
|
|
@ol-blue-gray-4 : #485973;
|
|
@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
|
|
@navbar-default-color : #FFF;
|
|
@navbar-default-bg : @ol-blue-gray-6;
|
|
@navbar-default-border : transparent;
|
|
@navbar-brand-image-url : url(/img/ol-brand/logo-horizontal.png);
|
|
|
|
// Backgrounds
|
|
@body-bg : @ol-blue-gray-1;
|
|
@content-alt-bg-color : @ol-blue-gray-1;
|
|
|
|
// Typography
|
|
@text-color : @ol-type-color;
|
|
|
|
// Border radius (used for components, e.g. buttons)
|
|
@border-radius-base : 999px; // Large enough value to be fully rounded everywhere
|
|
@border-radius-large : 999px; // As above
|
|
@border-radius-small : 999px; // As above
|
|
|
|
@card-border-radius-base: 3px;
|
|
|
|
// Button colors and sizing
|
|
@btn-border-width : 0;
|
|
@btn-border-bottom-width : 0;
|
|
|
|
@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;
|
|
|
|
// TODO Warning color-orange?
|
|
@btn-warning-color : #FFF;
|
|
@btn-warning-bg : @ol-red;
|
|
@btn-warning-border : transparent;
|
|
|
|
@btn-danger-color : #FFF;
|
|
@btn-danger-bg : @ol-red;
|
|
@btn-danger-border : transparent;
|
|
|
|
|
|
|
|
.btn-info {
|
|
.button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
|
|
}
|
|
// Warning appears as orange
|
|
.btn-warning {
|
|
.button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
|
|
}
|
|
// Danger and error appear as red
|
|
.btn-danger {
|
|
.button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
|
|
}
|
|
|
|
//== 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;
|
|
@brand-info: @ol-dark-green;
|
|
@brand-warning: @orange;
|
|
@brand-danger: #E03A06;
|
|
|
|
|
|
@editor-loading-logo-padding-top: 115.44%;
|
|
@editor-loading-logo-background-url: url(/img/ol-brand/overleaf-o-grey.svg);
|
|
@editor-loading-logo-foreground-url: url(/img/ol-brand/overleaf-o.svg); |