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 font-size: 18px; | 7 font-size: 18px; |
8 height: 100%; | 8 height: 100%; |
9 overflow: hidden; | 9 overflow: hidden; |
10 width: 100%; | 10 width: 100%; |
11 } | 11 } |
12 | 12 |
13 #backButton { | 13 #backButton { |
14 color: rgb(255, 255, 255); | 14 color: white; |
15 left: 0; | 15 left: 10px; |
16 position: absolute; | 16 position: absolute; |
17 top: 0; | 17 top: 10px; |
18 z-index: 1; | 18 z-index: 1; |
19 } | 19 } |
20 | 20 |
21 :host-context(html[dir=rtl]) #backButton { | 21 :host-context(html[dir=rtl]) #backButton { |
22 left: auto; | 22 left: auto; |
23 right: 0; | 23 right: 10px; |
24 transform: scaleX(-1); | 24 transform: scaleX(-1); |
25 } | 25 } |
OLD | NEW |