-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
87 lines (74 loc) · 1.81 KB
/
Copy pathstyles.css
File metadata and controls
87 lines (74 loc) · 1.81 KB
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
79
80
81
82
83
84
85
86
87
.obnotion-block-wrapper {
position: relative;
padding-left: 32px;
margin-left: -32px;
border-radius: 8px;
transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.obnotion-block-wrapper:hover {
background-color: var(--background-secondary, rgba(130, 130, 130, 0.08));
box-shadow: inset 0 0 0 1px var(--background-modifier-border, rgba(120, 120, 120, 0.4));
}
.obnotion-block-wrapper.is-obnotion-dragging {
opacity: 0.6;
}
.obnotion-block-wrapper.obnotion-drop-before::before,
.obnotion-block-wrapper.obnotion-drop-after::after {
content: '';
position: absolute;
left: 16px;
right: 8px;
height: 2px;
background: var(--interactive-accent, #4a8cff);
border-radius: 1px;
}
.obnotion-block-wrapper.obnotion-drop-before::before {
top: -4px;
}
.obnotion-block-wrapper.obnotion-drop-after::after {
bottom: -4px;
}
.obnotion-block-handle {
position: absolute;
top: 12px;
left: 8px;
width: 16px;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
cursor: grab;
color: var(--text-muted);
opacity: 0;
user-select: none;
touch-action: none;
transition: opacity 0.12s ease;
}
.obnotion-block-handle:active {
cursor: grabbing;
}
.obnotion-block-wrapper:hover .obnotion-block-handle,
.obnotion-block-wrapper:focus-within .obnotion-block-handle,
.obnotion-block-wrapper.is-obnotion-dragging .obnotion-block-handle {
opacity: 1;
}
.obnotion-block-handle:focus-visible {
outline: 2px solid var(--interactive-accent, #4a8cff);
outline-offset: 2px;
}
.obnotion-block-handle span::before,
.obnotion-block-handle span::after {
content: '\22EE';
font-size: 14px;
line-height: 1;
display: block;
}
.obnotion-block-content > * {
margin-top: 0 !important;
}
.obnotion-block-content {
width: 100%;
}
.obnotion-block-content .dataview {
width: 100%;
}