Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1361)

Unified Diff: chrome/common/extensions/docs/static/sass/_navbar.scss

Issue 291663002: Adjustments to the fatnav and sidenav, and other CSS updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing copyright license. Fixed bad indentation on search.js Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/static/sass/_navbar.scss
diff --git a/chrome/common/extensions/docs/static/sass/_navbar.scss b/chrome/common/extensions/docs/static/sass/_navbar.scss
index 28f8866b2d10758b4f3fbce69a880196f2bc4897..1612386ca8a25475f8e8f7cba195deb59fafe774 100644
--- a/chrome/common/extensions/docs/static/sass/_navbar.scss
+++ b/chrome/common/extensions/docs/static/sass/_navbar.scss
@@ -2,6 +2,8 @@ $nav-item-shaded-bg: $gray-light url(data:image/png;base64,iVBORw0KGgoAAAANSUhEU
$nav-border-color: rgb(232, 232, 232);
$nav-font-size: 0.9em;
$z-index-nav-hover: 1001;
+$nav-hover-gradient: linear-gradient(205deg,rgba(229,229,229,.7) 0,rgba(233,233,233,.7) 20%, rgba(244,244,244,.7) 100%);
+$nav-box-shadow: 0 3px 4px rgba(0, 0, 0, 0.12);
#topnav {
@include display-flex();
@@ -116,7 +118,7 @@ $z-index-nav-hover: 1001;
color: $gray-dark;
&:hover {
- @include background-image(linear-gradient(205deg,rgba(229,229,229,.7) 0,rgba(233,233,233,.7) 20%, rgba(244,244,244,.7) 100%));
+ background-image: $nav-hover-gradient;
}
}
@@ -127,11 +129,10 @@ $z-index-nav-hover: 1001;
color: #333;;
font-size: 1.1em;
font-weight: bold;
- cursor: pointer;
@include flex(1);
&.active {
- @include background-image(linear-gradient(205deg,rgba(229,229,229,.7) 0,rgba(233,233,233,.7) 20%, rgba(244,244,244,.7) 100%));
+ background-image: $nav-hover-gradient;
}
> ul {
@@ -227,7 +228,7 @@ $z-index-nav-hover: 1001;
&::after {
position: absolute;
- @include background-image(linear-gradient(bottom,rgba(255, 255, 255, 0) 0,rgba(211, 211, 211, 0.5) 25%,rgb(211, 211, 211) 50%,rgba(211, 211, 211, 0.5) 75%,rgba(255, 255, 255, 0) 100%));
+ background-image: linear-gradient(bottom,rgba(255, 255, 255, 0) 0,rgba(211, 211, 211, 0.5) 25%,rgb(211, 211, 211) 50%,rgba(211, 211, 211, 0.5) 75%,rgba(255, 255, 255, 0) 100%);
right: 0;
top: 0;
content: '';
@@ -240,7 +241,7 @@ $z-index-nav-hover: 1001;
.expandee {
min-height: 400px;
font-size: $nav-font-size;
- box-shadow: 0 3px 4px rgba(0, 0, 0, 0.12);
+ box-shadow: $nav-box-shadow;
top: $top-nav-height;
.submenu {
« no previous file with comments | « chrome/common/extensions/docs/static/sass/_html.scss ('k') | chrome/common/extensions/docs/static/sass/_typography.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698