ol-variables.less 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. @import "./_common-variables.less";
  2. @is-overleaf: true;
  3. @header-height: 68px;
  4. @footer-height: 50px;
  5. // Styleguide colors
  6. @ol-blue-gray-1 : #E4E8EE;
  7. @ol-blue-gray-2 : #9DA7B7;
  8. @ol-blue-gray-3 : #5D6879;
  9. @ol-blue-gray-4 : #485973;
  10. @ol-blue-gray-5 : #2C3645;
  11. @ol-blue-gray-6 : #1E2530;
  12. @ol-green : #4F9C45;
  13. @ol-dark-green : #1C5B26;
  14. @ol-blue : #4B7FD1;
  15. @ol-dark-blue : #2857A1;
  16. @ol-red : #C9453E;
  17. @ol-dark-red : #A6312B;
  18. @ol-type-color : @ol-blue-gray-3;
  19. // Navbar customization
  20. @navbar-brand-width : 130px;
  21. @navbar-default-color : #FFF;
  22. @navbar-default-bg : @ol-blue-gray-6;
  23. @navbar-default-border : transparent;
  24. @navbar-brand-image-url : url(/img/ol-brand/overleaf-white.svg);
  25. // Backgrounds
  26. @body-bg : #FFF;
  27. @content-alt-bg-color : @ol-blue-gray-1;
  28. // Typography
  29. @text-small-color : @ol-type-color;
  30. @text-color : @ol-type-color;
  31. @link-color : @ol-blue;
  32. @link-hover-color : @ol-dark-blue;
  33. // Button colors and sizing
  34. @btn-border-width : 0;
  35. @btn-border-bottom-width : 0;
  36. @btn-border-radius-large : 9999px;
  37. @btn-border-radius-base : 9999px;
  38. @btn-border-radius-small : 9999px;
  39. @btn-default-color : #FFF;
  40. @btn-default-bg : @ol-blue-gray-4;
  41. @btn-default-border : transparent;
  42. @btn-primary-color : #FFF;
  43. @btn-primary-bg : @ol-green;
  44. @btn-primary-border : transparent;
  45. @btn-success-color : #FFF;
  46. @btn-success-bg : @ol-green;
  47. @btn-success-border : transparent;
  48. @btn-info-color : #FFF;
  49. @btn-info-bg : @ol-blue;
  50. @btn-info-border : transparent;
  51. // Tags
  52. @tag-border-radius : 9999px;
  53. @tag-bg-color : @ol-green;
  54. @tag-bg-hover-color : @ol-dark-green;
  55. // Navbar
  56. @navbar-default-padding : (@grid-gutter-width / 2) 0;
  57. @navbar-default-link-color : #FFF;
  58. @navbar-default-link-hover-bg : @ol-green;
  59. @navbar-default-link-active-bg : @ol-green;
  60. @navbar-default-link-hover-color : @ol-green;
  61. @navbar-btn-font-size : @font-size-base;
  62. @navbar-btn-border-radius : @btn-border-radius-base;
  63. @navbar-btn-font-weight : 400;
  64. @navbar-btn-padding : (@padding-base-vertical - 1) @padding-base-horizontal @padding-base-vertical;
  65. @navbar-btn-line-height : @line-height-base;
  66. @navbar-subdued-color : #FFF;
  67. @navbar-subdued-padding : (@padding-base-vertical + 1) (@padding-base-horizontal + 1) (@padding-base-vertical + 2);
  68. @navbar-subdued-hover-bg : #FFF;
  69. @navbar-subdued-hover-color : @ol-green;
  70. // Forms
  71. @input-color : @ol-blue-gray-3;
  72. @input-border-radius : unit(@line-height-base, em);
  73. @input-height-base : @line-height-computed + (@padding-base-vertical * 2) - 1;
  74. // TODO Warning color-orange?
  75. @btn-warning-color : #FFF;
  76. @btn-warning-bg : @ol-red;
  77. @btn-warning-border : transparent;
  78. @btn-danger-color : #FFF;
  79. @btn-danger-bg : @ol-red;
  80. @btn-danger-border : transparent;
  81. // Cards
  82. @card-box-shadow : none;
  83. // Sidebar
  84. @sidebar-bg : @ol-blue-gray-5;
  85. @sidebar-color : @ol-blue-gray-2;
  86. @sidebar-link-color : #FFF;
  87. @sidebar-active-border-radius : 0;
  88. @sidebar-active-bg : @ol-blue-gray-6;
  89. @sidebar-hover-bg : @ol-blue-gray-4;
  90. @sidebar-hover-text-decoration : none;
  91. @folders-menu-margin : 0 -(@grid-gutter-width / 2);
  92. @folders-menu-line-height : @structured-list-line-height;
  93. @folders-menu-item-v-padding : (@line-height-computed / 4);
  94. @folders-menu-item-h-padding : (@grid-gutter-width / 2);
  95. @folders-title-padding : @folders-menu-item-v-padding 0;
  96. @folders-title-margin-top : 0;
  97. @folders-title-margin-bottom : 0;
  98. @folders-title-font-weight : normal;
  99. @folders-title-font-size : @font-size-small;
  100. @folders-title-color : @ol-blue-gray-2;
  101. @folders-title-text-transform : uppercase;
  102. @folders-tag-display : block;
  103. @folders-tag-line-height : 1.4;
  104. @folders-tag-padding : @folders-menu-item-v-padding 20px @folders-menu-item-v-padding @folders-menu-item-h-padding;
  105. @folders-tag-menu-color : #FFF;
  106. @folders-tag-hover : @sidebar-hover-bg;
  107. @folders-tag-border-color : @folders-tag-menu-color;
  108. @folders-tag-menu-hover : rgba(0, 0, 0, .1);
  109. @folders-tag-menu-active-hover : rgba(0, 0, 0, .1);
  110. @folders-untagged-line-height : @folders-menu-line-height;
  111. // Project table
  112. @structured-list-line-height : 2.5;
  113. @structured-list-link-color : @ol-blue;
  114. @structured-header-border-color : shade(@ol-blue-gray-1, 5%);
  115. @structured-list-border-color : @ol-blue-gray-1;
  116. @structured-list-hover-color : lighten(@ol-blue-gray-1, 5%);
  117. // Progress bars
  118. @progress-border-radius : @line-height-computed;
  119. @progress-border-width : 0;
  120. @progress-bar-bg : @ol-blue-gray-4;
  121. @progress-bar-success-bg : @ol-green;
  122. @progress-bar-warning-bg : @brand-warning;
  123. @progress-bar-danger-bg : @ol-red;
  124. @progress-bar-info-bg : @ol-blue;
  125. @progress-bar-shadow : none;
  126. // Footer
  127. @footer-bg-color : #FFF;
  128. @footer-link-color : @ol-green;
  129. @footer-link-hover-color : @ol-dark-green;
  130. @footer-padding : 2em 0;
  131. //== Colors
  132. //
  133. //## Gray and brand colors for use across Bootstrap.
  134. @gray-darker: #252525;
  135. @gray-dark: #505050;
  136. @gray: #7a7a7a;
  137. @gray-light: #a4a4a4;
  138. @gray-lighter: #cfcfcf;
  139. @gray-lightest: #f0f0f0;
  140. @blue: #405ebf;
  141. @blueDark: #040D2D;
  142. @green: #46a546;
  143. @red: #a93529;
  144. @yellow: #A1A729;
  145. @orange: #f89406;
  146. @pink: #c3325f;
  147. @purple: #7a43b6;
  148. @brand-primary: @ol-green;
  149. @brand-success: @green;
  150. @brand-info: @ol-dark-green;
  151. @brand-warning: @orange;
  152. @brand-danger: #E03A06;
  153. @editor-loading-logo-padding-top: 115.44%;
  154. @editor-loading-logo-background-url: url(/img/ol-brand/overleaf-o-grey.svg);
  155. @editor-loading-logo-foreground-url: url(/img/ol-brand/overleaf-o.svg);