mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-05 19:13:06 +00:00
Isolate create project dropdown styles, to avoid influencing other dropdowns.
This commit is contained in:
parent
16e4577ffa
commit
2885164748
2 changed files with 12 additions and 6 deletions
|
@ -160,19 +160,15 @@
|
|||
|
||||
.row
|
||||
.col-md-offset-4.col-md-4
|
||||
.dropdown(dropdown)
|
||||
.dropdown.minimal-create-proj-dropdown(dropdown)
|
||||
a.btn.btn-success.dropdown-toggle(
|
||||
href="#",
|
||||
data-toggle="dropdown",
|
||||
dropdown-toggle
|
||||
)
|
||||
| Create First Project
|
||||
style.
|
||||
.dropdown{text-align:center;}
|
||||
.button, .dropdown-menu{margin:2px auto}
|
||||
.dropdown-menu{width:200px; left:50%; margin-left:-100px;}
|
||||
|
||||
ul.dropdown-menu(role="menu", style="text-align:center;")
|
||||
ul.dropdown-menu.minimal-create-proj-dropdown-menu(role="menu", style="text-align:center;")
|
||||
li
|
||||
a(
|
||||
href,
|
||||
|
|
|
@ -279,3 +279,13 @@ ul.project-list {
|
|||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
|
||||
.minimal-create-proj-dropdown {
|
||||
text-align:center;
|
||||
|
||||
&-menu {
|
||||
width:200px;
|
||||
left:50%;
|
||||
margin-left:-100px;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue