NaCl: Update revision in DEPS, r12770 -> r12773
[chromium-blink-merge.git] / chrome / browser / resources / extensions / extensions.css
blob4bece460aec8d03dc98f3890f14aee5a93c0f175
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 -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);
15 .no-scroll {
16 overflow-y: hidden;
19 /* Developer mode */
21 #dev-controls {
22 -webkit-margin-end: 20px;
23 -webkit-transition: padding 100ms, height 100ms, opacity 100ms;
24 border-bottom: 1px solid #eee;
25 height: 0;
26 opacity: 0;
27 overflow: hidden;
30 #dev-controls .buttons-container {
31 -webkit-padding-end: 3px;
32 -webkit-padding-start: 4px;
35 #dev-controls .buttons-container {
36 display: -webkit-box;
37 padding-top: 13px;
40 #dev-controls button {
41 white-space: nowrap;
44 #extension-settings.dev-mode #dev-controls {
45 -webkit-transition-duration: 250ms;
46 height: 45px;
47 opacity: 1;
48 padding-bottom: 7px;
51 #dev-controls-spacer {
52 -webkit-box-flex: 1;
55 #dev-toggle {
56 margin-top: 0;
57 text-align: end;
60 #extension-settings:not(.dev-mode) .developer-extras {
61 display: none;
64 .developer-extras > div,
65 .permanent-warnings > div {
66 margin: 5px 0;
69 #extension-settings #page-header {
70 /* These values match the .page values. */
71 -webkit-margin-end: 24px;
72 min-width: 576px;
75 /* Contents */
77 #extension-settings {
78 max-width: 738px;
81 #no-extensions-message {
82 font-weight: bold;
85 #suggest-gallery {
86 -webkit-padding-start: 10px;
89 #footer-section {
90 background: url('chrome://theme/IDR_WEBSTORE_ICON_32') no-repeat left center;
91 font-size: 1.25em;
94 html[dir=rtl] #footer-section {
95 background: url('chrome://theme/IDR_WEBSTORE_ICON_32') no-repeat right center;
98 #footer-section > a {
99 -webkit-margin-start: 42px;
100 line-height: 32px;
103 .empty-extension-list {
104 height: 3em;
107 .loading #no-extensions,
108 .loading #footer-section,
109 #extension-settings-list:not(.empty-extension-list) ~ #no-extensions,
110 .empty-extension-list ~ #footer-section {
111 display: none;
114 .extension-list-item-wrapper {
115 margin: 23px 0;
118 .extension-list-item {
119 background-repeat: no-repeat;
120 display: -webkit-box;
121 min-height: 48px;
124 html[dir='rtl'] .extension-list-item {
125 background-position: right;
128 .extension-title {
129 -webkit-padding-end: 20px;
130 color: rgb(48, 57, 66);
131 font-size: 14px;
132 font-weight: 500;
135 .inactive-extension .extension-title {
136 color: inherit;
139 .extension-version {
140 -webkit-padding-end: 7px;
141 font-size: 13px;
142 font-weight: 400;
145 .extension-description {
146 -webkit-padding-end: 5px;
147 font-size: 13px;
148 margin: 5px 0;
149 white-space: normal;
152 .extension-details {
153 -webkit-box-flex: 1;
154 -webkit-padding-start: 55px;
157 .extension-description,
158 .extension-list-item-wrapper.inactive-extension .extension-details,
159 .location-text,
160 .blacklist-text,
161 .enable-checkbox input:disabled + .enable-checkbox-text {
162 color: rgb(151, 156, 160);
165 .enable-controls {
166 /* Matches right: position of dev controls toggle. */
167 -webkit-margin-end: 20px;
168 position: relative;
171 .enable-checkbox-text {
172 /* Matches width of trash. */
173 -webkit-margin-end: 30px;
176 .checkbox {
177 display: inline-block;
180 .enabled-text {
181 font-weight: bold;
184 .extension-list-item-wrapper.inactive-extension .enabled-text,
185 .extension-list-item-wrapper:not(.inactive-extension) .enable-text,
186 .extension-list-item-wrapper.inactive-extension .optional-controls,
187 .extension-list-item-wrapper.inactive-extension .butter-bar {
188 display: none;
191 .load-path > span {
192 word-wrap: break-word;
195 .terminated-reload-link {
196 -webkit-margin-end: 2.5em;
197 padding-top: 7px;
200 .extension-list-item a {
201 -webkit-margin-start: 0.5em;
202 display: inline-block;
205 .install-warnings a {
206 -webkit-margin-start: 0;
209 .butter-bar,
210 .install-warnings,
211 .extension-warnings {
212 border-radius: 3px;
213 margin-top: 5px;
214 padding: 2px 5px;
217 .butter-bar {
218 background: rgb(255, 242, 153);
221 .install-warnings,
222 .extension-warnings {
223 background: pink;
226 .install-warnings ul,
227 .extension-warnings ul {
228 margin: 0;
231 #font-measuring-div {
232 /* Remove from the flow and hide. */
233 position: absolute;
234 visibility: hidden;
237 .extension-commands-config {
238 float: right;
241 html[dir=rtl] .extension-commands-config {
242 float: left;
245 /* Overlays */
247 #overlay {
248 z-index: 5;
251 #overlay .page:not(.showing) {
252 display: none;
255 #drop-target-overlay {
256 color: rgb(48, 57, 66);
257 font-size: 18px;
258 text-align: center;
261 #drop-target-overlay div {
262 margin: 1em;
265 .location-text,
266 .blacklist-text {
267 display: block;
268 width: 100px;
271 /* Trash */
273 #extension-settings .trash {
274 -webkit-transition: opacity 200ms;
275 height: 22px;
276 opacity: 0.8;
277 position: absolute;
278 right: 0;
279 top: 3px;
280 vertical-align: middle;
283 html[dir='rtl'] #extension-settings .trash {
284 left: 0;
285 right: auto;
288 .extension-list-item:not(:hover) .trash:not(:focus) {
289 opacity: 0;
292 .extension-list-item-wrapper.may-not-remove .trash {
293 visibility: hidden;
296 .extension-highlight {
297 background: rgb(238, 238, 238);
298 background-position: auto;
299 background-repeat: auto;
300 border-radius: 3px;
301 padding: 5px 0 5px 5px;
304 .may-not-modify .optional-controls .optional-controls-disableable {
305 display: none;
308 /* Managed mode */
310 .page:not(.profile-is-managed) .profile-is-managed-banner,
311 .profile-is-managed .more-extensions-link {
312 display: none;
315 .profile-is-managed-banner .page-banner-text {
316 background-image: url('chrome://theme/IDR_WARNING');
319 /* Sideload Wipeout */
321 .sideload-wipeout-learn-more {
322 text-decoration: none;
325 .sideload-wipeout-banner .page-banner-text {
326 -webkit-padding-start: 8px;
327 background-image: none;