Main navigation bar
parent
dda33bcda2
commit
3d343a06da
|
@ -23,7 +23,7 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
/*__Font Sizes__*/
|
/*__Font Sizes__*/
|
||||||
.small {font-size: .7em;}
|
.small {font-size: .7em;}
|
||||||
.medium {font-size: 1em;}
|
.medium {font-size: 1em;}
|
||||||
.large {font-size: 1.2;}
|
.large {font-size: 1.2em;}
|
||||||
.xlarge {font-size: 2em;}
|
.xlarge {font-size: 2em;}
|
||||||
.xxlarge {font-size: 3em;}
|
.xxlarge {font-size: 3em;}
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
.menu {
|
.menu {
|
||||||
width: 90px;
|
width: 90px;
|
||||||
background-image: url("/images/menu.png");
|
background-image: url("/images/menu.png");
|
||||||
|
background-attachment: fixed;
|
||||||
background-position: center bottom;
|
background-position: center bottom;
|
||||||
background-repeat: no-repeat;
|
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 3em .3em;
|
padding: 2em .3em;
|
||||||
font-family: 'ostrichSans';
|
font-family: 'ostrichSans';
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
margin-bottom: 4em;
|
margin-bottom: 2em;
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -17,17 +17,63 @@
|
||||||
|
|
||||||
.main-nav {
|
.main-nav {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 100px;
|
margin-bottom: 3em;
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
li {
|
li {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
a {
|
a {
|
||||||
color: $white;
|
color: $white;
|
||||||
|
display: block;
|
||||||
|
text-align:center;
|
||||||
|
&:hover {
|
||||||
|
@include transition (color .3s linear);
|
||||||
|
color: $freshTaiga;
|
||||||
|
}
|
||||||
|
span {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.icon{
|
||||||
@extend .xlarge;
|
@extend .xlarge;
|
||||||
display: block;
|
line-height: 1.1em;
|
||||||
span{
|
}
|
||||||
display: block;
|
.item {
|
||||||
line-height: 1.2em;
|
@extend .large;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.active {
|
||||||
|
@include transition (color .3s linear);
|
||||||
|
color: $freshTaiga;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.user {
|
||||||
|
width: 80px;
|
||||||
|
padding: 0 10px;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 1em;
|
||||||
|
a {
|
||||||
|
text-align: center;
|
||||||
|
color: $white;
|
||||||
|
@extend .medium;
|
||||||
|
}
|
||||||
|
img{
|
||||||
|
border: 1px solid transparent;
|
||||||
|
&:hover {
|
||||||
|
border: 2px solid $freshTaiga;
|
||||||
|
@include transition (all .6s ease-in-out);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.settings {
|
||||||
|
text-align: center;
|
||||||
|
a {
|
||||||
|
margin-right: .5em;
|
||||||
|
&:hover {
|
||||||
|
@include transition (color .3s linear);
|
||||||
|
color: $freshTaiga;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,30 +6,31 @@ nav.menu
|
||||||
li
|
li
|
||||||
a(href="", title="Search")
|
a(href="", title="Search")
|
||||||
span.icon.icon-search
|
span.icon.icon-search
|
||||||
span Search
|
span.item Search
|
||||||
li
|
li
|
||||||
a(href="", title="Backlog")
|
a.active(href="", title="Backlog")
|
||||||
span.icon.icon-backlog
|
span.icon.icon-backlog
|
||||||
span Backlog
|
span.item Backlog
|
||||||
li
|
li
|
||||||
a(href="", title="Kanban")
|
a(href="", title="Kanban")
|
||||||
span.icon.icon-kanban
|
span.icon.icon-kanban
|
||||||
span Kanban
|
span.item Kanban
|
||||||
li
|
li
|
||||||
a(href="", title="Issues")
|
a(href="", title="Issues")
|
||||||
span.icon.icon-issues
|
span.icon.icon-issues
|
||||||
span Issues
|
span.item Issues
|
||||||
li
|
li
|
||||||
a(href="", title="Wiki")
|
a(href="", title="Wiki")
|
||||||
span.icon.icon-wiki
|
span.icon.icon-wiki
|
||||||
span Wiki
|
span.item Wiki
|
||||||
li
|
li
|
||||||
a(href="", title="Video")
|
a(href="", title="Video")
|
||||||
span.icon.icon-video
|
span.icon.icon-video
|
||||||
span Video
|
span.item Video
|
||||||
div.user
|
div.user
|
||||||
a.avatar(href="", title="User preferences")
|
a.avatar(href="", title="User preferences")
|
||||||
img(src="http://thecodeplayer.com/u/uifaces/23.jpg", alt="username")
|
img(src="http://thecodeplayer.com/u/uifaces/12.jpg", alt="username")
|
||||||
|
div.settings
|
||||||
a(href="", title="User preferences") Pilar
|
a(href="", title="User preferences") Pilar
|
||||||
a(href="", title="Site preferences")
|
a(href="", title="Site preferences")
|
||||||
span.icon.icon-settings
|
span.icon.icon-settings
|
||||||
|
|
Loading…
Reference in New Issue