Adjust toolbar paddings; adjust Overleaf menu icon width.

This commit is contained in:
Paulo Reis 2017-11-24 16:03:30 +00:00
parent 926fd69bb5
commit 860399d9de
3 changed files with 14 additions and 7 deletions

View file

@ -27,13 +27,17 @@
}
.editor-menu-icon when (@is-overleaf = true) {
&.fa::before {
// Disable the font-awesome icon when in Overleaf by replacing it with a
// non-breakable space instead (otherwise the browser would render a
// zero-width element).
content: "\00a0";
&.fa {
width: 1em;
background: url(/img/ol-brand/overleaf-o-white.svg) center / contain no-repeat;
&::before {
// Disable the font-awesome icon when in Overleaf by replacing it with a
// non-breakable space instead (otherwise the browser would render a
// zero-width element).
content: "\00a0";
}
}
background: url(/img/ol-brand/overleaf-o-white.svg) center / contain no-repeat;
}
.full-size {

View file

@ -3,6 +3,7 @@
.toolbar.toolbar-filetree {
.toolbar-small-mixin;
.toolbar-alt-mixin;
padding: 0 5px;
}
.file-tree-inner {

View file

@ -1,6 +1,8 @@
.pdf .toolbar.toolbar-pdf when (@is-overleaf = true) {
.toolbar-small-mixin;
.toolbar-alt-mixin;
border-bottom: 0;
padding-right: 5px;
}
.pdf .toolbar.toolbar-pdf when (@is-overleaf = false) {
@ -23,7 +25,7 @@
}
.btn-recompile-group when (@is-overleaf = true) {
height: 100%;
margin-right: 5px;
}
.btn-recompile when (@is-overleaf = true) {