Keep both editor loading logos

This commit is contained in:
James Allen 2017-08-07 16:45:33 +02:00
parent d9e1254a6d
commit 4ab5451827
3 changed files with 11 additions and 5 deletions

View file

@ -80,9 +80,9 @@
.loading-screen-brand { .loading-screen-brand {
position: relative; position: relative;
width: 100%; width: 100%;
padding-top: 115.44%; padding-top: @editor-loading-logo-padding-top;
height: 0; height: 0;
background: url(/img/ol-brand/overleaf-o-grey.svg) no-repeat bottom / 100%; background: @editor-loading-logo-background-url no-repeat bottom / 100%;
&::after { &::after {
content: ''; content: '';
@ -91,7 +91,7 @@
right: 0; right: 0;
bottom: 0; bottom: 0;
left: 0; left: 0;
background: url(/img/ol-brand/overleaf-o.svg) no-repeat bottom / 100%; background: @editor-loading-logo-background-url no-repeat bottom / 100%;
transition: height .5s; transition: height .5s;
} }
} }

View file

@ -28,4 +28,7 @@
@brand-warning: @orange; @brand-warning: @orange;
@brand-danger: #E03A06; @brand-danger: #E03A06;
@editor-loading-logo-padding-top: 115.44%;
@editor-loading-logo-background-url: url(/img/ol-brand/overleaf-o-grey.svg);
@import "./_common-variables.less"; @import "./_common-variables.less";

View file

@ -25,4 +25,7 @@
@brand-warning: @orange; @brand-warning: @orange;
@brand-danger: #E03A06; @brand-danger: #E03A06;
@editor-loading-logo-padding-top: 86.2%;
@editor-loading-logo-background-url: url(/img/brand/lion-grey.svg);
@import "_common-variables.less"; @import "_common-variables.less";