Dropdown project list import button

stable
Xavier Julián 2015-04-27 11:09:07 +02:00 committed by Juanfran
parent 83ab7e2c69
commit c2c7fdf67d
2 changed files with 20 additions and 12 deletions

View File

@ -14,13 +14,13 @@ div.navbar-dropdown.dropdown-project-list
title="{{'PROJECT.NAVIGATION.SEE_MORE_PROJECTS' | translate}}",
translate="PROJECT.NAVIGATION.SEE_MORE_PROJECTS")
div.create-options
a.create-project-btn.button-green(
href="#",
ng-click="vm.newProject()",
title="{{'PROJECT.NAVIGATION.ACTION_CREATE_PROJECT' | translate}}",
translate="PROJECT.NAVIGATION.ACTION_CREATE_PROJECT")
div(tg-import-project-button)
a.button-blackish.import-project-button(href="", title="{{'PROJECT.NAVIGATION.TITLE_ACTION_IMPORT' | translate}}")
a.button-blackish.import-project-button(href="", title="{{'PROJECT.NAVIGATION.TITLE_ACTION_IMPORT' | translate}}", tg-import-project-button)
span.icon.icon-upload
input.import-file.hidden(type="file")

View File

@ -43,11 +43,6 @@
a {
padding: .5rem 2rem;
}
.navbar-dropdown {
a {
padding: .8rem .5rem;
}
}
}
a {
color: $white;
@ -124,6 +119,7 @@
a {
color: $gray-light;
display: block;
padding: .8rem .5rem;
&:hover {
background: rgba($white, .1);
color: $fresh-taiga;
@ -141,5 +137,17 @@
&.see-more-projects-btn {
margin-bottom: .3rem;
}
&.create-project-btn {
flex: 1;
}
&.import-project-button {
padding-left: .75rem;
padding-right: .75rem;
}
}
.create-options {
display: flex;
flex-direction: row;
}
}