| OLD | NEW |
| 1 /* Copyright 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright 2015 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 | 5 |
| 6 :host { | 6 :host { |
| 7 height: 100%; | 7 display: block; |
| 8 width: 100%; | 8 position: relative; |
| 9 } | 9 } |
| 10 | 10 |
| 11 core-icon[icon='warning'] { | 11 iron-icon[icon='warning'] { |
| 12 color: rgb(255, 193, 7); | 12 color: var(--google-yellow-500); |
| 13 margin: 0 15px 0 0; | 13 margin: 0 15px 0 0; |
| 14 } | 14 } |
| 15 | 15 |
| 16 :host-context(html[dir=rtl]) core-icon[icon='warning'] { | 16 :host-context(html[dir=rtl]) iron-icon[icon='warning'] { |
| 17 margin: 0 0 0 15px; | 17 margin: 0 0 0 15px; |
| 18 } | 18 } |
| 19 | 19 |
| 20 #closeButton { | 20 #closeButton { |
| 21 color: white; | 21 color: white; |
| 22 position: absolute; | 22 position: absolute; |
| 23 right: 10px; | 23 right: 10px; |
| 24 top: 10px; | 24 top: 10px; |
| 25 z-index: 1; | 25 z-index: 1; |
| 26 } | 26 } |
| 27 | 27 |
| 28 :host-context(html[dir=rtl]) #closeButton { | 28 :host-context(html[dir=rtl]) #closeButton { |
| 29 left: 10px; | 29 left: 10px; |
| 30 right: auto; | 30 right: auto; |
| 31 } | 31 } |
| OLD | NEW |