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 transition-duration: 0ms !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);
19 #extension-settings.showing-banner
{
26 -webkit-margin-end: 20px;
31 #dev-controls.animated
{
32 transition: height
150ms;
35 .dev-mode #dev-controls {
36 border-bottom: 1px solid
#eee;
43 #dev-controls .button-container
{
48 #dev-controls button
{
52 #dev-controls .button-container
button:not
(:last-of-type
) {
53 -webkit-margin-end: 5px;
56 #apps-developer-tools-promo {
58 border-top: 1px solid
#eee;
63 #apps-developer-tools-promo img
{
64 -webkit-margin-end: 5px;
65 -webkit-margin-start: -5px;
66 content: url
(apps_developer_tools_promo_48.png);
71 #apps-developer-tools-promo-close-wrapper {
74 justify-content: flex-end
;
77 #apps-developer-tools-promo .close-button
{
78 background: url
(chrome://theme
/IDR_CLOSE_DIALOG
) no-repeat center center
;
85 #apps-developer-tools-promo .close-button:hover
{
86 background-image: url
(chrome://theme
/IDR_CLOSE_DIALOG_H
);
89 #apps-developer-tools-promo .close-button:active
{
90 background-image: url
(chrome://theme
/IDR_CLOSE_DIALOG_P
);
93 #dev-controls-spacer {
103 border: 1px solid
#ccc;
105 font-family: monospace
;
110 .extension-code > * {
114 .extension-code-line-numbers {
115 align-self: flex-start
;
116 background-color: rgba
(240, 240, 240, 1);
117 border-right: 1px solid
#ccc;
118 color: rgba
(128, 128, 128, 1);
123 .developer-extras
> div
,
124 .permanent-warnings > div {
128 #extension-settings #page-header
{
129 /* These values match the .page values. */
130 -webkit-margin-end: 24px;
136 #extension-settings {
140 #no-extensions-message {
145 -webkit-padding-start: 10px;
149 background: url
(chrome://theme
/IDR_WEBSTORE_ICON_32
) no-repeat left center
;
150 background-size: 32px 32px;
154 html
[dir
=rtl
] #footer-section
{
155 background: url
(chrome://theme
/IDR_WEBSTORE_ICON_32
) no-repeat right center
;
158 #footer-section > a
{
159 -webkit-margin-start: 42px;
163 .empty-extension-list {
167 .loading #no-extensions
,
168 .loading #footer-section
,
169 #extension-settings-list:not
(.empty-extension-list
) ~ #no-extensions
,
170 .empty-extension-list ~ #footer-section {
174 .extension-list-item-wrapper {
178 .extension-list-item {
179 background-repeat: no-repeat
;
180 display: -webkit-box
;
184 .extension-list-item a {
185 -webkit-margin-start: 0.5em;
186 display: inline-block
;
189 html
[dir
='rtl'] .extension-list-item
{
190 background-position: right
;
194 -webkit-padding-end: 20px;
195 color: rgb
(48, 57, 66);
200 .inactive-extension .extension-title {
205 -webkit-padding-end: 7px;
210 .extension-description
,
211 .corrupt-install-message {
212 -webkit-padding-end: 5px;
218 .corrupt-install-message {
219 color: rgb
(196, 42, 23);
223 margin-bottom: 0.5em;
227 -webkit-margin-end: 1em;
228 -webkit-margin-start: 0;
233 -webkit-padding-end: 7px;
234 -webkit-padding-start: 55px;
237 .extension-description
,
239 .extension-list-item-wrapper
.inactive-extension
.extension-details
,
242 .enable-checkbox input:disabled + .enable-checkbox-text {
243 color: rgb
(115, 119, 122);
247 /* Matches right: position of dev controls toggle. */
248 -webkit-margin-end: 20px;
252 /* We use x[is='action-link'] here so that we get higher specifity than the
253 * action link rules without resorting to the Dark Side (!IMPORTANT). */
254 .terminated-reload-link
[is
='action-link'],
255 .corrupted-repair-button[is='action-link'] {
256 /* Matches width of trash. */
257 -webkit-margin-end: 30px;
261 display: inline-block
;
268 .extension-list-item-wrapper
.inactive-extension
.enabled-text
,
269 .extension-list-item-wrapper:not
(.inactive-extension
) .enable-text
,
270 .extension-list-item-wrapper
.inactive-extension
.optional-controls
,
271 .extension-list-item-wrapper.inactive-extension .butter-bar {
276 word-wrap: break-word
;
279 .terminated-reload-link
,
280 .corrupted-repair-button {
281 display: inline-block
;
285 .install-warnings a {
286 -webkit-margin-start: 0;
291 .extension-warnings {
298 background: rgb
(255, 242, 153);
302 .extension-warnings {
306 .install-warnings ul
,
307 .extension-warnings ul {
311 .error-collection-control {
312 -webkit-margin-start: 5px;
315 #extension-settings:not
(.dev-mode
) .developer-extras
,
316 #extension-settings:not
(.dev-mode
) .error-collection-control
{
320 #font-measuring-div {
321 /* Remove from the flow and hide. */
326 .extension-commands-config {
330 html
[dir
=rtl
] .extension-commands-config
{
340 #overlay .page:not
(.showing
) {
344 #drop-target-overlay {
345 color: rgb
(48, 57, 66);
350 #drop-target-overlay div
{
362 #extension-settings .trash
{
368 transition: opacity
200ms;
371 html
[dir
='rtl'] #extension-settings
.trash
{
376 .extension-list-item:not(:hover) .trash:not(:focus) {
380 .extension-list-item-wrapper.may-not-remove .trash {
384 /* In case the extension is policy controlled the trash icon must be hidden by
385 * setting display:none rather than only setting visibility:hidden to completely
386 * remove it from the layout and make space for the controlled indicator.
387 * TODO(cschuet): rather than hide always replace it with something meaningful.
389 .extension-list-item-wrapper.policy-controlled .trash {
393 .extension-highlight {
394 background: rgb
(250, 250, 250);
396 padding: 5px 0 5px 5px;
399 /* Supervised users */
401 .page:not
(.profile-is-supervised
) .profile-is-supervised-banner
,
402 .profile-is-supervised .more-extensions-link {
406 .profile-is-supervised-banner .page-banner-text {
407 background-image: url
(chrome://theme
/IDR_WARNING
);
410 /* Sideload Wipeout */
412 .sideload-wipeout-learn-more {
413 text-decoration: none
;
416 .sideload-wipeout-banner .page-banner-text {
417 -webkit-padding-start: 8px;
418 background-image: none
;