diff --git a/app/images/menu-vert.png b/app/images/menu-vert.png new file mode 100644 index 00000000..e7d8425d Binary files /dev/null and b/app/images/menu-vert.png differ diff --git a/app/partials/includes/modules/navigation-bar/navbar.jade b/app/partials/includes/modules/navigation-bar/navbar.jade index 2a38732b..fa10a591 100644 --- a/app/partials/includes/modules/navigation-bar/navbar.jade +++ b/app/partials/includes/modules/navigation-bar/navbar.jade @@ -1,22 +1,16 @@ nav.navbar - div.nav-left - img.logo(src="svg/logo-nav.svg", alt="Taiga") - a(href="#", title="Discover trending projects") Discover - a(href="#", title="Taiga Support Page") Help - div.nav-right - a(href="", title="Dashboard") Dashboard - a(href="", title="Projects") Projects - //ul.dropdown.projects-list - // li - // a(href="#", title="{{ project-name }}") Project Name - // li - // a(href="#", title="{{ project-name }}") Project Name - // li - // a(href="#", title="{{ project-name }}") Project Name - // li - // a(href="#", title="{{ project-name }}") Project Name - - a(href="#", title="Organizations") Organizations - a(href="#", title="{{ user.fullname }} profile") - span Sebastián Sanchís - img(src="#", alt="{{ user.fullname }} picture") + div.nav-left + a.logo(href="#", title="Dashboard") + include ../../../../svg/logo.svg + a(href="#", title="Discover trending projects") Discover + a(href="#", title="Taiga Support Page") Help + div.nav-right + a(href="", title="Dashboard") + include ../../../../svg/dashboard.svg + a(href="", title="Projects") + include ../../../../svg/projects.svg + a(href="#", title="Organizations") + include ../../../../svg/organizations.svg + a.user-avatar(href="#", title="{{ user.fullname }} profile") + span Sebastián Sanchís + img(src="https://s3.amazonaws.com/uifaces/faces/twitter/brad_frost/128.jpg", alt="{{ user.fullname }} picture") diff --git a/app/styles/modules/common/navbar.scss b/app/styles/modules/common/navbar.scss index 64672e1c..add48ee0 100644 --- a/app/styles/modules/common/navbar.scss +++ b/app/styles/modules/common/navbar.scss @@ -1,6 +1,66 @@ .navbar { - background: $black; + background: rgba($black, .2); + display: flex; + justify-content: space-between; + overflow: hidden; + position: relative; + &:after { + background: url('../images/menu-vert.png') center center repeat; + background-size: cover; + bottom: 0; + content: ''; + height: 100%; + left: 0; + position: absolute; + right: 0; + top: 0; + width: 200%; + z-index: -1; + } + .nav-left, + .nav-right { + align-content: center; + align-items: center; + display: flex; + } + a { + color: $gray-light; + display: inline-block; + padding: .5rem .75rem; + &:hover { + background: rgba($gray, .3); + color: $fresh-taiga; + svg path { + fill: $gray-light; + } + } + &.user-avatar { + padding: 0; + padding-left: .75rem; + } + + } .logo { - max-width: 35px; + padding: 0 2rem; + svg { + height: 2rem; + max-width: 2rem; + } + path { + fill: $white; + } + } + img { + height: 2.5rem; + padding-left: .3rem; + vertical-align: middle; + } + svg { + height: 1.2rem; + max-width: 1.2rem; + path { + fill: $gray; + transition: all .2s; + } } } diff --git a/app/svg/dashboard.svg b/app/svg/dashboard.svg new file mode 100644 index 00000000..1b2061a2 --- /dev/null +++ b/app/svg/dashboard.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/app/svg/organizations.svg b/app/svg/organizations.svg new file mode 100644 index 00000000..4dca4867 --- /dev/null +++ b/app/svg/organizations.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/app/svg/projects.svg b/app/svg/projects.svg new file mode 100644 index 00000000..e8c66014 --- /dev/null +++ b/app/svg/projects.svg @@ -0,0 +1,7 @@ + + + + + + +