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: 0;
31 #dev-controls.animated
{
32 transition: height
150ms;
35 .dev-mode #dev-controls {
36 border-bottom: 1px solid
#eee;
43 #dev-controls .button-container
{
44 -webkit-padding-end: 12px;
45 -webkit-padding-start: 12px;
50 #dev-controls button
{
54 #dev-controls .button-container
button:not
(:last-of-type
) {
55 -webkit-margin-end: 5px;
58 #dev-controls-spacer {
63 border: 1px solid
#ccc;
65 font-family: monospace
;
74 .extension-code-line-numbers {
75 align-self: flex-start
;
76 background-color: rgba
(240, 240, 240, 1);
77 border-right: 1px solid
#ccc;
78 color: rgba
(128, 128, 128, 1);
83 .extension-code-empty {
84 background-color: #eee;
85 display: inline-block
;
86 line-height: 100px; /* Vertically centers text and serves as min-height. */
91 .extension-details
> .developer-extras
> div
,
92 .extension-details > .permanent-warnings > div {
96 .dependent-extensions-message
,
97 .suspicious-install-message {
101 #page-header > .page-banner
> .page-banner-gradient
{
102 -webkit-margin-end: 0;
106 /* Reserve enough space to match .location-text + .trash */
111 html
[dir
='rtl'] #header-controls
{
116 #page-header > h1::after
{
117 -webkit-margin-end: 0;
120 #extension-settings #page-header
{
121 /* These values match the .page values. */
122 -webkit-margin-end: 24px;
128 #extension-settings {
132 #no-extensions-message {
141 -webkit-padding-start: 10px;
145 background: url
(chrome://theme
/IDR_WEBSTORE_ICON_32
) no-repeat left center
;
146 background-size: 32px 32px;
148 margin: 24px 12px 12px 12px;
151 html
[dir
=rtl
] #footer-section
{
152 background: url
(chrome://theme
/IDR_WEBSTORE_ICON_32
) no-repeat right center
;
155 #footer-section > a
{
156 -webkit-margin-start: 42px;
160 .extension-list-item-wrapper {
165 .extension-list-item {
166 background-repeat: no-repeat
;
167 background-size: 48px 48px;
168 display: -webkit-box
;
172 .extension-list-item a {
173 -webkit-margin-start: 0.5em;
174 display: inline-block
;
177 html
[dir
='rtl'] .extension-list-item
{
178 background-position-x: 100%;
182 -webkit-padding-end: 20px;
183 color: rgb
(48, 57, 66);
189 .inactive-extension .extension-title {
194 -webkit-padding-end: 7px;
199 .extension-description
,
200 .corrupt-install-message {
201 -webkit-padding-end: 5px;
207 .corrupt-install-message {
208 color: rgb
(196, 42, 23);
212 margin-bottom: 0.5em;
216 -webkit-margin-end: 1em;
217 -webkit-margin-start: 0;
220 .action-links .errors-link {
222 display: inline-flex
;
223 vertical-align: bottom
;
228 -webkit-padding-end: 7px;
229 -webkit-padding-start: 60px;
233 .extension-description
,
235 .extension-list-item-wrapper
.inactive-extension
.extension-details
,
238 .enable-checkbox input:disabled + .enable-checkbox-text {
239 color: rgb
(115, 119, 122);
243 /* Matches right: position of dev controls toggle. */
244 -webkit-margin-end: 0;
248 .enable-controls > .controlled-setting-indicator {
252 .enable-controls > .controlled-setting-indicator > div {
257 /* We use x[is='action-link'] here so that we get higher specifity than the
258 * action link rules without resorting to the Dark Side (!IMPORTANT). */
259 .terminated-reload-link
[is
='action-link'],
260 .corrupted-repair-button[is='action-link'] {
261 /* Matches width of trash. */
262 -webkit-margin-end: 30px;
266 display: inline-block
;
273 .extension-list-item-wrapper
.inactive-extension
.enabled-text
,
274 .extension-list-item-wrapper:not
(.inactive-extension
) .enable-text
,
275 .extension-list-item-wrapper
.inactive-extension
.optional-controls
,
276 .extension-list-item-wrapper.inactive-extension .butter-bar {
280 .optional-controls .checkbox {
281 -webkit-margin-end: 12px;
285 word-wrap: break-word
;
288 .terminated-reload-link
,
289 .corrupted-repair-button {
290 display: inline-block
;
294 .install-warnings a {
295 -webkit-margin-start: 0;
300 .extension-warnings {
308 background: rgb
(255, 242, 153);
312 .extension-warnings {
316 .install-warnings ul
,
317 .extension-warnings ul {
321 .error-collection-control {
322 -webkit-margin-start: 5px;
325 #extension-settings:not
(.dev-mode
) .developer-extras
,
326 #extension-settings:not
(.dev-mode
) .error-collection-control
{
330 #font-measuring-div {
331 /* Remove from the flow and hide. */
336 .extension-commands-config {
340 html
[dir
=rtl
] .extension-commands-config
{
350 #overlay .page:not
(.showing
) {
354 #drop-target-overlay {
355 color: rgb
(48, 57, 66);
360 #drop-target-overlay div
{
371 /* Reserve enough space to match .location-text */
377 #extension-settings .trash
{
383 transition: opacity
200ms;
387 html
[dir
='rtl'] #extension-settings
.trash
{
392 .extension-list-item:not(:hover) .trash:not(:focus) {
396 .extension-list-item-wrapper.may-not-remove .trash {
400 /* In case the extension is policy controlled the trash icon must be hidden by
401 * setting display:none rather than only setting visibility:hidden to completely
402 * remove it from the layout and make space for the controlled indicator.
403 * TODO(cschuet): rather than hide always replace it with something meaningful.
405 .extension-list-item-wrapper.controlled .trash {
409 /* Supervised users */
411 .page:not
(.profile-is-supervised
) .profile-is-supervised-banner
,
412 .profile-is-supervised .more-extensions-link {
416 .profile-is-supervised-banner .page-banner-text {
417 background-image: url
(chrome://theme
/IDR_WARNING
);
420 /* Sideload Wipeout */
422 .sideload-wipeout-learn-more {
423 text-decoration: none
;
426 .sideload-wipeout-banner .page-banner-text {
427 -webkit-padding-start: 8px;
428 background-image: none
;
431 .extension-highlight {
432 background-color: rgba
(0, 0, 0, .05);