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 -webkit-user-select: text
;
184 color: rgb
(48, 57, 66);
190 .inactive-extension .extension-title {
195 -webkit-padding-end: 7px;
200 .extension-description
,
201 .corrupt-install-message {
202 -webkit-padding-end: 5px;
208 .corrupt-install-message {
209 color: rgb
(196, 42, 23);
213 margin-bottom: 0.5em;
217 -webkit-margin-end: 1em;
218 -webkit-margin-start: 0;
221 .action-links .errors-link {
223 display: inline-flex
;
224 vertical-align: bottom
;
229 -webkit-padding-end: 7px;
230 -webkit-padding-start: 60px;
234 .extension-description
,
236 .extension-list-item-wrapper
.inactive-extension
.extension-details
,
239 .enable-checkbox input:disabled + .enable-checkbox-text {
240 color: rgb
(115, 119, 122);
244 /* Matches right: position of dev controls toggle. */
245 -webkit-margin-end: 0;
249 .enable-controls > .controlled-setting-indicator {
253 .enable-controls > .controlled-setting-indicator > div {
258 /* We use x[is='action-link'] here so that we get higher specifity than the
259 * action link rules without resorting to the Dark Side (!IMPORTANT). */
260 .terminated-reload-link
[is
='action-link'],
261 .corrupted-repair-button[is='action-link'] {
262 /* Matches width of trash. */
263 -webkit-margin-end: 30px;
267 display: inline-block
;
274 .extension-list-item-wrapper
.inactive-extension
.enabled-text
,
275 .extension-list-item-wrapper:not
(.inactive-extension
) .enable-text
,
276 .extension-list-item-wrapper
.inactive-extension
.optional-controls
,
277 .extension-list-item-wrapper.inactive-extension .butter-bar {
281 .optional-controls .checkbox {
282 -webkit-margin-end: 12px;
286 word-wrap: break-word
;
289 .terminated-reload-link
,
290 .corrupted-repair-button {
291 display: inline-block
;
295 .install-warnings a {
296 -webkit-margin-start: 0;
301 .extension-warnings {
309 background: rgb
(255, 242, 153);
313 .extension-warnings {
317 .install-warnings ul
,
318 .extension-warnings ul {
322 .error-collection-control {
323 -webkit-margin-start: 5px;
326 #extension-settings:not
(.dev-mode
) .developer-extras
,
327 #extension-settings:not
(.dev-mode
) .error-collection-control
{
331 #font-measuring-div {
332 /* Remove from the flow and hide. */
337 .extension-commands-config {
341 html
[dir
=rtl
] .extension-commands-config
{
351 #overlay .page:not
(.showing
) {
355 #drop-target-overlay {
356 color: rgb
(48, 57, 66);
361 #drop-target-overlay div
{
372 /* Reserve enough space to match .location-text */
378 #extension-settings .trash
{
384 transition: opacity
200ms;
388 html
[dir
='rtl'] #extension-settings
.trash
{
393 .extension-list-item:not(:hover) .trash:not(:focus) {
397 .extension-list-item-wrapper.may-not-remove .trash {
401 /* In case the extension is policy controlled the trash icon must be hidden by
402 * setting display:none rather than only setting visibility:hidden to completely
403 * remove it from the layout and make space for the controlled indicator.
404 * TODO(cschuet): rather than hide always replace it with something meaningful.
406 .extension-list-item-wrapper.controlled .trash {
410 /* Supervised users */
412 .page:not
(.profile-is-supervised
) .profile-is-supervised-banner
,
413 .profile-is-supervised .more-extensions-link {
417 .profile-is-supervised-banner .page-banner-text {
418 background-image: url
(../../../../ui/webui/resources/images/warning.svg);
421 /* Sideload Wipeout */
423 .sideload-wipeout-learn-more {
424 text-decoration: none
;
427 .sideload-wipeout-banner .page-banner-text {
428 -webkit-padding-start: 8px;
429 background-image: none
;
432 .extension-highlight {
433 background-color: rgba
(0, 0, 0, .05);