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

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: code review update 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: 1px solid;
113 border-bottom: 1px solid rgba(0, 0, 0, 0.1);
114 color: #777; 113 color: #777;
115 display: -webkit-box; 114 display: -webkit-box;
116 font-size: 16px; 115 font-size: 16px;
117 height: 48px; 116 height: 48px;
118 line-height: 48px; 117 line-height: 48px;
119 overflow: hidden; 118 overflow: hidden;
120 white-space: nowrap; 119 white-space: nowrap;
121 } 120 }
122 121
123 #bookmarks-title-wrapper .title-crumb { 122 #bookmarks-title-wrapper .title-crumb {
(...skipping 13 matching lines...) Expand all
137 display: -webkit-box; 136 display: -webkit-box;
138 left: 0; 137 left: 0;
139 overflow: hidden; 138 overflow: hidden;
140 position: absolute; 139 position: absolute;
141 right: 0; 140 right: 0;
142 top: 0; 141 top: 0;
143 -webkit-box-flex: 1; 142 -webkit-box-flex: 1;
144 -webkit-box-orient: horizontal; 143 -webkit-box-orient: horizontal;
145 } 144 }
146 145
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 { 146 .bookmark-separator {
156 background: -webkit-canvas(bookmark-chevron) center center no-repeat; 147 background: -webkit-canvas(bookmark-chevron) center center no-repeat;
157 border: 0; 148 border: 0;
158 height: 44px; 149 height: 44px;
159 margin: 2px 0; 150 margin: 2px 0;
160 width: 10px; 151 width: 10px;
161 } 152 }
162 153
163 html[dir="rtl"] .bookmark-separator { 154 html[dir="rtl"] .bookmark-separator {
164 -webkit-transform: scale(-1, 1); 155 -webkit-transform: scale(-1, 1);
(...skipping 13 matching lines...) Expand all
178 margin: 0px -70px; 169 margin: 0px -70px;
179 text-align: end; 170 text-align: end;
180 } 171 }
181 172
182 .bookmarks-import-data-link-wrapper { 173 .bookmarks-import-data-link-wrapper {
183 left: 0; 174 left: 0;
184 position: absolute; 175 position: absolute;
185 right: 0; 176 right: 0;
186 top: 33%; 177 top: 33%;
187 } 178 }
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