Isolate create project dropdown styles, to avoid influencing other dropdowns.

This commit is contained in:
Paulo Reis 2016-08-30 15:32:23 +01:00
parent 16e4577ffa
commit 2885164748
2 changed files with 12 additions and 6 deletions

View file

@ -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,

View file

@ -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;
}
}