More adjustments; style the dashboard.

This commit is contained in:
Paulo Reis 2018-08-27 12:39:53 +01:00
parent 2491bee38e
commit 2fbcaebac7
11 changed files with 85 additions and 28 deletions

View file

@ -10,6 +10,7 @@ define [
_defaultDepartments = [] _defaultDepartments = []
ctrl.addUniversityToSelection = (universityName) -> ctrl.addUniversityToSelection = (universityName) ->
console.log universityName
{ name: universityName, isUserSuggested: true } { name: universityName, isUserSuggested: true }
# Populates the countries dropdown # Populates the countries dropdown
UserAffiliationsDataService UserAffiliationsDataService

View file

@ -1 +1 @@
<svg width="542" height="157" viewBox="0 0 542 157" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path id="a" d="M299.24 156.94H.06V.28h299.18z"/></defs><g fill="none" fill-rule="evenodd"><mask id="b" fill="#fff"><use xlink:href="#a"/></mask><path d="M197.05 110.3c.58 5.4 2.74 9.7 6.45 12.78 3.7 3.13 8.5 4.7 14.37 4.7 3.9 0 7.4-.83 10.53-2.46 3.12-1.66 5.6-3.94 7.4-6.9h18.85c-3.2 8.18-7.94 14.54-14.3 19.08-6.34 4.52-13.67 6.78-22 6.78-5.6 0-10.75-.98-15.46-2.96-4.7-1.98-9-4.9-12.7-8.78-3.6-3.68-6.3-7.94-8.3-12.8-2-4.83-3-9.8-3-14.9 0-5.24.9-10.15 2.7-14.77 1.8-4.63 4.4-8.78 7.9-12.46 3.8-4 8.1-7.1 13-9.3 4.8-2.2 9.7-3.3 14.9-3.3 6.5 0 12.6 1.5 18.2 4.4 5.6 3 10.4 7.2 14.4 12.5 2.4 3.3 4.2 6.9 5.3 10.9s1.74 8.6 1.74 13.8c0 .4 0 1-.08 1.9-.07.9-.1 1.5-.1 1.9h-60zm41.4-13.87c-1.48-5-4-8.8-7.53-11.43-3.52-2.6-7.97-3.92-13.33-3.92-4.7 0-8.8 1.42-12.5 4.24-3.7 2.82-6.2 6.52-7.5 11.1h40.8zm60.8-14c-6.8.54-11.52 2.33-14.2 5.34-2.68 3-4.03 8.4-4.03 16.23v38.3h-17.47V67.22h16.37v8.67c2.64-3.4 5.52-5.9 8.67-7.5 3.1-1.6 6.6-2.4 10.6-2.4v16.3zM135.2 5.18c-21.16-8.25-97.87-11.3-98 34.47C14.82 53.98 0 77.35 0 102.33 0 132.53 24.48 157 54.68 157s54.68-24.48 54.68-54.67c0-23.34-14.63-43.28-35.2-51.1C70.2 49.7 61.6 47 54.73 47.58c-9.8 6.23-21.75 19.04-27.4 31.8 8.4-10.08 21.53-14.48 33.16-12.6 17.1 2.77 30.2 17.63 30.2 35.54 0 19.9-16.2 36.02-36.1 36.02-11 0-20.8-4.9-27.4-12.62-9.7-11.42-12.2-23.8-10.2-35.9C23.9 47.4 74.2 23.27 111.6 14 99.4 20.46 77.4 31.07 62 42.63c44.9 17.34 52.17-20.52 73.2-37.46zm18.2 137.12h-13.73l-28.52-75.08h18.62l17.47 49.9 18.03-49.9h18.14l-30 75.08z" fill="#4C4D41" mask="url(#b)"/><path d="M348.63 110.3c.58 5.4 2.75 9.7 6.45 12.78 3.7 3.13 8.5 4.7 14.38 4.7 3.9 0 7.4-.83 10.53-2.46 3.1-1.66 5.5-3.94 7.4-6.9h18.8c-3.2 8.18-8 14.54-14.3 19.08-6.4 4.52-13.7 6.78-22 6.78-5.6 0-10.8-.98-15.5-2.96-4.7-1.98-8.9-4.9-12.7-8.78-3.6-3.68-6.3-7.94-8.3-12.8-2-4.83-3-9.8-3-14.9 0-5.24.9-10.15 2.7-14.77 1.8-4.63 4.42-8.78 7.92-12.46 3.82-4 8.15-7.1 13-9.3 4.9-2.2 9.9-3.3 15-3.3 6.5 0 12.57 1.5 18.2 4.4 5.64 3 10.44 7.2 14.4 12.5 2.42 3.3 4.2 6.9 5.36 10.9s1.77 8.6 1.77 13.8c0 .4-.04 1-.08 1.9-.08.9-.1 1.5-.1 1.9h-60.1zm41.42-13.87c-1.5-5-4-8.8-7.55-11.43-3.52-2.6-7.96-3.92-13.32-3.92-4.66 0-8.8 1.42-12.5 4.24-3.7 2.82-6.16 6.52-7.44 11.1h40.8zm88.13 45.87v-9.22c-2.1 3.72-5.04 6.5-8.83 8.27-3.8 1.77-8.67 2.65-14.58 2.65-11.1 0-20.37-3.8-27.8-11.37-7.43-7.57-11.15-16.98-11.15-28.2 0-5.3.93-10.3 2.8-15.03 1.86-4.73 4.5-8.9 7.98-12.5 3.73-3.95 7.88-6.86 12.42-8.75 4.54-1.88 9.67-2.84 15.35-2.84 5.45 0 10.15 1 14.1 2.8 3.93 1.8 7.1 4.6 9.5 8.3v-9.1h17.07v75.1h-16.86zm-44.47-38.16c0 6.32 2.1 11.6 6.4 15.87 4.2 4.3 9.3 6.4 15.4 6.4 5.5 0 10.4-2.1 14.6-6.4 4.2-4.3 6.3-9.3 6.3-15 0-6.1-2.1-11.3-6.3-15.7-4.2-4.4-9.1-6.6-14.7-6.6-5.9 0-10.97 2.1-15.17 6.3-4.16 4.2-6.25 9.3-6.25 15.3zm108-36.92v15.56h-12.6v59.52h-16.9V82.78h-8.9V67.22h8.4v-2.05c0-7.9 2.2-13.8 6.6-17.7 4.4-3.87 11-5.83 19.9-5.83.4 0 1 .03 1.8.07.8.1 1.4.1 1.9.1v15.7h-1.2c-3.94 0-6.8.7-8.5 2-1.7 1.3-2.52 3.5-2.52 6.5v1.4h12.28zM306.9 142.3h17.06V42.92H306.9v99.38z" fill="#42AC47"/></g></svg> <svg width="542" height="157" viewBox="0 0 542 157" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path id="a" d="M299.24 156.94H.06V.28h299.18z"/></defs><g fill="none" fill-rule="evenodd"><mask id="b" fill="#fff"><use xlink:href="#a"/></mask><path d="M197.05 110.3c.58 5.4 2.74 9.7 6.45 12.78 3.7 3.13 8.5 4.7 14.37 4.7 3.9 0 7.4-.83 10.53-2.46 3.12-1.66 5.6-3.94 7.4-6.9h18.85c-3.2 8.18-7.94 14.54-14.3 19.08-6.34 4.52-13.67 6.78-22 6.78-5.6 0-10.75-.98-15.46-2.96-4.7-1.98-9-4.9-12.7-8.78-3.6-3.68-6.3-7.94-8.3-12.8-2-4.83-3-9.8-3-14.9 0-5.24.9-10.15 2.7-14.77 1.8-4.63 4.4-8.78 7.9-12.46 3.8-4 8.1-7.1 13-9.3 4.8-2.2 9.7-3.3 14.9-3.3 6.5 0 12.6 1.5 18.2 4.4 5.6 3 10.4 7.2 14.4 12.5 2.4 3.3 4.2 6.9 5.3 10.9s1.74 8.6 1.74 13.8c0 .4 0 1-.08 1.9-.07.9-.1 1.5-.1 1.9h-60zm41.4-13.87c-1.48-5-4-8.8-7.53-11.43-3.52-2.6-7.97-3.92-13.33-3.92-4.7 0-8.8 1.42-12.5 4.24-3.7 2.82-6.2 6.52-7.5 11.1h40.8zm60.8-14c-6.8.54-11.52 2.33-14.2 5.34-2.68 3-4.03 8.4-4.03 16.23v38.3h-17.47V67.22h16.37v8.67c2.64-3.4 5.52-5.9 8.67-7.5 3.1-1.6 6.6-2.4 10.6-2.4v16.3zM135.2 5.18c-21.16-8.25-97.87-11.3-98 34.47C14.82 53.98 0 77.35 0 102.33 0 132.53 24.48 157 54.68 157s54.68-24.48 54.68-54.67c0-23.34-14.63-43.28-35.2-51.1C70.2 49.7 61.6 47 54.73 47.58c-9.8 6.23-21.75 19.04-27.4 31.8 8.4-10.08 21.53-14.48 33.16-12.6 17.1 2.77 30.2 17.63 30.2 35.54 0 19.9-16.2 36.02-36.1 36.02-11 0-20.8-4.9-27.4-12.62-9.7-11.42-12.2-23.8-10.2-35.9C23.9 47.4 74.2 23.27 111.6 14 99.4 20.46 77.4 31.07 62 42.63c44.9 17.34 52.17-20.52 73.2-37.46zm18.2 137.12h-13.73l-28.52-75.08h18.62l17.47 49.9 18.03-49.9h18.14l-30 75.08z" fill="#4C4D41" mask="url(#b)"/><path d="M348.63 110.3c.58 5.4 2.75 9.7 6.45 12.78 3.7 3.13 8.5 4.7 14.38 4.7 3.9 0 7.4-.83 10.53-2.46 3.1-1.66 5.5-3.94 7.4-6.9h18.8c-3.2 8.18-8 14.54-14.3 19.08-6.4 4.52-13.7 6.78-22 6.78-5.6 0-10.8-.98-15.5-2.96-4.7-1.98-8.9-4.9-12.7-8.78-3.6-3.68-6.3-7.94-8.3-12.8-2-4.83-3-9.8-3-14.9 0-5.24.9-10.15 2.7-14.77 1.8-4.63 4.42-8.78 7.92-12.46 3.82-4 8.15-7.1 13-9.3 4.9-2.2 9.9-3.3 15-3.3 6.5 0 12.57 1.5 18.2 4.4 5.64 3 10.44 7.2 14.4 12.5 2.42 3.3 4.2 6.9 5.36 10.9s1.77 8.6 1.77 13.8c0 .4-.04 1-.08 1.9-.08.9-.1 1.5-.1 1.9h-60.1zm41.42-13.87c-1.5-5-4-8.8-7.55-11.43-3.52-2.6-7.96-3.92-13.32-3.92-4.66 0-8.8 1.42-12.5 4.24-3.7 2.82-6.16 6.52-7.44 11.1h40.8zm88.13 45.87v-9.22c-2.1 3.72-5.04 6.5-8.83 8.27-3.8 1.77-8.67 2.65-14.58 2.65-11.1 0-20.37-3.8-27.8-11.37-7.43-7.57-11.15-16.98-11.15-28.2 0-5.3.93-10.3 2.8-15.03 1.86-4.73 4.5-8.9 7.98-12.5 3.73-3.95 7.88-6.86 12.42-8.75 4.54-1.88 9.67-2.84 15.35-2.84 5.45 0 10.15 1 14.1 2.8 3.93 1.8 7.1 4.6 9.5 8.3v-9.1h17.07v75.1h-16.86zm-44.47-38.16c0 6.32 2.1 11.6 6.4 15.87 4.2 4.3 9.3 6.4 15.4 6.4 5.5 0 10.4-2.1 14.6-6.4 4.2-4.3 6.3-9.3 6.3-15 0-6.1-2.1-11.3-6.3-15.7-4.2-4.4-9.1-6.6-14.7-6.6-5.9 0-10.97 2.1-15.17 6.3-4.16 4.2-6.25 9.3-6.25 15.3zm108-36.92v15.56h-12.6v59.52h-16.9V82.78h-8.9V67.22h8.4v-2.05c0-7.9 2.2-13.8 6.6-17.7 4.4-3.87 11-5.83 19.9-5.83.4 0 1 .03 1.8.07.8.1 1.4.1 1.9.1v15.7h-1.2c-3.94 0-6.8.7-8.5 2-1.7 1.3-2.52 3.5-2.52 6.5v1.4h12.28zM306.9 142.3h17.06V42.92H306.9v99.38z" fill="#4F9C45"/></g></svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -92,6 +92,7 @@
.toolbar-editor { .toolbar-editor {
height: @editor-toolbar-height; height: @editor-toolbar-height;
background-color: @editor-toolbar-bg; background-color: @editor-toolbar-bg;
padding: 0 5px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
z-index: 10; // Prevent track changes showing over toolbar z-index: 10; // Prevent track changes showing over toolbar

View file

@ -133,12 +133,12 @@
height: @new-message-height; height: @new-message-height;
background-color: @chat-new-message-bg; background-color: @chat-new-message-bg;
padding: @line-height-computed / 4; padding: @line-height-computed / 4;
border-top: 1px solid @editor-border-color; border-top: 1px solid @chat-new-message-border-color;
textarea { textarea {
overflow: auto; overflow: auto;
resize: none; resize: none;
border-radius: @border-radius-base; border-radius: @border-radius-base;
border: 1px solid @editor-border-color; border: 1px solid @chat-new-message-border-color;
height: 100%; height: 100%;
width: 100%; width: 100%;
color: @chat-new-message-textarea-color; color: @chat-new-message-textarea-color;

View file

@ -12,9 +12,11 @@
color: @history-toolbar-color; color: @history-toolbar-color;
padding-left: (@line-height-computed / 2); padding-left: (@line-height-computed / 2);
} }
.history-toolbar when (@is-overleaf = false) {
.history-toolbar when (@is-overleaf = false) or (@is-overleaf-light) {
border-bottom: @toolbar-border-bottom; border-bottom: @toolbar-border-bottom;
} }
.history-toolbar-selected-version { .history-toolbar-selected-version {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;

View file

@ -169,7 +169,7 @@ ul.folders-menu {
border-radius: @sidebar-active-border-radius; border-radius: @sidebar-active-border-radius;
> a { > a {
background-color: @sidebar-active-bg; background-color: @sidebar-active-bg;
font-weight: 700; font-weight: @sidebar-active-font-weight;
color: @sidebar-active-color; color: @sidebar-active-color;
.subdued { .subdued {
color: @sidebar-active-color; color: @sidebar-active-color;

View file

@ -17,7 +17,7 @@
flex-shrink: 0; flex-shrink: 0;
text-align: center; text-align: center;
background-color: @v2-dash-pane-bg; background-color: @v2-dash-pane-bg;
color: white; color: @v2-dash-pane-color;
font-size: 13px; font-size: 13px;
padding: @line-height-computed / 2; padding: @line-height-computed / 2;
} }
@ -32,10 +32,10 @@
} }
.project-list-sidebar-v2-pane-toggle { .project-list-sidebar-v2-pane-toggle {
color: white; color: @v2-dash-pane-toggle-color;
padding: 0; padding: 0;
line-height: 1; line-height: 1;
&:hover, &:active, &:focus { &:hover, &:active, &:focus {
color: white; color: @v2-dash-pane-toggle-color;
} }
} }

View file

@ -436,6 +436,7 @@
font-weight: @navbar-btn-font-weight; font-weight: @navbar-btn-font-weight;
line-height: @navbar-btn-line-height; line-height: @navbar-btn-line-height;
padding: @navbar-btn-padding; padding: @navbar-btn-padding;
background-color: @navbar-default-link-bg;
&:hover, &:hover,
&:focus { &:focus {
@ -466,6 +467,7 @@
color: @navbar-subdued-color; color: @navbar-subdued-color;
padding: @navbar-subdued-padding; padding: @navbar-subdued-padding;
margin-left: 0; margin-left: 0;
background-color: transparent;
&:hover { &:hover {
color: @navbar-subdued-hover-color; color: @navbar-subdued-hover-color;
background-color: @navbar-subdued-hover-bg; background-color: @navbar-subdued-hover-bg;
@ -478,7 +480,7 @@
@media (min-width: @grid-float-breakpoint) { @media (min-width: @grid-float-breakpoint) {
> li > a { > li > a {
border-color: @navbar-default-link-color; border-color: @navbar-default-link-border-color;
margin-left: 1rem; margin-left: 1rem;
} }
} }

View file

@ -327,6 +327,7 @@
// Navbar links // Navbar links
@navbar-default-link-color: @link-color; @navbar-default-link-color: @link-color;
@navbar-default-link-border-color: @navbar-default-link-color;
@navbar-default-link-hover-color: @link-hover-color; @navbar-default-link-hover-color: @link-hover-color;
@navbar-default-link-hover-bg: @link-hover-color; @navbar-default-link-hover-bg: @link-hover-color;
@navbar-default-link-active-color: #fff; @navbar-default-link-active-color: #fff;
@ -835,7 +836,7 @@
@dropdown-divider-margin :((@line-height-computed / 2) - 1) 0; @dropdown-divider-margin :((@line-height-computed / 2) - 1) 0;
@dropdown-item-padding : 3px 20px; @dropdown-item-padding : 3px 20px;
@navbar-default-link-bg : transparent;
// Button colors and sizing // Button colors and sizing
@btn-border-radius-large : @border-radius-large; @btn-border-radius-large : @border-radius-large;
@ -861,6 +862,7 @@
@sidebar-active-border-radius : @border-radius-small; @sidebar-active-border-radius : @border-radius-small;
@sidebar-active-bg : @link-color; @sidebar-active-bg : @link-color;
@sidebar-active-color : #FFF; @sidebar-active-color : #FFF;
@sidebar-active-font-weight : 700;
@sidebar-hover-bg : transparent; @sidebar-hover-bg : transparent;
@sidebar-hover-text-decoration : underline; @sidebar-hover-text-decoration : underline;
@ -968,6 +970,7 @@
@chat-new-message-bg : @gray-lightest; @chat-new-message-bg : @gray-lightest;
@chat-new-message-textarea-bg : #FFF; @chat-new-message-textarea-bg : #FFF;
@chat-new-message-textarea-color : @gray-dark; @chat-new-message-textarea-color : @gray-dark;
@chat-new-message-border-color : @editor-border-color;
// PDF // PDF
@pdf-top-offset : @toolbar-tall-height; @pdf-top-offset : @toolbar-tall-height;

View file

@ -1,5 +1,5 @@
// Styleguide colors // Styleguide colors
@ol-blue-gray-0 : #F4F5F8; @ol-blue-gray-0 : #F4F5FB;
@ol-blue-gray-1 : #DFE2E8; @ol-blue-gray-1 : #DFE2E8;
@ol-blue-gray-2 : #9DA7B7; @ol-blue-gray-2 : #9DA7B7;
@ol-blue-gray-3 : #727E91; @ol-blue-gray-3 : #727E91;
@ -17,19 +17,26 @@
@ol-type-color : @ol-blue-gray-3; @ol-type-color : @ol-blue-gray-3;
// Sidebar // Sidebar
@sidebar-bg : @ol-blue-gray-0; @sidebar-bg : #FFF;
@sidebar-color : @ol-blue-gray-3; @sidebar-color : @ol-blue-gray-2;
@sidebar-link-color : @ol-blue-gray-4; @sidebar-link-color : @ol-blue-gray-3;
@sidebar-active-border-radius : 0; @sidebar-active-bg : @ol-green;
@sidebar-active-bg : @ol-blue-gray-1; @sidebar-active-color : #FFF;
@sidebar-active-color : @ol-blue-gray-4; @sidebar-hover-bg : @ol-blue-gray-1;
@sidebar-hover-bg : @ol-blue-gray-1; @sidebar-active-font-weight : normal;
@sidebar-hover-text-decoration : none; @sidebar-hover-text-decoration : none;
@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;
@v2-dash-pane-bg : @ol-blue-gray-1;
@v2-dash-pane-link-color : @ol-blue;
@v2-dash-pane-toggle-color : @ol-blue-gray-3;
@v2-dash-pane-btn-bg : @ol-blue-gray-5;
@v2-dash-pane-btn-hover-bg : @ol-blue-gray-6;
@v2-dash-pane-color : @ol-blue-gray-3;
@progress-bar-shadow : inset 0 -1px 0 rgba(0,0,0,.15);
@progress-bg : @ol-blue-gray-0;
@input-border : @ol-blue-gray-1;
// Editor file-tree // Editor file-tree
@file-tree-bg : #FFF; @file-tree-bg : #FFF;
@file-tree-line-height : 2.05; @file-tree-line-height : 2.05;
@ -45,7 +52,7 @@
@file-tree-multiselect-hover-bg : @ol-dark-blue; @file-tree-multiselect-hover-bg : @ol-dark-blue;
@file-tree-droppable-bg-color : tint(@ol-green, 5%); @file-tree-droppable-bg-color : tint(@ol-green, 5%);
@content-alt-bg-color : @ol-blue-gray-1; @content-alt-bg-color : @ol-blue-gray-0;
// Editor resizers // Editor resizers
@editor-resizer-bg-color : @ol-blue-gray-1; @editor-resizer-bg-color : @ol-blue-gray-1;
@ -54,13 +61,12 @@
@editor-toggler-hover-bg-color : @ol-green; @editor-toggler-hover-bg-color : @ol-green;
@synctex-controls-z-index : 6; @synctex-controls-z-index : 6;
@synctex-controls-padding : 0; @synctex-controls-padding : 0;
@editor-border-color : @ol-blue-gray-5; @editor-border-color : @ol-blue-gray-1;
@toolbar-border-color : @ol-blue-gray-1; @toolbar-border-color : @ol-blue-gray-1;
@toolbar-alt-bg-color : #FFF; @toolbar-alt-bg-color : #FFF;
@editor-toolbar-bg : @toolbar-alt-bg-color; @editor-toolbar-bg : @toolbar-alt-bg-color;
@navbar-default-bg : @ol-blue-gray-4;
@toolbar-header-bg-color : #FFF; @toolbar-header-bg-color : #FFF;
@toolbar-header-btn-border-color : @ol-blue-gray-1; @toolbar-header-btn-border-color : @ol-blue-gray-1;
@toolbar-btn-color : @ol-blue-gray-3; @toolbar-btn-color : @ol-blue-gray-3;
@ -72,8 +78,45 @@
@project-name-color : @ol-blue-gray-3; @project-name-color : @ol-blue-gray-3;
@pdf-bg : @ol-blue-gray-0; @pdf-bg : @ol-blue-gray-0;
// Navbar
@navbar-default-bg : #FFF;
@navbar-default-border : @ol-blue-gray-1;
@navbar-default-link-bg : @ol-green;
@navbar-default-link-color : #FFF;
@navbar-default-link-border-color: transparent;
@navbar-default-link-hover-bg : @ol-green;
@navbar-default-link-active-bg : @ol-green;
@navbar-default-link-hover-color : @ol-green;
@navbar-title-color : @ol-blue-gray-1;
@navbar-title-color-hover : @ol-blue-gray-2;
@navbar-default-color : @ol-blue-gray-3;
@navbar-brand-image-url : url(/img/ol-brand/overleaf.svg);
@navbar-subdued-color : @ol-blue-gray-3;
@navbar-subdued-hover-bg : @ol-blue-gray-1;
@navbar-subdued-hover-color : @ol-blue-gray-3;
@card-box-shadow : 0 0 0 1px @ol-blue-gray-1;
// v2 History
@history-toolbar-color : @ol-blue-gray-3;
@history-entry-day-bg : @ol-blue-gray-2;
@history-base-bg : @ol-blue-gray-0;
// Formatting buttons // Formatting buttons
@formatting-btn-color : @toolbar-icon-btn-color; @formatting-btn-color : @toolbar-icon-btn-color;
@formatting-btn-bg : transparent; @formatting-btn-bg : transparent;
@formatting-btn-border : @ol-blue-gray-1; @formatting-btn-border : @ol-blue-gray-1;
@formatting-menu-bg : transparent; @formatting-menu-bg : transparent;
// Chat
@chat-bg : #FFF;
@chat-message-color : #FFF;
@chat-message-name-color : @ol-blue-gray-3;
@chat-message-date-color : @ol-blue-gray-3;
@chat-new-message-bg : @ol-blue-gray-0;
@chat-new-message-textarea-bg : #FFF;
@chat-new-message-textarea-color : @ol-blue-gray-6;
@chat-new-message-border-color : @ol-blue-gray-1;

View file

@ -33,7 +33,7 @@
@navbar-default-bg : @ol-blue-gray-6; @navbar-default-bg : @ol-blue-gray-6;
@navbar-default-border : transparent; @navbar-default-border : transparent;
@navbar-brand-image-url : url(/img/ol-brand/overleaf-white.svg); @navbar-brand-image-url : url(/img/ol-brand/overleaf-white.svg);
@navbar-default-link-bg : transparent;
// Backgrounds // Backgrounds
@body-bg : #FFF; @body-bg : #FFF;
@content-alt-bg-color : @ol-blue-gray-1; @content-alt-bg-color : @ol-blue-gray-1;
@ -110,6 +110,7 @@
@navbar-default-padding-h : 10px; @navbar-default-padding-h : 10px;
@navbar-default-padding : @navbar-default-padding-v @navbar-default-padding-h; @navbar-default-padding : @navbar-default-padding-v @navbar-default-padding-h;
@navbar-default-link-color : #FFF; @navbar-default-link-color : #FFF;
@navbar-default-link-border-color : @navbar-default-link-color;
@navbar-default-link-hover-bg : @ol-green; @navbar-default-link-hover-bg : @ol-green;
@navbar-default-link-active-bg : @ol-green; @navbar-default-link-active-bg : @ol-green;
@navbar-default-link-hover-color : @ol-green; @navbar-default-link-hover-color : @ol-green;
@ -150,10 +151,13 @@
@sidebar-active-border-radius : 0; @sidebar-active-border-radius : 0;
@sidebar-active-bg : @ol-blue-gray-6; @sidebar-active-bg : @ol-blue-gray-6;
@sidebar-active-color : #FFF; @sidebar-active-color : #FFF;
@sidebar-active-font-weight : 700;
@sidebar-hover-bg : @ol-blue-gray-4; @sidebar-hover-bg : @ol-blue-gray-4;
@sidebar-hover-text-decoration : none; @sidebar-hover-text-decoration : none;
@v2-dash-pane-bg : @ol-blue-gray-4; @v2-dash-pane-bg : @ol-blue-gray-4;
@v2-dash-pane-link-color : #FFF; @v2-dash-pane-link-color : #FFF;
@v2-dash-pane-color : #FFF;
@v2-dash-pane-toggle-color : #FFF;
@v2-dash-pane-btn-bg : @ol-blue-gray-5; @v2-dash-pane-btn-bg : @ol-blue-gray-5;
@v2-dash-pane-btn-hover-bg : @ol-blue-gray-6; @v2-dash-pane-btn-hover-bg : @ol-blue-gray-6;
@ -279,6 +283,7 @@
@chat-new-message-bg : @ol-blue-gray-4; @chat-new-message-bg : @ol-blue-gray-4;
@chat-new-message-textarea-bg : @ol-blue-gray-1; @chat-new-message-textarea-bg : @ol-blue-gray-1;
@chat-new-message-textarea-color : @ol-blue-gray-6; @chat-new-message-textarea-color : @ol-blue-gray-6;
@chat-new-message-border-color : @editor-border-color;
// Pagination // Pagination
@pagination-active-bg : @ol-dark-green; @pagination-active-bg : @ol-dark-green;