File size: 1,467 Bytes
74aacd5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
$positiveBackgroundColor: rgba(21, 215, 121, 0.936);
$positiveOutline: 6px solid rgba(98, 255, 179, 0.31);

$negativeBackgroundColor: rgba(237, 49, 55, 0.942);
$negativeOutline: 6px solid rgba(255, 89, 95, 0.31);

.interactive-seg-wrapper {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;

  .click-item {
    position: absolute;
    height: 8px;
    width: 8px;
    border-radius: 50%;
  }
  .click-item-positive {
    background-color: $positiveBackgroundColor;
    outline: $positiveOutline;
  }

  .click-item-negative {
    background-color: $negativeBackgroundColor;
    outline: $negativeOutline;
  }
}

.interactive-seg-confirm-actions {
  position: absolute;
  top: 68px;
  z-index: 5;
  background-color: var(--page-bg);
  border-radius: 16px;
  border-style: solid;
  border-color: var(--border-color);
  border-width: 1px;
  padding: 8px;

  .action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 14px rgba(21, 215, 121, 0);
  }
}

.interactive-seg-cursor {
  position: absolute;
  height: 20px;
  width: 20px;
  pointer-events: none;
  color: hsla(137, 100%, 95.8%, 0.98);
  border-radius: 50%;
  background-color: $positiveBackgroundColor;
  // outline: $positiveOutline;
  box-shadow: 0 0 0 0 rgba(21, 215, 121, 0.936);
  animation: pulse 1.5s infinite cubic-bezier(0.66, 0, 0, 1);
}