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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 -webkit-box-align: center; | 316 -webkit-box-align: center; |
317 } | 317 } |
318 | 318 |
319 list .deletable-item > :first-child { | 319 list .deletable-item > :first-child { |
320 -webkit-box-align: center; | 320 -webkit-box-align: center; |
321 -webkit-box-flex: 1; | 321 -webkit-box-flex: 1; |
322 -webkit-padding-end: 5px; | 322 -webkit-padding-end: 5px; |
323 display: -webkit-box; | 323 display: -webkit-box; |
324 } | 324 } |
325 | 325 |
326 list .close-button { | 326 list .row-delete-button { |
327 -webkit-transition: 150ms opacity; | 327 -webkit-transition: 150ms opacity; |
328 background-color: transparent; | 328 background-color: transparent; |
329 /* TODO(stuartmorgan): Replace with real images once they are available. */ | 329 /* TODO(stuartmorgan): Replace with real images once they are available. */ |
330 background-image: url('../../../../ui/resources/close_bar.png'); | 330 background-image: url('../../../../ui/resources/close_bar.png'); |
331 border: none; | 331 border: none; |
332 display: block; | 332 display: block; |
333 height: 16px; | 333 height: 16px; |
334 opacity: 1; | 334 opacity: 1; |
335 width: 16px; | 335 width: 16px; |
336 } | 336 } |
337 | 337 |
338 list > *:not(:hover):not([lead]) .close-button, | 338 list > *:not(:hover):not([lead]) .row-delete-button, |
339 list > *:not(:hover):not([selected]) .close-button, | 339 list > *:not(:hover):not([selected]) .row-delete-button, |
340 list:not([hasElementFocus]) > *:not(:hover) .close-button, | 340 list:not([hasElementFocus]) > *:not(:hover) .row-delete-button, |
341 list[disabled] .close-button, | 341 list[disabled] .row-delete-button, |
342 list .close-button[disabled] { | 342 list .row-delete-button[disabled] { |
343 opacity: 0; | 343 opacity: 0; |
344 pointer-events: none; | 344 pointer-events: none; |
345 } | 345 } |
346 | 346 |
347 list .close-button:hover { | 347 list .row-delete-button:hover { |
348 background-image: url('../../../../ui/resources/close_bar_h.png'); | 348 background-image: url('../../../../ui/resources/close_bar_h.png'); |
349 } | 349 } |
350 | 350 |
351 list .close-button:active { | 351 list .row-delete-button:active { |
352 background-image: url('../../../../ui/resources/close_bar_p.png'); | 352 background-image: url('../../../../ui/resources/close_bar_p.png'); |
353 } | 353 } |
354 | 354 |
355 list .static-text { | 355 list .static-text { |
356 overflow: hidden; | 356 overflow: hidden; |
357 text-overflow: ellipsis; | 357 text-overflow: ellipsis; |
358 white-space: nowrap; | 358 white-space: nowrap; |
359 } | 359 } |
360 | 360 |
361 list[inlineeditable] input { | 361 list[inlineeditable] input { |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); | 588 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); |
589 } | 589 } |
590 | 590 |
591 html[dir='rtl'] .controlled-setting-bubble-text { | 591 html[dir='rtl'] .controlled-setting-bubble-text { |
592 background-position: right top; | 592 background-position: right top; |
593 } | 593 } |
594 | 594 |
595 .controlled-setting-bubble-action { | 595 .controlled-setting-bubble-action { |
596 padding: 0 !important; | 596 padding: 0 !important; |
597 } | 597 } |
OLD | NEW |