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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 $nav-item-shaded-bg: $gray-light url(data:image/png;base64,iVBORw0KGgoAAAANSUhEU gAAAAYAAAAyCAMAAABI+VrBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALFQT FRF/////f39/v7+/Pz8+/v7+fn56+vr+vr69PT09vb28/Pz9fX1xcXF9/f3+Pj45+fn8PDwycnJ7+/v6 enpzc3N19fX8fHx8vLy7u7u6Ojo7Ozs3Nzc5OTk7e3t4uLi2dnZ39/fxsbG29vb0dHR3d3d4ODg4+Pj6 urqyMjI09PT5eXl0NDQ1dXV2NjYysrKx8fH5ubmzs7O3t7exMTE4eHh2tray8vLz8/PzMzM1NTU1tbWh gtdWwAAAOFJREFUeNok0NWSxCAURdFDhCQkMx3tuLe7jP//h829NC+rqIKNAK8hhGEQjmUyrm+ziVTs5 0O6jkA6b+J3gSCqpWfiGZxL1yKyhbIQEDQLxj7xTYy7SXoCY1RXbwLXy6OgfdevIbYFdulHaBuI7t3SI Y5Nbhm4zAdF/Ow5gvTEEaR/W49Ov2eSIvjuW+Y4tdTCXHML+1XI/A7cwmmdM1nHLZwbl+kPPj9lunELq 5LuRWy5hUFyC+uKI+hazabgCJpYcws5gsXS5F8qc02i9C9Jn9ejelHoMkJdhrJ5xb8AAwBmihB0TS21n QAAAABJRU5ErkJggg==) no-repeat right 0; 1 $nav-item-shaded-bg: $gray-light url(data:image/png;base64,iVBORw0KGgoAAAANSUhEU gAAAAYAAAAyCAMAAABI+VrBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALFQT FRF/////f39/v7+/Pz8+/v7+fn56+vr+vr69PT09vb28/Pz9fX1xcXF9/f3+Pj45+fn8PDwycnJ7+/v6 enpzc3N19fX8fHx8vLy7u7u6Ojo7Ozs3Nzc5OTk7e3t4uLi2dnZ39/fxsbG29vb0dHR3d3d4ODg4+Pj6 urqyMjI09PT5eXl0NDQ1dXV2NjYysrKx8fH5ubmzs7O3t7exMTE4eHh2tray8vLz8/PzMzM1NTU1tbWh gtdWwAAAOFJREFUeNok0NWSxCAURdFDhCQkMx3tuLe7jP//h829NC+rqIKNAK8hhGEQjmUyrm+ziVTs5 0O6jkA6b+J3gSCqpWfiGZxL1yKyhbIQEDQLxj7xTYy7SXoCY1RXbwLXy6OgfdevIbYFdulHaBuI7t3SI Y5Nbhm4zAdF/Ow5gvTEEaR/W49Ov2eSIvjuW+Y4tdTCXHML+1XI/A7cwmmdM1nHLZwbl+kPPj9lunELq 5LuRWy5hUFyC+uKI+hazabgCJpYcws5gsXS5F8qc02i9C9Jn9ejelHoMkJdhrJ5xb8AAwBmihB0TS21n QAAAABJRU5ErkJggg==) no-repeat right 0;
2 $nav-border-color: rgb(232, 232, 232); 2 $nav-border-color: rgb(232, 232, 232);
3 $nav-font-size: 0.9em; 3 $nav-font-size: 0.9em;
4 $z-index-nav-hover: 1001; 4 $z-index-nav-hover: 1001;
5 $nav-hover-gradient: linear-gradient(205deg,rgba(229,229,229,.7) 0,rgba(233,233, 233,.7) 20%, rgba(244,244,244,.7) 100%);
6 $nav-box-shadow: 0 3px 4px rgba(0, 0, 0, 0.12);
5 7
6 #topnav { 8 #topnav {
7 @include display-flex(); 9 @include display-flex();
8 @include align-items(center); 10 @include align-items(center);
9 height: $top-nav-height; 11 height: $top-nav-height;
10 position: relative; 12 position: relative;
11 //margin-bottom: $main-content-top-margin; 13 //margin-bottom: $main-content-top-margin;
12 } 14 }
13 15
14 #logo { 16 #logo {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 cursor: initial; 111 cursor: initial;
110 margin: 0; 112 margin: 0;
111 113
112 a { 114 a {
113 font-weight: 600; 115 font-weight: 600;
114 padding: 0.5em 0; 116 padding: 0.5em 0;
115 display: block; 117 display: block;
116 color: $gray-dark; 118 color: $gray-dark;
117 119
118 &:hover { 120 &:hover {
119 @include background-image(linear-gradient(205deg,rgba(229,229,229,.7) 0, rgba(233,233,233,.7) 20%, rgba(244,244,244,.7) 100%)); 121 background-image: $nav-hover-gradient;
120 } 122 }
121 } 123 }
122 124
123 li { 125 li {
124 white-space: nowrap; 126 white-space: nowrap;
125 127
126 &.submenu { 128 &.submenu {
127 color: #333;; 129 color: #333;;
128 font-size: 1.1em; 130 font-size: 1.1em;
129 font-weight: bold; 131 font-weight: bold;
130 cursor: pointer;
131 @include flex(1); 132 @include flex(1);
132 133
133 &.active { 134 &.active {
134 @include background-image(linear-gradient(205deg,rgba(229,229,229,.7) 0,rgba(233,233,233,.7) 20%, rgba(244,244,244,.7) 100%)); 135 background-image: $nav-hover-gradient;
135 } 136 }
136 137
137 > ul { 138 > ul {
138 font-size: $nav-font-size - 0.1; 139 font-size: $nav-font-size - 0.1;
139 padding: $default-padding - 5 0 0 0; 140 padding: $default-padding - 5 0 0 0;
140 margin: 0; 141 margin: 0;
141 } 142 }
142 143
143 .category { 144 .category {
144 border-bottom: 1px solid $nav-border-color; 145 border-bottom: 1px solid $nav-border-color;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 .expandee { 221 .expandee {
221 @include display-flex(); 222 @include display-flex();
222 @include flex-direction(row); 223 @include flex-direction(row);
223 224
224 // pointer-events: all; 225 // pointer-events: all;
225 // opacity: 1; 226 // opacity: 1;
226 // //visibility: visible; 227 // //visibility: visible;
227 228
228 &::after { 229 &::after {
229 position: absolute; 230 position: absolute;
230 @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%)); 231 background-image: linear-gradient(bottom,rgba(255, 255, 255, 0) 0,rg ba(211, 211, 211, 0.5) 25%,rgb(211, 211, 211) 50%,rgba(211, 211, 211, 0.5) 75%,r gba(255, 255, 255, 0) 100%);
231 right: 0; 232 right: 0;
232 top: 0; 233 top: 0;
233 content: ''; 234 content: '';
234 width: 1px !important; 235 width: 1px !important;
235 height: 100%; 236 height: 100%;
236 } 237 }
237 } 238 }
238 } 239 }
239 240
240 .expandee { 241 .expandee {
241 min-height: 400px; 242 min-height: 400px;
242 font-size: $nav-font-size; 243 font-size: $nav-font-size;
243 box-shadow: 0 3px 4px rgba(0, 0, 0, 0.12); 244 box-shadow: $nav-box-shadow;
244 top: $top-nav-height; 245 top: $top-nav-height;
245 246
246 .submenu { 247 .submenu {
247 padding: 0 $default-padding; 248 padding: 0 $default-padding;
248 border-right: 1px solid $nav-border-color; 249 border-right: 1px solid $nav-border-color;
249 &:last-child { 250 &:last-child {
250 border: none; 251 border: none;
251 } 252 }
252 } 253 }
253 } 254 }
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 img { 360 img {
360 display: none; 361 display: none;
361 } 362 }
362 363
363 .expandee { 364 .expandee {
364 display: block; 365 display: block;
365 } 366 }
366 } 367 }
367 } 368 }
368 369
OLDNEW
« 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