Switch from button to link to fit better

This commit is contained in:
Alasdair Smith 2017-12-21 11:10:23 +00:00
parent fb23b30c45
commit 1be9e29f35
2 changed files with 4 additions and 19 deletions

View file

@ -65,9 +65,9 @@ block content
if isShowingV1Projects && settings.overleaf && settings.overleaf.host
.project-list-sidebar-v2-pane.col-md-2.col-xs-3
span Welcome to the Overleaf v2 alpha! #[a.project-list-sidebar-faq(href="https://www.overleaf.com/help/v2") Find out more].
span Welcome to the Overleaf v2 alpha! #[a(href="https://www.overleaf.com/help/v2") Find out more].
span To tag or rename your v1 projects, please go back to Overleaf v1.
a.project-list-sidebar-v1-link.btn.btn-default(
a.project-list-sidebar-v1-link(
href=settings.overleaf.host + "/dash?prefer-v1-dash=1"
) Go back to v1

View file

@ -17,26 +17,11 @@
font-size: 13px;
}
.project-list-sidebar-faq {
.project-list-sidebar-v2-pane a {
color: @v2-dash-pane-link-color;
text-decoration: underline;
}
.project-list-sidebar-faq:hover {
color: @v2-dash-pane-link-color;
.project-list-sidebar-v2-pane a:hover {
text-decoration: none;
}
.project-list-sidebar-v1-link {
display: block;
margin-left: auto;
margin-right: auto;
padding-top: 0;
padding-bottom: 0;
background-color: @v2-dash-pane-btn-bg;
font-size: 13px;
}
.project-list-sidebar-v1-link:hover {
background-color: @v2-dash-pane-btn-hover-bg;
}