provide nav_min_opacity which allows the navbar to fade or even vanish until hovered with a value of for instance '0';
This commit is contained in:
@@ -118,21 +118,29 @@ blockquote {
|
||||
filter:alpha(opacity=100);
|
||||
}
|
||||
|
||||
nav {background-image: linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%);
|
||||
background-image: -o-linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%);
|
||||
background-image: -moz-linear-gradient(bottom,$nav_bg_1 26%, $nav_bg_2 82%);
|
||||
background-image: -webkit-linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%);
|
||||
background-image: -ms-linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%);
|
||||
nav {
|
||||
background-image: linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%);
|
||||
background-image: -o-linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%);
|
||||
background-image: -moz-linear-gradient(bottom,$nav_bg_1 26%, $nav_bg_2 82%);
|
||||
background-image: -webkit-linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%);
|
||||
background-image: -ms-linear-gradient(bottom, $nav_bg_1 26%, $nav_bg_2 82%);
|
||||
opacity: $nav_float_min_opacity;
|
||||
filter:alpha(opacity=$nav_percent_min_opacity);
|
||||
|
||||
}
|
||||
|
||||
section {width: $section_width;
|
||||
}
|
||||
|
||||
nav:hover {background-image: linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
background-image: -o-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
background-image: -moz-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
background-image: -webkit-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
background-image: -ms-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
nav:hover {
|
||||
background-image: linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
background-image: -o-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
background-image: -moz-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
background-image: -webkit-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
background-image: -ms-linear-gradient(bottom, $nav_bg_3 26%, $nav_bg_4 82%);
|
||||
opacity: 1.0;
|
||||
filter:alpha(opacity=100);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user