Initial version of header nav bar
This commit is contained in:
+49
-2
@@ -41,7 +41,7 @@ All rights reserved.
|
||||
|
||||
.view__header {
|
||||
background: $color-gray-light;
|
||||
position: relative; height: 8em;
|
||||
position: relative; height: 13em;
|
||||
margin-top: 3.2em;
|
||||
|
||||
h1 {
|
||||
@@ -54,7 +54,54 @@ All rights reserved.
|
||||
|
||||
.divider {
|
||||
background: $color-brick-dark url('/images/stone_brick.png');
|
||||
position: absolute; bottom: 0; height: 3.2em; width: 100%;
|
||||
position: absolute; bottom: 5em; height: 3.2em; width: 100%;
|
||||
}
|
||||
|
||||
.navBar {
|
||||
position: absolute; right: 2em; bottom: 1em; left: 2em; height: 3em;
|
||||
|
||||
a {
|
||||
position: relative; height: 3em; width: 15em;
|
||||
background: $color-gray-faint;
|
||||
border: 0.1em solid $color-gray-medium;
|
||||
border-radius: 0 1.5em 1.5em 0;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
margin-left: -1.5em;
|
||||
|
||||
transition: background $animate-normal;
|
||||
|
||||
&:first-child {
|
||||
border-radius: 1.5em;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: $color-background-panel;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background: $color-active;
|
||||
|
||||
p {
|
||||
color: $color-background-panel;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
position: absolute; top: 50%; left: 50%; width: 100%;
|
||||
@include transform(translateX(-50%) translateY(-50%));
|
||||
|
||||
color: $color-active;
|
||||
font-family: $font-family-normal;
|
||||
font-size: $font-size-normal;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|
||||
transition: color $animate-normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user