ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / chrome / browser / resources / extensions / extensions.css
blobfc3a4bc3dcac936d134a4d2a4f27cd04c8901c4f
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 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);
15 .no-scroll {
16 overflow-y: hidden;
19 #extension-settings.showing-banner {
20 margin-top: 45px;
23 /* Developer mode */
25 #dev-controls {
26 -webkit-margin-end: 20px;
27 height: 0;
28 overflow: hidden;
31 #dev-controls.animated {
32 transition: height 150ms;
35 .dev-mode #dev-controls {
36 border-bottom: 1px solid #eee;
39 #dev-controls > * {
40 padding: 8px 3px;
43 #dev-controls .button-container {
44 display: flex;
45 flex-wrap: wrap;
48 #dev-controls button {
49 white-space: nowrap;
52 #dev-controls .button-container button:not(:last-of-type) {
53 -webkit-margin-end: 5px;
56 #apps-developer-tools-promo {
57 align-items: center;
58 border-top: 1px solid #eee;
59 display: flex;
60 font-size: 13px;
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);
67 margin-bottom: -5px;
68 margin-top: -5px;
71 #apps-developer-tools-promo-close-wrapper {
72 display: flex;
73 flex-grow: 1;
74 justify-content: flex-end;
77 #apps-developer-tools-promo .close-button {
78 background: url(chrome://theme/IDR_CLOSE_DIALOG) no-repeat center center;
79 border: 0;
80 height: 14px;
81 width: 14px;
82 z-index: 1;
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 {
94 flex: 1;
97 #dev-toggle {
98 margin-top: 0;
99 text-align: end;
102 .extension-code {
103 border: 1px solid #ccc;
104 display: flex;
105 font-family: monospace;
106 overflow: auto;
107 white-space: pre;
110 .extension-code > * {
111 padding: 3px;
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);
119 flex-shrink: 0;
120 text-align: right;
123 .developer-extras > div,
124 .permanent-warnings > div {
125 margin: 5px 0;
128 #extension-settings #page-header {
129 /* These values match the .page values. */
130 -webkit-margin-end: 24px;
131 min-width: 576px;
134 /* Contents */
136 #extension-settings {
137 max-width: 738px;
140 #no-extensions-message {
141 font-weight: bold;
144 #suggest-gallery {
145 -webkit-padding-start: 10px;
148 #footer-section {
149 background: url(chrome://theme/IDR_WEBSTORE_ICON_32) no-repeat left center;
150 background-size: 32px 32px;
151 font-size: 1.25em;
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;
160 line-height: 32px;
163 .empty-extension-list {
164 height: 3em;
167 .loading #no-extensions,
168 .loading #footer-section,
169 #extension-settings-list:not(.empty-extension-list) ~ #no-extensions,
170 .empty-extension-list ~ #footer-section {
171 display: none;
174 .extension-list-item-wrapper {
175 margin: 23px 0;
178 .extension-list-item {
179 background-repeat: no-repeat;
180 display: -webkit-box;
181 min-height: 48px;
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;
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 .corrupt-install-message {
212 -webkit-padding-end: 5px;
213 font-size: 13px;
214 margin: 5px 0;
215 white-space: normal;
218 .corrupt-install-message {
219 color: rgb(196, 42, 23);
222 .action-links {
223 margin-bottom: 0.5em;
226 .action-links a {
227 -webkit-margin-end: 1em;
228 -webkit-margin-start: 0;
231 .extension-details {
232 -webkit-box-flex: 1;
233 -webkit-padding-end: 7px;
234 -webkit-padding-start: 55px;
237 .extension-description,
238 .extension-version,
239 .extension-list-item-wrapper.inactive-extension .extension-details,
240 .location-text,
241 .blacklist-text,
242 .enable-checkbox input:disabled + .enable-checkbox-text {
243 color: rgb(115, 119, 122);
246 .enable-controls {
247 /* Matches right: position of dev controls toggle. */
248 -webkit-margin-end: 20px;
249 position: relative;
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;
260 .checkbox {
261 display: inline-block;
264 .enabled-text {
265 font-weight: bold;
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 {
272 display: none;
275 .load-path > span {
276 word-wrap: break-word;
279 .terminated-reload-link,
280 .corrupted-repair-button {
281 display: inline-block;
282 padding-top: 7px;
285 .install-warnings a {
286 -webkit-margin-start: 0;
289 .butter-bar,
290 .install-warnings,
291 .extension-warnings {
292 border-radius: 3px;
293 margin-top: 5px;
294 padding: 2px 5px;
297 .butter-bar {
298 background: rgb(255, 242, 153);
301 .install-warnings,
302 .extension-warnings {
303 background: pink;
306 .install-warnings ul,
307 .extension-warnings ul {
308 margin: 0;
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 {
317 display: none;
320 #font-measuring-div {
321 /* Remove from the flow and hide. */
322 position: absolute;
323 visibility: hidden;
326 .extension-commands-config {
327 float: right;
330 html[dir=rtl] .extension-commands-config {
331 float: left;
334 /* Overlays */
336 #overlay {
337 z-index: 5;
340 #overlay .page:not(.showing) {
341 display: none;
344 #drop-target-overlay {
345 color: rgb(48, 57, 66);
346 font-size: 18px;
347 text-align: center;
350 #drop-target-overlay div {
351 margin: 1em;
354 .location-text,
355 .blacklist-text {
356 display: block;
357 width: 100px;
360 /* Trash */
362 #extension-settings .trash {
363 height: 22px;
364 opacity: 0.8;
365 position: relative;
366 right: 0;
367 top: 6px;
368 transition: opacity 200ms;
371 html[dir='rtl'] #extension-settings .trash {
372 left: 0;
373 right: auto;
376 .extension-list-item:not(:hover) .trash:not(:focus) {
377 opacity: 0;
380 .extension-list-item-wrapper.may-not-remove .trash {
381 visibility: hidden;
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 {
390 display: none;
393 .extension-highlight {
394 background: rgb(250, 250, 250);
395 border-radius: 3px;
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 {
403 display: none;
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;