Fix editor overleaf logo on editor disappears if menu button is pressed in light theme

GitOrigin-RevId: a4f104cf988bfc267ba70cbe546e150bea773691
This commit is contained in:
M Fahru 2023-01-10 11:22:03 -07:00 committed by Copybot
parent e855b96953
commit 19e1d50e2e
5 changed files with 11 additions and 0 deletions

View file

@ -93,6 +93,9 @@
color: @toolbar-btn-active-color;
background-color: @toolbar-btn-active-bg-color;
box-shadow: @toolbar-btn-active-shadow;
.editor-menu-icon {
background: @editor-header-logo-background-active;
}
}
.label {
top: 4px;

View file

@ -77,6 +77,8 @@
@toolbar-icon-btn-hover-color: @ol-blue-gray-3;
@editor-header-logo-background: url(../../../public/img/ol-brand/overleaf-o.svg)
center / contain no-repeat;
@editor-header-logo-background-active: url(../../../public/img/ol-brand/overleaf-o-white.svg)
center / contain no-repeat;
@project-name-color: @ol-blue-gray-3;
@project-rename-link-color: @ol-blue-gray-3;
@project-rename-link-color-hover: @ol-blue-gray-4;

View file

@ -58,6 +58,8 @@
@editor-header-logo-background: url(../../../public/img/ol-brand/overleaf-o-white.svg)
center / contain no-repeat;
@editor-header-logo-background-active: url(../../../public/img/ol-brand/overleaf-o-white.svg)
center / contain no-repeat;
@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);

View file

@ -6,6 +6,8 @@
@editor-header-logo-background: url(../../../public/img/ol-brand/overleaf-o-white.svg)
center / contain no-repeat;
@editor-header-logo-background-active: url(../../../public/img/ol-brand/overleaf-o-white.svg)
center / contain no-repeat;
@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);

View file

@ -66,6 +66,8 @@
@toolbar-icon-btn-hover-color: @neutral-70;
@editor-header-logo-background: url(../../../../public/img/ol-brand/overleaf-o.svg)
center / contain no-repeat;
@editor-header-logo-background-active: url(../../../../public/img/ol-brand/overleaf-o-white.svg)
center / contain no-repeat;
@project-name-color: @neutral-70;
@project-rename-link-color: @neutral-70;
@project-rename-link-color-hover: @neutral-70;