summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/devtools/front_end/console/consolePinPane.css
blob: c71d0e75eadb2a2e80d61a8cab44f2471ed7d0b9 (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
/*
 * Copyright 2018 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.
 */

.console-pins {
  overflow-y: auto;
  background: var(--toolbar-bg-color);
}

.console-pins:not(:empty) {
  border-bottom: 1px solid var(--divider-color);
  padding: 5px 28px 0 24px;
}

.console-pin {
  margin-bottom: 2px;
  position: relative;
  user-select: text;
  flex: none;
  padding-bottom: 6px;
}

.console-pin:not(:last-child) {
  border-bottom: 1px solid #e4e4e4;
}

.console-pin-name {
  margin-left: -4px;
  margin-bottom: 1px;
  height: auto;
}

.console-pin-name,
.console-pin-preview {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-delete-pin {
  position: absolute;
  top: 6px;
  left: -16px;
  opacity: 0.5;
  cursor: pointer;
}

.console-delete-pin:hover {
  opacity: 1;
}

.console-pin-name:focus-within {
  background: #fff;
  box-shadow: var(--focus-ring-active-shadow);
}

.console-pin-name:not(:focus-within):not(:hover) {
  opacity: 0.6;
}