mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Use LESS to conditionally hide SL assets.
This commit is contained in:
parent
4ee81b3b44
commit
2e898bcf13
3 changed files with 15 additions and 12 deletions
|
@ -4,7 +4,6 @@ block content
|
||||||
.content
|
.content
|
||||||
.container
|
.container
|
||||||
.error-container
|
.error-container
|
||||||
if (settings.brandPrefix !== 'ol-')
|
|
||||||
.error-figure
|
.error-figure
|
||||||
img.error-img(
|
img.error-img(
|
||||||
src="/img/brand/404-visual.svg"
|
src="/img/brand/404-visual.svg"
|
||||||
|
|
|
@ -10,7 +10,6 @@ html.full-height(itemscope, itemtype='http://schema.org/Product')
|
||||||
.content.full-height
|
.content.full-height
|
||||||
.container.full-height
|
.container.full-height
|
||||||
.error-container.full-height
|
.error-container.full-height
|
||||||
if (settings.brandPrefix !== 'ol-')
|
|
||||||
.error-figure.error-figure-500
|
.error-figure.error-figure-500
|
||||||
img.error-img(
|
img.error-img(
|
||||||
src="/img/brand/500-visual-socket.svg"
|
src="/img/brand/500-visual-socket.svg"
|
||||||
|
|
|
@ -20,6 +20,11 @@
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.error-figure when (@is-overleaf = true) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.error-figure-500 {
|
.error-figure-500 {
|
||||||
&::before {
|
&::before {
|
||||||
content: '';
|
content: '';
|
||||||
|
|
Loading…
Reference in a new issue