Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 html.loading * { | 5 html.loading * { |
| 6 -webkit-transition-duration: 0 !important; | 6 -webkit-transition-duration: 0 !important; |
| 7 } | 7 } |
| 8 | 8 |
| 9 html:not(.focus-outline-visible) | 9 html:not(.focus-outline-visible) |
| 10 :enabled:focus:-webkit-any(input[type='checkbox'], input[type='radio']) { | 10 :enabled:focus:-webkit-any(input[type='checkbox'], input[type='radio']) { |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 | 34 |
| 35 #dev-controls .buttons-container { | 35 #dev-controls .buttons-container { |
| 36 display: -webkit-box; | 36 display: -webkit-box; |
| 37 padding-top: 13px; | 37 padding-top: 13px; |
| 38 } | 38 } |
| 39 | 39 |
| 40 #dev-controls button { | 40 #dev-controls button { |
| 41 white-space: nowrap; | 41 white-space: nowrap; |
| 42 } | 42 } |
| 43 | 43 |
| 44 #apps-developer-tools-promo { | |
| 45 -webkit-margin-before: 15px; | |
| 46 -webkit-padding-before: 5px; | |
| 47 align-items: center; | |
| 48 border-top: 1px solid #eee; | |
| 49 display: flex; | |
| 50 font-size: 13px; | |
| 51 } | |
| 52 | |
| 53 #apps-developer-tools-promo img { | |
| 54 content: url('apps_developer_tools_promo_48.png'); | |
|
Dan Beam
2014/04/18 21:27:28
nit: no need for single quotes
Devlin
2014/04/18 22:19:55
Done.
| |
| 55 } | |
| 56 | |
| 57 #apps-developer-tools-promo-text, | |
| 58 #apps-developer-tools-promo-link { | |
| 59 -webkit-margin-start: 5px; | |
| 60 } | |
| 61 | |
| 62 #apps-developer-tools-promo-link { | |
| 63 text-decoration: none; | |
|
Dan Beam
2014/04/18 21:27:28
i think we underline links that go to new hosts
Devlin
2014/04/18 22:19:55
Ah, so we do. Done.
| |
| 64 } | |
| 65 | |
| 66 #apps-developer-tools-promo-close-wrapper { | |
| 67 display: flex; | |
| 68 flex-grow: 1; | |
| 69 justify-content: flex-end; | |
| 70 } | |
| 71 | |
| 72 #apps-developer-tools-promo .close-button { | |
| 73 background-image: url('chrome://theme/IDR_CLOSE_DIALOG'); | |
| 74 background-position: center; | |
|
Dan Beam
2014/04/18 21:27:28
background-position's initial value is 0% 0% (top-
Devlin
2014/04/18 22:19:55
Crazy... done.
| |
| 75 background-repeat: no-repeat; | |
|
Dan Beam
2014/04/18 21:27:28
or better yet:
background: url(chrome://theme/I
Devlin
2014/04/18 22:19:55
Awesome, thanks.
| |
| 76 height: 14px; | |
| 77 width: 14px; | |
| 78 z-index: 1; | |
| 79 } | |
| 80 | |
| 81 #apps-developer-tools-promo .close-button:hover { | |
| 82 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_H'); | |
|
Dan Beam
2014/04/18 21:27:28
^ does this preload? i.e. does this load when hov
Devlin
2014/04/18 22:19:55
I don't see any hover, and this is how we do it el
Dan Beam
2014/04/18 22:34:22
eh, this is local and so small... if you don't not
| |
| 83 } | |
| 84 | |
| 85 #apps-developer-tools-promo .close-button:active { | |
| 86 background-image: url('chrome://theme/IDR_CLOSE_DIALOG_P'); | |
| 87 } | |
| 88 | |
| 44 #extension-settings.dev-mode #dev-controls { | 89 #extension-settings.dev-mode #dev-controls { |
| 45 -webkit-transition-duration: 250ms; | 90 -webkit-transition-duration: 250ms; |
| 46 height: 45px; | 91 height: 45px; |
| 47 opacity: 1; | 92 opacity: 1; |
| 48 padding-bottom: 7px; | 93 padding-bottom: 7px; |
| 49 } | 94 } |
| 50 | 95 |
| 96 #extension-settings.dev-mode.adt-promo #dev-controls { | |
| 97 height: 105px; /* Allow more height for the Apps Developer Tools promo. */ | |
|
Dan Beam
2014/04/18 21:28:22
also, it'd be kinda cool if we could just somehow
Devlin
2014/04/18 22:19:55
I agree it'd be cool, but it'd require a bit more
Dan Beam
2014/04/18 22:34:22
yes
| |
| 98 } | |
| 99 | |
| 51 #dev-controls-spacer { | 100 #dev-controls-spacer { |
| 52 -webkit-box-flex: 1; | 101 -webkit-box-flex: 1; |
| 53 } | 102 } |
| 54 | 103 |
| 55 #dev-toggle { | 104 #dev-toggle { |
| 56 margin-top: 0; | 105 margin-top: 0; |
| 57 text-align: end; | 106 text-align: end; |
| 58 } | 107 } |
| 59 | 108 |
| 60 #extension-settings:not(.dev-mode) .developer-extras { | 109 #extension-settings:not(.dev-mode) .developer-extras { |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 319 /* Sideload Wipeout */ | 368 /* Sideload Wipeout */ |
| 320 | 369 |
| 321 .sideload-wipeout-learn-more { | 370 .sideload-wipeout-learn-more { |
| 322 text-decoration: none; | 371 text-decoration: none; |
| 323 } | 372 } |
| 324 | 373 |
| 325 .sideload-wipeout-banner .page-banner-text { | 374 .sideload-wipeout-banner .page-banner-text { |
| 326 -webkit-padding-start: 8px; | 375 -webkit-padding-start: 8px; |
| 327 background-image: none; | 376 background-image: none; |
| 328 } | 377 } |
| OLD | NEW |