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 :host { | 5 :host { |
6 -webkit-user-select: none; | 6 -webkit-user-select: none; |
7 bottom: 0; | 7 bottom: 0; |
8 padding: 48px 0; | 8 padding: 48px 0; |
9 position: fixed; | 9 position: fixed; |
10 right: 0; | 10 right: 0; |
11 z-index: 3; | 11 z-index: 3; |
12 } | 12 } |
13 | 13 |
| 14 :host-context([dir=rtl]) { |
| 15 left: 0; |
| 16 right: auto; |
| 17 } |
| 18 |
14 viewer-zoom-button { | 19 viewer-zoom-button { |
15 display: block; | 20 display: block; |
16 } | 21 } |
17 | 22 |
18 /* A small gap between the zoom in/zoom out buttons. */ | 23 /* A small gap between the zoom in/zoom out buttons. */ |
19 #zoom-out-button { | 24 #zoom-out-button { |
20 margin-top: 10px; | 25 margin-top: 10px; |
21 } | 26 } |
22 | 27 |
23 /* A larger gap between the fit button and bottom two buttons. */ | 28 /* A larger gap between the fit button and bottom two buttons. */ |
24 #zoom-in-button { | 29 #zoom-in-button { |
25 margin-top: 24px; | 30 margin-top: 24px; |
26 } | 31 } |
OLD | NEW |