All files / src/avatar/AvatarCollision AvatarCollision.module.css

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 561x                                                                                                              
.container {
  position: relative;
  composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
  vertical-align: middle;
  border-radius: 50%;
  padding: 2px;
}
.on {
  border: 1px solid var(--zdt_avatarcollision_on_border);
}
.off {
  border: 1px solid var(--zdt_avatarcollision_off_border);
}
.idle {
  composes: on;
  opacity: 0.4;
}
.pop {
  position: absolute;
  composes: rounded from '~@zohodesk/components/lib/common/common.module.css';
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: opacity var(--zd_transition2);
  transform: translateZ(0);
  background-color: var(--zdt_avatarcollision_pop_bg);
  color: var(--zdt_avatarcollision_pop_text);
}
.icon {
  position: absolute;
  line-height: 0;
  composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
  color: var(--zdt_avatarcollision_icon_text);
  font-size: 13px;
}
.container:hover .pop {
  opacity: 1;
  visibility: visible;
}
 
.off::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 4px;
  border: 1px solid var(--zdt_avatarcollision_off_after_border);
  left: -5px;
  right: -5px;
  transform: translateY(-50%) rotate(130deg);
  background-color: var(--zdt_avatarcollision_off_after_bg);
}