Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #main-content { | 1 #main-content { |
| 2 display: -webkit-box; | 2 display: -webkit-box; |
| 3 position: absolute; | 3 position: absolute; |
| 4 left: 0; | 4 left: 0; |
| 5 right: 0; | 5 right: 0; |
| 6 top: 0; | 6 top: 0; |
| 7 bottom: 0; | 7 bottom: 0; |
| 8 } | 8 } |
| 9 | 9 |
| 10 #mainview { | 10 #mainview { |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 138 .raw-button:active { | 138 .raw-button:active { |
| 139 -webkit-box-shadow: none; | 139 -webkit-box-shadow: none; |
| 140 background-color: transparent; | 140 background-color: transparent; |
| 141 background-repeat: no-repeat; | 141 background-repeat: no-repeat; |
| 142 border: none; | 142 border: none; |
| 143 min-width: 0; | 143 min-width: 0; |
| 144 padding: 1px 6px; | 144 padding: 1px 6px; |
| 145 } | 145 } |
| 146 | 146 |
| 147 .close-subpage { | 147 .close-subpage { |
| 148 background-image: url('chrome://theme/IDR_CLOSE_BAR'); | 148 background-image: url('../../../../ui/resources/close_bar.png'); |
| 149 height: 16px; | 149 height: 16px; |
| 150 min-width: 0; | 150 min-width: 0; |
| 151 position: relative; | 151 position: relative; |
| 152 top: 16px; | 152 top: 16px; |
| 153 width: 16px; | 153 width: 16px; |
| 154 } | 154 } |
| 155 | 155 |
| 156 .close-subpage:hover { | 156 .close-subpage:hover { |
| 157 background-image: url('chrome://theme/IDR_CLOSE_BAR_H'); | 157 background-image: url('../../../../ui/resources/close_bar_h.png'); |
| 158 } | 158 } |
| 159 | 159 |
| 160 .close-subpage:active { | 160 .close-subpage:active { |
| 161 background-image: url('chrome://theme/IDR_CLOSE_BAR_P'); | 161 background-image: url('../../../../ui/resources/close_bar_p.png'); |
|
Evan Stade
2012/01/20 00:43:15
why did you do this as opposed to updating ThemeDa
| |
| 162 } | 162 } |
| 163 | 163 |
| 164 html[dir='ltr'] .close-subpage { | 164 html[dir='ltr'] .close-subpage { |
| 165 float: right; | 165 float: right; |
| 166 right: 20px; | 166 right: 20px; |
| 167 } | 167 } |
| 168 | 168 |
| 169 html[dir='rtl'] .close-subpage { | 169 html[dir='rtl'] .close-subpage { |
| 170 float: left; | 170 float: left; |
| 171 left: 20px; | 171 left: 20px; |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 456 -webkit-box-align: center; | 456 -webkit-box-align: center; |
| 457 -webkit-box-flex: 1; | 457 -webkit-box-flex: 1; |
| 458 -webkit-padding-end: 5px; | 458 -webkit-padding-end: 5px; |
| 459 display: -webkit-box; | 459 display: -webkit-box; |
| 460 } | 460 } |
| 461 | 461 |
| 462 list .close-button { | 462 list .close-button { |
| 463 -webkit-transition: 150ms opacity; | 463 -webkit-transition: 150ms opacity; |
| 464 background-color: transparent; | 464 background-color: transparent; |
| 465 /* TODO(stuartmorgan): Replace with real images once they are available. */ | 465 /* TODO(stuartmorgan): Replace with real images once they are available. */ |
| 466 background-image: url("../../../app/theme/close_bar.png"); | 466 background-image: url("../../../../ui/resources/close_bar.png"); |
| 467 border: none; | 467 border: none; |
| 468 display: block; | 468 display: block; |
| 469 height: 16px; | 469 height: 16px; |
| 470 opacity: 1; | 470 opacity: 1; |
| 471 width: 16px; | 471 width: 16px; |
| 472 } | 472 } |
| 473 | 473 |
| 474 list > *:not(:hover):not([lead]) .close-button, | 474 list > *:not(:hover):not([lead]) .close-button, |
| 475 list > *:not(:hover):not([selected]) .close-button, | 475 list > *:not(:hover):not([selected]) .close-button, |
| 476 list:not([hasElementFocus]) > *:not(:hover) .close-button, | 476 list:not([hasElementFocus]) > *:not(:hover) .close-button, |
| 477 list[disabled] .close-button, | 477 list[disabled] .close-button, |
| 478 list .close-button[disabled] { | 478 list .close-button[disabled] { |
| 479 opacity: 0; | 479 opacity: 0; |
| 480 pointer-events: none; | 480 pointer-events: none; |
| 481 } | 481 } |
| 482 | 482 |
| 483 list .close-button:hover { | 483 list .close-button:hover { |
| 484 background-image: url("../../../app/theme/close_bar_h.png"); | 484 background-image: url("../../../../ui/resources/close_bar_h.png"); |
| 485 } | 485 } |
| 486 | 486 |
| 487 list .close-button:active { | 487 list .close-button:active { |
| 488 background-image: url("../../../app/theme/close_bar_p.png"); | 488 background-image: url("../../../../ui/resources/close_bar_p.png"); |
| 489 } | 489 } |
| 490 | 490 |
| 491 list .static-text { | 491 list .static-text { |
| 492 overflow: hidden; | 492 overflow: hidden; |
| 493 text-overflow: ellipsis; | 493 text-overflow: ellipsis; |
| 494 white-space: nowrap; | 494 white-space: nowrap; |
| 495 } | 495 } |
| 496 | 496 |
| 497 list[inlineeditable] input { | 497 list[inlineeditable] input { |
| 498 box-sizing: border-box; | 498 box-sizing: border-box; |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 724 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); | 724 url('chrome://theme/IDR_CONTROLLED_SETTING_RECOMMENDED_LARGE'); |
| 725 } | 725 } |
| 726 | 726 |
| 727 html[dir='rtl'] .controlled-setting-bubble-text { | 727 html[dir='rtl'] .controlled-setting-bubble-text { |
| 728 background-position: right top; | 728 background-position: right top; |
| 729 } | 729 } |
| 730 | 730 |
| 731 .controlled-setting-bubble-action { | 731 .controlled-setting-bubble-action { |
| 732 padding: 0 !important; | 732 padding: 0 !important; |
| 733 } | 733 } |
| OLD | NEW |