mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Switch from button to link to fit better
This commit is contained in:
parent
fb23b30c45
commit
1be9e29f35
2 changed files with 4 additions and 19 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue