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. */
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);
22 -webkit-margin-end: 20px;
23 -webkit-transition: padding 100ms, height 100ms, opacity 100ms;
24 border-bottom: 1px solid #eee;
30 #dev-controls .buttons-container {
31 -webkit-padding-end: 3px;
32 -webkit-padding-start: 4px;
35 #dev-controls .buttons-container {
37 height: 32px; /* height + padding-top matches #dev-controls height. */
41 #dev-controls button {
45 #apps-developer-tools-promo {
46 -webkit-padding-end: 3px;
48 border-top: 1px solid #eee;
51 margin-top: 7px; /* This matches #dev-controls padding-bottom. */
55 #apps-developer-tools-promo img {
56 content: url(apps_developer_tools_promo_48.png);
59 #apps-developer-tools-promo-text {
60 -webkit-margin-start: 5px;
63 #apps-developer-tools-promo-close-wrapper {
66 justify-content: flex-end;
69 #apps-developer-tools-promo .close-button {
70 background: url(chrome://theme/IDR_CLOSE_DIALOG) no-repeat center center;
77 #apps-developer-tools-promo .close-button:hover {
78 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_H);
81 #apps-developer-tools-promo .close-button:active {
82 background-image: url(chrome://theme/IDR_CLOSE_DIALOG_P);
85 #extension-settings.dev-mode #dev-controls {
86 -webkit-transition-duration: 250ms;
92 #extension-settings.dev-mode.adt-promo #dev-controls {
93 height: 105px; /* Allow more height for the Apps Developer Tools promo. */
96 #dev-controls-spacer {
106 border: 1px solid #ccc;
108 font-family: monospace;
113 .extension-code > * {
117 .extension-code-line-numbers {
118 align-self: flex-start;
119 background-color: rgba(240, 240, 240, 1);
120 border-right: 1px solid #ccc;
121 color: rgba(128, 128, 128, 1);
126 #extension-settings:not(.dev-mode) .developer-extras {
130 .developer-extras > div,
131 .permanent-warnings > div {
135 #extension-settings #page-header {
136 /* These values match the .page values. */
137 -webkit-margin-end: 24px;
143 #extension-settings {
147 #no-extensions-message {
152 -webkit-padding-start: 10px;
156 background: url(chrome://theme/IDR_WEBSTORE_ICON_32) no-repeat left center;
157 background-size: 32px 32px;
161 html[dir=rtl] #footer-section {
162 background: url(chrome://theme/IDR_WEBSTORE_ICON_32) no-repeat right center;
165 #footer-section > a {
166 -webkit-margin-start: 42px;
170 .empty-extension-list {
174 .loading #no-extensions,
175 .loading #footer-section,
176 #extension-settings-list:not(.empty-extension-list) ~ #no-extensions,
177 .empty-extension-list ~ #footer-section {
181 .extension-list-item-wrapper {
185 .extension-list-item {
186 background-repeat: no-repeat;
187 display: -webkit-box;
191 .extension-list-item a {
192 -webkit-margin-start: 0.5em;
193 display: inline-block;
196 html[dir='rtl'] .extension-list-item {
197 background-position: right;
201 -webkit-padding-end: 20px;
202 color: rgb(48, 57, 66);
207 .inactive-extension .extension-title {
212 -webkit-padding-end: 7px;
217 .extension-description,
218 .corrupt-install-message {
219 -webkit-padding-end: 5px;
225 .corrupt-install-message {
226 color: rgb(196, 42, 23);
230 margin-bottom: 0.5em;
234 -webkit-margin-end: 1em;
235 -webkit-margin-start: 0;
240 -webkit-padding-end: 7px;
241 -webkit-padding-start: 55px;
244 .extension-description,
246 .extension-list-item-wrapper.inactive-extension .extension-details,
249 .enable-checkbox input:disabled + .enable-checkbox-text {
250 color: rgb(151, 156, 160);
254 /* Matches right: position of dev controls toggle. */
255 -webkit-margin-end: 20px;
259 /* We use x[is='action-link'] here so that we get higher specifity than the
260 * action link rules without resorting to the Dark Side (!IMPORTANT). */
261 .terminated-reload-link[is='action-link'],
262 .corrupted-repair-button[is='action-link'] {
263 /* Matches width of trash. */
264 -webkit-margin-end: 30px;
268 display: inline-block;
275 .extension-list-item-wrapper.inactive-extension .enabled-text,
276 .extension-list-item-wrapper:not(.inactive-extension) .enable-text,
277 .extension-list-item-wrapper.inactive-extension .optional-controls,
278 .extension-list-item-wrapper.inactive-extension .butter-bar {
283 word-wrap: break-word;
286 .terminated-reload-link,
287 .corrupted-repair-button {
288 display: inline-block;
292 .install-warnings a {
293 -webkit-margin-start: 0;
298 .extension-warnings {
305 background: rgb(255, 242, 153);
309 .extension-warnings {
313 .install-warnings ul,
314 .extension-warnings ul {
318 .error-collection-control {
319 -webkit-margin-start: 5px;
323 #extension-settings.dev-mode .error-collection-control {
327 #font-measuring-div {
328 /* Remove from the flow and hide. */
333 .extension-commands-config {
337 html[dir=rtl] .extension-commands-config {
347 #overlay .page:not(.showing) {
351 #drop-target-overlay {
352 color: rgb(48, 57, 66);
357 #drop-target-overlay div {
369 #extension-settings .trash {
370 -webkit-transition: opacity 200ms;
378 html[dir='rtl'] #extension-settings .trash {
383 .extension-list-item:not(:hover) .trash:not(:focus) {
387 .extension-list-item-wrapper.may-not-remove .trash {
391 .extension-highlight {
392 background: rgb(250, 250, 250);
394 padding: 5px 0 5px 5px;
397 /* Supervised users */
399 .page:not(.profile-is-supervised) .profile-is-supervised-banner,
400 .profile-is-supervised .more-extensions-link {
404 .profile-is-supervised-banner .page-banner-text {
405 background-image: url(chrome://theme/IDR_WARNING);
408 /* Sideload Wipeout */
410 .sideload-wipeout-learn-more {
411 text-decoration: none;
414 .sideload-wipeout-banner .page-banner-text {
415 -webkit-padding-start: 8px;
416 background-image: none;