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

Side by Side Diff: chrome/browser/resources/options2/options_page.css

Issue 9307026: make search box in settings page not get hidden behind enterprise warning (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make the banner show on the search page as well Created 8 years, 10 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 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 body { 5 body {
6 position: relative; 6 position: relative;
7 } 7 }
8 8
9 #main-content { 9 #main-content {
10 display: -webkit-box; 10 display: -webkit-box;
(...skipping 24 matching lines...) Expand all
35 position: relative; 35 position: relative;
36 } 36 }
37 37
38 #page-container { 38 #page-container {
39 -webkit-padding-end: 24px; 39 -webkit-padding-end: 24px;
40 box-sizing: border-box; 40 box-sizing: border-box;
41 max-width: 888px; 41 max-width: 888px;
42 min-width: 600px; 42 min-width: 600px;
43 } 43 }
44 44
45 #page-container .page {
46 -webkit-transition-duration: 500ms;
James Hawkins 2012/02/05 05:13:10 500ms is too long. Use 200ms.
Tyler Breisacher (Chromium) 2012/02/06 18:46:50 Done.
47 -webkit-transition-property: margin-top;
48 }
49
50 #page-container .page.under-managed-prefs-banner {
51 margin-top: 31px;
52 }
53
54 #page-container header {
55 -webkit-transition-duration: 500ms;
56 -webkit-transition-property: top;
57 }
58
59 #page-container .page.under-managed-prefs-banner header {
60 top: 31px;
61 }
62
45 div.disabled { 63 div.disabled {
46 color: #888; 64 color: #888;
47 } 65 }
48 66
49 /* TODO(jhawkins): Refactor back into button.css once more pages are converted. 67 /* TODO(jhawkins): Refactor back into button.css once more pages are converted.
50 */ 68 */
51 /* Note |link-button| has no additional styling for focus, hover, or active. */ 69 /* Note |link-button| has no additional styling for focus, hover, or active. */
52 .link-button { 70 .link-button {
53 color: rgb(48, 57, 66); 71 color: rgb(48, 57, 66);
54 padding-left: 0; 72 padding-left: 0;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 min-width: 650px; 302 min-width: 650px;
285 padding: 0 20px; 303 padding: 0 20px;
286 width: 95%; 304 width: 95%;
287 } 305 }
288 306
289 .subpage-sheet-contents .page { 307 .subpage-sheet-contents .page {
290 z-index: 1; 308 z-index: 1;
291 } 309 }
292 310
293 .managed-prefs-banner { 311 .managed-prefs-banner {
312 -webkit-transition-duration: 500ms;
313 -webkit-transition-property: height;
294 background: -webkit-linear-gradient(rgb(255, 242, 183), 314 background: -webkit-linear-gradient(rgb(255, 242, 183),
295 rgb(250, 230, 145) 97%, 315 rgb(250, 230, 145) 97%,
296 rgb(135, 135, 135)); 316 rgb(135, 135, 135));
297 height: 31px; 317 height: 31px;
298 width: 100%; 318 width: 100%;
299 margin: 0; 319 margin: 0;
300 padding: 0; 320 padding: 0;
301 position: relative; 321 position: fixed;
302 vertical-align: middle; 322 vertical-align: middle;
303 z-index: 9; 323 z-index: 2;
James Hawkins 2012/02/05 05:13:10 What is this change about?
324 }
325
326 .managed-prefs-banner.hidden {
James Hawkins 2012/02/05 05:13:10 .managed-prefs-banner['hidden']
327 height: 0;
304 } 328 }
305 329
306 .managed-prefs-banner.clickable:active { 330 .managed-prefs-banner.clickable:active {
307 background: -webkit-linear-gradient(rgb(135, 135, 135), 331 background: -webkit-linear-gradient(rgb(135, 135, 135),
308 rgb(250, 230, 145) 3%, 332 rgb(250, 230, 145) 3%,
309 rgb(255, 242, 183)); 333 rgb(255, 242, 183));
310 } 334 }
311 335
312 .managed-prefs-icon { 336 .managed-prefs-icon {
313 background-image: url('chrome://theme/IDR_WARNING'); 337 background-image: url('chrome://theme/IDR_WARNING');
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); 760 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE');
737 } 761 }
738 762
739 html[dir='rtl'] .controlled-setting-bubble-text { 763 html[dir='rtl'] .controlled-setting-bubble-text {
740 background-position: right top; 764 background-position: right top;
741 } 765 }
742 766
743 .controlled-setting-bubble-action { 767 .controlled-setting-bubble-action {
744 padding: 0 !important; 768 padding: 0 !important;
745 } 769 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698