1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-08 20:20:47 +00:00

CSS tweaks

This commit is contained in:
James Allen 2014-07-03 17:19:57 +01:00
parent 5dd3f828e3
commit 97065e8547
3 changed files with 21 additions and 17 deletions
services/web/public/stylesheets/app/editor

View file

@ -9,7 +9,8 @@
margin: auto;
margin-bottom: @line-height-computed / 2;
border: 1px solid @gray;
.box-shadow(0 2px 3px @gray;)
.box-shadow(0 2px 3px @gray;);
background-color: white;
}
p.no-preview {
font-size: 24px;

View file

@ -73,18 +73,26 @@
}
}
.log-btn {
position: relative;
.label {
position: absolute;
top: 0;
right: 0;
padding: .15em .6em .2em;
font-size: 60%;
}
&.active, &:active {
.toolbar {
.log-btn {
position: relative;
.label {
display: none;
position: absolute;
top: 0;
right: 0;
padding: .15em .6em .2em;
font-size: 60%;
}
&.active, &:active {
.label {
display: none;
}
color: white;
background-color: @link-color;
.box-shadow(inset 0 3px 5px rgba(0, 0, 0, 0.225));
&:hover {
color: white;
}
}
}
}

View file

@ -13,11 +13,6 @@
color: @gray-dark;
text-decoration: none;
}
&.active, &:active {
color: white;
background-color: @link-color;
.box-shadow(inset 0 3px 5px rgba(0, 0, 0, 0.225));
}
}
.btn-full-height {