File size: 860 Bytes
f2bee8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import "../../css/colors.css";
@import "../../css/units.css";

/* wrapper to allow for touch slop if we decide to add it */
.delete-button {
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    cursor: pointer;
    transition: all 0.15s ease-out;
}

.delete-button-visible {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;  /* Mask the icon animation */
  width: 1.75rem;
  height: 1.75rem;
  box-shadow: 0px 0px 0px 2px $motion-transparent;
  background-color: $motion-primary;
  color: $ui-white;
  border-radius: 50%;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  user-select: none;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.delete-icon {
    position: relative;
    margin: 0.25rem;
    user-select: none;
    transform-origin: 50%;
}