Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / resources / extensions / extensions.css
blobebd09e3dda1c50b078448a9c5567bd2fa0319b36
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
3 * found in the LICENSE file. */
5 html.loading * {
6 -webkit-transition-duration: 0 !important;
9 html:not(.focus-outline-visible)
10 :enabled:focus:-webkit-any(input[type='checkbox'], input[type='radio']) {
11 /* Cancel border-color for :focus specified in widgets.css. */
12 border-color: rgba(0, 0, 0, 0.25);
15 .no-scroll {
16 overflow-y: hidden;
19 /* Developer mode */
21 #dev-controls {
22 -webkit-margin-end: 20px;
23 -webkit-transition: padding 100ms, height 100ms, opacity 100ms;
24 border-bottom: 1px solid #eee;
25 height: 0;
26 opacity: 0;
27 overflow: hidden;
30 #dev-controls .buttons-container {
31 -webkit-padding-end: 3px;
32 -webkit-padding-start: 4px;
35 #dev-controls .buttons-container {
36 display: -webkit-box;
37 padding-top: 13px;
40 #dev-controls button {
41 white-space: nowrap;
44 #apps-developer-tools-promo {
45 -webkit-margin-before: 15px;
46 -webkit-padding-before: 5px;
47 -webkit-padding-end: 3px;
48 align-items: center;
49 border-top: 1px solid #eee;
50 display: flex;
51 font-size: 13px;
54 #apps-developer-tools-promo img {
55 content: url(apps_developer_tools_promo_48.png);
58 #apps-developer-tools-promo-text {
59 -webkit-margin-start: 5px;
62 #apps-developer-tools-promo-close-wrapper {
63 display: flex;
64 flex-grow: 1;
65 justify-content: flex-end;
68 #apps-developer-tools-promo .close-button {
69 background: url(chrome://theme/IDR_CLOSE_DIALOG) no-repeat center center;
70 border: 0;
71 height: 14px;
72 width: 14px;
73 z-index: 1;
76 #apps-developer-tools-promo .close-button:hover {
77 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H);
80 #apps-developer-tools-promo .close-button:active {
81 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P);
84 #extension-settings.dev-mode #dev-controls {
85 -webkit-transition-duration: 250ms;
86 height: 45px;
87 opacity: 1;
88 padding-bottom: 7px;
91 #extension-settings.dev-mode.adt-promo #dev-controls {
92 height: 105px; /* Allow more height for the Apps Developer Tools promo. */
95 #dev-controls-spacer {
96 -webkit-box-flex: 1;
99 #dev-toggle {
100 margin-top: 0;
101 text-align: end;
104 .extension-code {
105 border: 1px solid #ccc;
106 display: flex;
107 font-family: monospace;
108 overflow: auto;
109 white-space: pre;
112 .extension-code > * {
113 padding: 3px;
116 .extension-code-line-numbers {
117 align-self: flex-start;
118 background-color: rgba(240, 240, 240, 1);
119 border-right: 1px solid #ccc;
120 color: rgba(128, 128, 128, 1);
121 flex-shrink: 0;
122 text-align: right;
125 #extension-settings:not(.dev-mode) .developer-extras {
126 display: none;
129 .developer-extras > div,
130 .permanent-warnings > div {
131 margin: 5px 0;
134 #extension-settings #page-header {
135 /* These values match the .page values. */
136 -webkit-margin-end: 24px;
137 min-width: 576px;
140 /* Contents */
142 #extension-settings {
143 max-width: 738px;
146 #no-extensions-message {
147 font-weight: bold;
150 #suggest-gallery {
151 -webkit-padding-start: 10px;
154 #footer-section {
155 background: url(chrome://theme/IDR_WEBSTORE_ICON_32) no-repeat left center;
156 font-size: 1.25em;
159 html[dir=rtl] #footer-section {
160 background: url(chrome://theme/IDR_WEBSTORE_ICON_32) no-repeat right center;
163 #footer-section > a {
164 -webkit-margin-start: 42px;
165 line-height: 32px;
168 .empty-extension-list {
169 height: 3em;
172 .loading #no-extensions,
173 .loading #footer-section,
174 #extension-settings-list:not(.empty-extension-list) ~ #no-extensions,
175 .empty-extension-list ~ #footer-section {
176 display: none;
179 .extension-list-item-wrapper {
180 margin: 23px 0;
183 .extension-list-item {
184 background-repeat: no-repeat;
185 display: -webkit-box;
186 min-height: 48px;
189 html[dir='rtl'] .extension-list-item {
190 background-position: right;
193 .extension-title {
194 -webkit-padding-end: 20px;
195 color: rgb(48, 57, 66);
196 font-size: 14px;
197 font-weight: 500;
200 .inactive-extension .extension-title {
201 color: inherit;
204 .extension-version {
205 -webkit-padding-end: 7px;
206 font-size: 13px;
207 font-weight: 400;
210 .extension-description {
211 -webkit-padding-end: 5px;
212 font-size: 13px;
213 margin: 5px 0;
214 white-space: normal;
217 .extension-details {
218 -webkit-box-flex: 1;
219 -webkit-padding-start: 55px;
222 .extension-description,
223 .extension-list-item-wrapper.inactive-extension .extension-details,
224 .location-text,
225 .blacklist-text,
226 .enable-checkbox input:disabled + .enable-checkbox-text {
227 color: rgb(151, 156, 160);
230 .enable-controls {
231 /* Matches right: position of dev controls toggle. */
232 -webkit-margin-end: 20px;
233 position: relative;
236 .enable-checkbox-text {
237 /* Matches width of trash. */
238 -webkit-margin-end: 30px;
241 .checkbox {
242 display: inline-block;
245 .enabled-text {
246 font-weight: bold;
249 .extension-list-item-wrapper.inactive-extension .enabled-text,
250 .extension-list-item-wrapper:not(.inactive-extension) .enable-text,
251 .extension-list-item-wrapper.inactive-extension .optional-controls,
252 .extension-list-item-wrapper.inactive-extension .butter-bar {
253 display: none;
256 .load-path > span {
257 word-wrap: break-word;
260 .terminated-reload-link {
261 -webkit-margin-end: 2.5em;
262 padding-top: 7px;
265 .extension-list-item a {
266 -webkit-margin-start: 0.5em;
267 display: inline-block;
270 .install-warnings a {
271 -webkit-margin-start: 0;
274 .butter-bar,
275 .install-warnings,
276 .extension-warnings {
277 border-radius: 3px;
278 margin-top: 5px;
279 padding: 2px 5px;
282 .butter-bar {
283 background: rgb(255, 242, 153);
286 .install-warnings,
287 .extension-warnings {
288 background: pink;
291 .install-warnings ul,
292 .extension-warnings ul {
293 margin: 0;
296 .error-collection-control {
297 -webkit-margin-start: 5px;
298 display: none;
301 #extension-settings.dev-mode .error-collection-control {
302 display: initial;
305 #font-measuring-div {
306 /* Remove from the flow and hide. */
307 position: absolute;
308 visibility: hidden;
311 .extension-commands-config {
312 float: right;
315 html[dir=rtl] .extension-commands-config {
316 float: left;
319 /* Overlays */
321 #overlay {
322 z-index: 5;
325 #overlay .page:not(.showing) {
326 display: none;
329 #drop-target-overlay {
330 color: rgb(48, 57, 66);
331 font-size: 18px;
332 text-align: center;
335 #drop-target-overlay div {
336 margin: 1em;
339 .location-text,
340 .blacklist-text {
341 display: block;
342 width: 100px;
345 /* Trash */
347 #extension-settings .trash {
348 -webkit-transition: opacity 200ms;
349 height: 22px;
350 opacity: 0.8;
351 position: absolute;
352 right: 0;
353 top: 3px;
354 vertical-align: middle;
357 html[dir='rtl'] #extension-settings .trash {
358 left: 0;
359 right: auto;
362 .extension-list-item:not(:hover) .trash:not(:focus) {
363 opacity: 0;
366 .extension-list-item-wrapper.may-not-remove .trash {
367 visibility: hidden;
370 .extension-highlight {
371 background: rgb(238, 238, 238);
372 background-position: auto;
373 background-repeat: auto;
374 border-radius: 3px;
375 padding: 5px 0 5px 5px;
378 .may-not-modify .optional-controls .optional-controls-disableable {
379 display: none;
382 /* Managed mode */
384 .page:not(.profile-is-managed) .profile-is-managed-banner,
385 .profile-is-managed .more-extensions-link {
386 display: none;
389 .profile-is-managed-banner .page-banner-text {
390 background-image: url(chrome://theme/IDR_WARNING);
393 /* Sideload Wipeout */
395 .sideload-wipeout-learn-more {
396 text-decoration: none;
399 .sideload-wipeout-banner .page-banner-text {
400 -webkit-padding-start: 8px;
401 background-image: none;