Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-toolbar.css

Issue 1364163002: Material PDF: Support RTL languages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698