summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/trace-viewer/src/ui/mouse_mode_selector.css
blob: cd30aa6a71a5c9f9ab9dd79a974ee196021a390e (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* Copyright (c) 2013 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.
 */

.mouse-mode-selector {

  -webkit-user-drag: element;
  -webkit-user-select: none;

  background: #DDD;
  border: 1px solid #BBB;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  left: calc(100% - 120px);
  position: absolute;
  top: 100px;
  user-select: none;
  width: 29px;
  z-index: 20;
}

.mouse-mode-selector .drag-handle {
  background: url(../images/ui-states.png) 2px 3px no-repeat;
  background-repeat: no-repeat;
  border-bottom: 1px solid #BCBCBC;
  cursor: move;
  display: block;
  height: 13px;
  width: 27px;
}

.mouse-mode-selector .pan-scan-mode-button {
  background-image: url(../images/ui-states.png);
  background-position: 0 -10px;
}

.mouse-mode-selector .pan-scan-mode-button.active {
  background-position: -30px -10px;
}

.mouse-mode-selector .selection-mode-button {
  background-image: url(../images/ui-states.png);
  background-position: 0 -40px;
}

.mouse-mode-selector .selection-mode-button.active {
  background-position: -30px -40px;
}

.mouse-mode-selector .zoom-mode-button {
  background-image: url(../images/ui-states.png);
  background-position: 0 -70px;
}

.mouse-mode-selector .zoom-mode-button.active {
  background-position: -30px -70px;
}

.mouse-mode-selector .timing-mode-button {
  background-image: url(../images/ui-states.png);
  background-position: 0 -100px;
  border-bottom: none;
}

.mouse-mode-selector .timing-mode-button.active {
  background-position: -30px -100px;
}

.mouse-mode-selector .rotate-mode-button {
  background-image: url(../images/ui-states.png);
  background-position: 0 -130px;
  border-bottom: none;
}

.mouse-mode-selector .rotate-mode-button.active {
  background-position: -30px -130px;
}