source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_navigation.scssc in refills-0.0.1 vs source/stylesheets/.sass-cache/7b963f7f4dc44c7eaad58bd6c1897da558e16f47/_navigation.scssc in refills-0.0.2
- old
+ new
@@ -1,54 +1,64 @@
-3.2.12 (Media Mark)
-447e45cc0f6140153888d930d00ded33f1c467d0
+3.2.13 (Media Mark)
+6750f51ee47293abc78010b010c8b002ce8ee6bc
o:Sass::Tree::RootNode
:
-@linei:@has_childrenT:@template"header.navigation {
+@linei:@has_childrenT:@template"header.navigation {
$navigation-background: $dark-gray;
$navigation-color: white;
$navigation-height: 60px;
+ $navigation-nav-button-background: $navigation-background;
+ $navigation-nav-button-background-hover: lighten($navigation-background, 10);
+ $navigation-nav-button-border: 1px solid lighten($navigation-nav-button-background, 20);
width: 100%;
- margin: 0 0 $base-line-height;
+ margin: 0;
height: $navigation-height;
background-color: $navigation-background;
+ font-family: $sans-serif;
+ border-bottom: 1px solid $dark-gray;
+ z-index: 999;
+ margin-bottom: $base-line-height;
.menu-wrapper {
@include outer-container;
}
.logo {
- padding: 0 20px;
- font-weight: bold;
- float: left;
line-height: $navigation-height;
+ padding-right: 1.35em;
+ padding-left: 1em;
+ font-weight: bold;
+ float: left;
color: white;
+ @include media($medium-screen) {
+ padding-left: 1em;
+ }
}
p {
+ font-family: $sans-serif;
+ font-weight: 700;
+ text-transform: uppercase;
+ cursor: pointer;
padding-right: 1em;
display: block;
float: right;
margin: 0;
line-height: $navigation-height;
color: $navigation-color;
}
- &:hover {
- .nav ul {
- display: block;
- }
- }
-
.nav {
ul {
display: none;
-webkit-transform-style: preserve-3d; // stop webkit flicker
overflow: hidden;
margin: 0 auto;
padding: 0;
width: 100%;
+ z-index: 9999;
li {
position: relative;
overflow: hidden;
display: block;
@@ -70,94 +80,203 @@
}
}
}
}
+ ul.nav-button {
+ display: none;
+ float: right;
+ background-color: $navigation-background;
+ padding: 0 1em 0 1em;
+ width: 100%;
+ list-style: none;
+
+ li {
+ float: right;
+ a {
+ display: inline;
+ line-height: $navigation-height;
+ font-family: $sans-serif;
+ font-weight: 700;
+ text-transform: uppercase;
+ color: white;
+ padding: 1em 1.5em;
+ background-color: $navigation-nav-button-background;
+ border: $navigation-nav-button-border;
+ border-radius: $base-border-radius;
+ font-size: $base-font-size *.8;
+
+ @include transition(ease-in-out, .2s);
+
+ &:hover {
+ background-color: $navigation-nav-button-background-hover;
+ }
+ }
+ }
+
+ li:first-child:before {
+ content: '';
+ }
+ }
+
@include media ($medium-screen) {
p {
display: none;
}
.nav {
- float: right;
+ float: left;
ul {
- display: block;
+ float: left;
+ display: inline;
margin: 0;
padding: 0;
li {
display: inline;
- display: inline;
text-decoration: none;
line-height: $navigation-height;
- padding-right: 1em;
+ padding-right: 2em;
+
+ a {
+ color: $navigation-color;
+ letter-spacing: 1px;
+ &:hover {
+ color: lighten($navigation-color, 15);
+ }
+ }
}
}
}
+
+ ul.nav-button {
+ float: right;
+ display: inline;
+ width: auto;
+ background-color: transparent;
+
+ li {
+ display: inline;
+
+ &:before {
+ content: "•";
+ color: $navigation-color;
+ margin-right: .3em;
+ }
+ }
+
+ li:first-child:before {
+ content: '';
+ }
+ }
}
-}:@children[o:Sass::Tree::RuleNode;i:@parsed_ruleso:"Sass::Selector::CommaSequence;i:
@members[o:Sass::Selector::Sequence;
[o:#Sass::Selector::SimpleSequence
+}
+:@children[o:Sass::Tree::RuleNode;i:@parsed_ruleso:"Sass::Selector::CommaSequence;i:
@members[o:Sass::Selector::Sequence;
[o:#Sass::Selector::SimpleSequence
;i:
@sourceso:Set:
@hash{ :
@subject0;
[o:Sass::Selector::Element ;i:
@name["header:@namespace0:@filename"