OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 body { | 5 body { |
6 position: relative; | 6 position: relative; |
7 } | 7 } |
8 | 8 |
9 #main-content { | 9 #main-content { |
10 bottom: 0; | 10 bottom: 0; |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 -webkit-box-flex: 1; | 270 -webkit-box-flex: 1; |
271 -webkit-padding-end: 5px; | 271 -webkit-padding-end: 5px; |
272 display: -webkit-box; | 272 display: -webkit-box; |
273 } | 273 } |
274 | 274 |
275 list .row-delete-button { | 275 list .row-delete-button { |
276 -webkit-transition: 150ms opacity; | 276 -webkit-transition: 150ms opacity; |
277 background-color: transparent; | 277 background-color: transparent; |
278 /* TODO(stuartmorgan): Replace with real images once they are available. */ | 278 /* TODO(stuartmorgan): Replace with real images once they are available. */ |
279 background-image: -webkit-image-set( | 279 background-image: -webkit-image-set( |
280 url('../../../../ui/resources/default_100_percent/close_bar.png') 1x, | 280 url('../../../../ui/resources/default_100_percent/close_2.png') 1x, |
281 url('../../../../ui/resources/default_200_percent/close_bar.png') 2x); | 281 url('../../../../ui/resources/default_200_percent/close_2.png') 2x); |
282 border: none; | 282 border: none; |
283 display: block; | 283 display: block; |
284 height: 16px; | 284 height: 16px; |
285 opacity: 1; | 285 opacity: 1; |
286 width: 16px; | 286 width: 16px; |
287 } | 287 } |
288 | 288 |
289 list > *:not(:hover):not([selected]):not([lead]) .row-delete-button, | 289 list > *:not(:hover):not([selected]):not([lead]) .row-delete-button, |
290 list:not([hasElementFocus]) > *:not(:hover):not([selected]) .row-delete-button, | 290 list:not([hasElementFocus]) > *:not(:hover):not([selected]) .row-delete-button, |
291 list[disabled] .row-delete-button, | 291 list[disabled] .row-delete-button, |
292 list .row-delete-button[disabled] { | 292 list .row-delete-button[disabled] { |
293 opacity: 0; | 293 opacity: 0; |
294 pointer-events: none; | 294 pointer-events: none; |
295 } | 295 } |
296 | 296 |
297 /* HostedApp entries use the disabled closing button to display the App's | 297 /* HostedApp entries use the disabled closing button to display the App's |
298 * favicon, as an indicator that instead of deleting the permission here | 298 * favicon, as an indicator that instead of deleting the permission here |
299 * the user has to remove the hosted app.*/ | 299 * the user has to remove the hosted app.*/ |
300 list div[role='listitem'][managedby='HostedApp'] .row-delete-button { | 300 list div[role='listitem'][managedby='HostedApp'] .row-delete-button { |
301 opacity: 1; | 301 opacity: 1; |
302 } | 302 } |
303 | 303 |
304 list .row-delete-button:hover { | 304 list .row-delete-button:hover { |
305 background-image: -webkit-image-set( | 305 background-image: -webkit-image-set( |
306 url('../../../../ui/resources/default_100_percent/close_bar_hover.png') | 306 url('../../../../ui/resources/default_100_percent/close_2_hover.png') 1x, |
307 1x, | 307 url('../../../../ui/resources/default_200_percent/close_2_hover.png') 2x); |
308 url('../../../../ui/resources/default_200_percent/close_bar_hover.png') | |
309 2x); | |
310 } | 308 } |
311 | 309 |
312 list .row-delete-button:active { | 310 list .row-delete-button:active { |
313 background-image: -webkit-image-set( | 311 background-image: -webkit-image-set( |
314 url('../../../../ui/resources/default_100_percent/close_bar_pressed.png') | 312 url('../../../../ui/resources/default_100_percent/close_2_pressed.png') |
315 1x, | 313 1x, |
316 url('../../../../ui/resources/default_200_percent/close_bar_pressed.png') | 314 url('../../../../ui/resources/default_200_percent/close_2_pressed.png') |
317 2x); | 315 2x); |
318 } | 316 } |
319 | 317 |
320 list .static-text { | 318 list .static-text { |
321 overflow: hidden; | 319 overflow: hidden; |
322 text-overflow: ellipsis; | 320 text-overflow: ellipsis; |
323 white-space: nowrap; | 321 white-space: nowrap; |
324 } | 322 } |
325 | 323 |
326 list[type='text'][inlineeditable] input { | 324 list[type='text'][inlineeditable] input { |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
541 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); | 539 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); |
542 } | 540 } |
543 | 541 |
544 html[dir='rtl'] .controlled-setting-bubble-content { | 542 html[dir='rtl'] .controlled-setting-bubble-content { |
545 background-position: right top; | 543 background-position: right top; |
546 } | 544 } |
547 | 545 |
548 .controlled-setting-bubble-action { | 546 .controlled-setting-bubble-action { |
549 padding: 0 !important; | 547 padding: 0 !important; |
550 } | 548 } |
OLD | NEW |