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

Side by Side Diff: src/site/scss/_subnav.scss

Issue 10700168: massive CL is massive (Closed) Base URL: https://code.google.com/p/dartlang-site/@master
Patch Set: Created 8 years, 5 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
« no previous file with comments | « src/site/samples/sunflower/math.png ('k') | src/site/scss/_syntax.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 .subnav {
2 background-color: #EEEEEE;
3 background-image: -moz-linear-gradient(center top , #F5F5F5 0%, #EEEEEE 100% );
4 background-repeat: repeat-x;
5 border: 1px solid #E5E5E5;
6 border-radius: 4px 4px 4px 4px;
7 height: 36px;
8 width: 100%;
9 }
10
11 .subnav .nav {
12 margin-bottom: 0;
13 }
14 .subnav {
15 width: 100%;
16 height: 36px;
17 background-color: #eeeeee; /* Old browsers */
18 background-repeat: repeat-x; /* Repeat the gradient */
19 background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF 3.6+ */
20 background-image: -webkit-gradient(linear, left top, left bottom, color-stop (0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
21 background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
22 background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10 + */
23 background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
24 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
25 background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
26 border: 1px solid #e5e5e5;
27 -webkit-border-radius: 4px;
28 -moz-border-radius: 4px;
29 border-radius: 4px;
30 }
31 .subnav .nav {
32 margin-bottom: 0;
33 }
34 .subnav .nav > li > a {
35 margin: 0;
36 padding-top: 11px;
37 padding-bottom: 11px;
38 border-left: 1px solid #f5f5f5;
39 border-right: 1px solid #e5e5e5;
40 -webkit-border-radius: 0;
41 -moz-border-radius: 0;
42 border-radius: 0;
43 }
44 .subnav .nav > .active > a,
45 .subnav .nav > .active > a:hover {
46 padding-left: 13px;
47 color: #777;
48 background-color: #e9e9e9;
49 border-right-color: #ddd;
50 border-left: 0;
51 -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
52 -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
53 box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
54 }
55 .subnav .nav > .active > a .caret,
56 .subnav .nav > .active > a:hover .caret {
57 border-top-color: #777;
58 }
59 .subnav .nav > li:first-child > a,
60 .subnav .nav > li:first-child > a:hover {
61 border-left: 0;
62 padding-left: 12px;
63 -webkit-border-radius: 4px 0 0 4px;
64 -moz-border-radius: 4px 0 0 4px;
65 border-radius: 4px 0 0 4px;
66 }
67 .subnav .nav > li:last-child > a {
68 border-right: 0;
69 }
70 .subnav .dropdown-menu {
71 -webkit-border-radius: 0 0 4px 4px;
72 -moz-border-radius: 0 0 4px 4px;
73 border-radius: 0 0 4px 4px;
74 }
75
76
77 @media (max-width: 768px) {
78 .subnav {
79 position: static;
80 top: auto;
81 z-index: auto;
82 width: auto;
83 height: auto;
84 background: #fff; /* whole background property since we use a background -image for gradient */
85 -webkit-box-shadow: none;
86 -moz-box-shadow: none;
87 box-shadow: none;
88 }
89 .subnav .nav > li {
90 float: none;
91 }
92 .subnav .nav > li > a {
93 border: 0;
94 }
95 .subnav .nav > li + li > a {
96 border-top: 1px solid #e5e5e5;
97 }
98 .subnav .nav > li:first-child > a,
99 .subnav .nav > li:first-child > a:hover {
100 -webkit-border-radius: 4px 4px 0 0;
101 -moz-border-radius: 4px 4px 0 0;
102 border-radius: 4px 4px 0 0;
103 }
104 }
105
106 @media (min-width: 980px) {
107 .subnav-fixed {
108 position: fixed;
109 top: 40px;
110 left: 0;
111 right: 0;
112 z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
113 border-color: #d5d5d5;
114 border-width: 0 0 1px; /* drop the border on the fixed edges */
115 -webkit-border-radius: 0;
116 -moz-border-radius: 0;
117 border-radius: 0;
118 -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
119 -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
120 box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
121 filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
122 }
123 .subnav-fixed .nav {
124 width: 938px;
125 margin: 0 auto;
126 padding: 0 1px;
127 }
128 .subnav .nav > li:first-child > a,
129 .subnav .nav > li:first-child > a:hover {
130 -webkit-border-radius: 0;
131 -moz-border-radius: 0;
132 border-radius: 0;
133 }
134 }
135
136 @media (min-width: 1210px) {
137 .subnav-fixed .nav {
138 width: 1168px; /* 2px less to account for left/right borders being removed w hen in fixed mode */
139 }
140 }
OLDNEW
« no previous file with comments | « src/site/samples/sunflower/math.png ('k') | src/site/scss/_syntax.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698