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

Side by Side Diff: chrome/browser/resources/ntp4/bookmarks_page.css

Issue 7867045: [ntp4] Improve styling for bookmarks header bar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: moar tweaking Created 9 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* Bookmark Tiles ************************************************************/ 6 /* Bookmark Tiles ************************************************************/
7 7
8 .bookmark { 8 .bookmark {
9 display: -webkit-box; 9 display: -webkit-box;
10 position: absolute; 10 position: absolute;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 /* The bookmark gets a shadow when clicked, but not when the click is on the 101 /* The bookmark gets a shadow when clicked, but not when the click is on the
102 * close button. */ 102 * close button. */
103 .bookmark:active .close-button:not(:active) + .button-frame { 103 .bookmark:active .close-button:not(:active) + .button-frame {
104 -webkit-box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.2); 104 -webkit-box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.2);
105 } 105 }
106 106
107 /* Bookmark Titles ************************************************************/ 107 /* Bookmark Titles ************************************************************/
108 108
109 #bookmarks-title-wrapper { 109 #bookmarks-title-wrapper {
110 background: #fff; 110 /* this color matches the gradiant end color for the #footer element. */
111 background-position: left; 111 background-color: rgba(242, 242, 242, 0.9);
112 background-repeat: no-repeat; 112 border-bottom-style: solid;
113 border-bottom: 1px solid rgba(0, 0, 0, 0.1); 113 border-bottom-width: 1px;
Evan Stade 2011/09/12 17:42:55 I think you can still put this on one line, just l
csilv 2011/09/12 18:11:55 Done.
114 color: #777; 114 color: #777;
115 display: -webkit-box; 115 display: -webkit-box;
116 font-size: 16px; 116 font-size: 16px;
117 height: 48px; 117 height: 48px;
118 line-height: 48px; 118 line-height: 48px;
119 overflow: hidden; 119 overflow: hidden;
120 white-space: nowrap; 120 white-space: nowrap;
121 } 121 }
122 122
123 #bookmarks-title-wrapper .title-crumb { 123 #bookmarks-title-wrapper .title-crumb {
(...skipping 13 matching lines...) Expand all
137 display: -webkit-box; 137 display: -webkit-box;
138 left: 0; 138 left: 0;
139 overflow: hidden; 139 overflow: hidden;
140 position: absolute; 140 position: absolute;
141 right: 0; 141 right: 0;
142 top: 0; 142 top: 0;
143 -webkit-box-flex: 1; 143 -webkit-box-flex: 1;
144 -webkit-box-orient: horizontal; 144 -webkit-box-orient: horizontal;
145 } 145 }
146 146
147 .section-title-mask {
148 background: #fff;
149 height: 100%;
150 overflow: hidden;
151 position: relative;
152 -webkit-box-flex: 1;
153 }
154
155 .bookmark-separator { 147 .bookmark-separator {
156 background: -webkit-canvas(bookmark-chevron) center center no-repeat; 148 background: -webkit-canvas(bookmark-chevron) center center no-repeat;
157 border: 0; 149 border: 0;
158 height: 44px; 150 height: 44px;
159 margin: 2px 0; 151 margin: 2px 0;
160 width: 10px; 152 width: 10px;
161 } 153 }
162 154
163 html[dir="rtl"] .bookmark-separator { 155 html[dir="rtl"] .bookmark-separator {
164 -webkit-transform: scale(-1, 1); 156 -webkit-transform: scale(-1, 1);
(...skipping 13 matching lines...) Expand all
178 margin: 0px -70px; 170 margin: 0px -70px;
179 text-align: end; 171 text-align: end;
180 } 172 }
181 173
182 .bookmarks-import-data-link-wrapper { 174 .bookmarks-import-data-link-wrapper {
183 left: 0; 175 left: 0;
184 position: absolute; 176 position: absolute;
185 right: 0; 177 right: 0;
186 top: 33%; 178 top: 33%;
187 } 179 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698