All files / src/avatar/AvatarStatus AvatarStatus.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 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 88 89 90 91 92 93 94 95 96 971x                                                                                                                                                                                                
.container {
  position: relative;
  composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
  vertical-align: middle;
}
.state {
  position: absolute;
  composes: rounded from '~@zohodesk/components/lib/common/common.module.css';
  display: inline-block;
}
.circle.state {
  border: 1px solid var(--zdt_avatarstatus_size_border);
}
.small.square.state,
.xsmall.square.state {
  border: 1px solid var(--zdt_avatarstatus_size_border);
}
.medium.square.state,
.xmedium.square.state,
.large.square.state,
.xlarge.square.state {
  border: 2px solid var(--zdt_avatarstatus_size_border);
}
.online {
  background-color: var(--zdt_avatarstatus_online_bg);
  composes: state;
}
 
.offline {
  background-color: var(--zdt_avatarstatus_offline_bg);
  composes: state;
}
.idle {
  background-color: var(--zdt_avatarstatus_idle_bg);
  composes: state;
}
 
.small.state,
.xsmall.state {
  width: 7px;
  height: 7px;
}
.medium.state,
.xmedium.state {
  width: 9px;
  height: 9px;
}
.large.state,
.xlarge.state {
  width: 12px;
  height: 12px;
}
 
.small.circle.state {
  bottom: 1px;
  right: -1px;
}
.xsmall.circle.state {
  bottom: 3px;
  right: 0;
}
.medium.circle.state,
.xmedium.circle.state {
  bottom: 3px;
  right: 0;
}
.large.circle.state {
  bottom: 7px;
  right: 1px;
}
.xlarge.circle.state {
  bottom: 6px;
  right: 8px;
}
 
.small.square.state {
  bottom: -1px;
  right: -1px;
}
.xsmall.square.state {
  bottom: -1px;
  right: -2px;
}
.medium.square.state,
.xmedium.square.state {
  bottom: -2px;
  right: -4px;
}
.large.square.state {
  bottom: -2px;
  right: -5px;
}
.xlarge.square.state {
  bottom: -3px;
  right: -5px;
}