summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/pdf/elements/viewer-zoom-toolbar/viewer-zoom-button.css
blob: c9bb1896f964af0b94381c0205fccb1522b2af1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* Copyright 2015 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

#wrapper {
  transition: transform 250ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

:host([closed]) #wrapper {
  transform: translateX(100%);
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

:host-context([dir=rtl]):host([closed]) #wrapper {
  transform: translateX(-100%);
}

paper-fab {
  --paper-fab-keyboard-focus-background: var(--viewer-icon-ink-color);
  --paper-fab-mini: {
    height: 36px;
    padding: 8px;
    width: 36px;
  };
  @apply(--shadow-elevation-4dp);
  background-color: rgb(242, 242, 242);
  color: rgb(96, 96, 96);
  margin: 0 48px;
  overflow: visible;
}