All files / src/Message Message.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 701x                                                                                                                                          
.message {
  position: absolute;
  top: 0;
  z-index: 1000;
  /*Hook for editor alert*/
  right: 0;
  text-align: center;
  left: 0;
  pointer-events: none;
}
 
.container {
  padding: 13px 10px 13px 50px;
  box-shadow: var(--zd_bs_message_container);
  border-radius: 0 0 5px 5px;
  position: relative;
  background: var(--zdt_message_default_bg);
  display: inline-block;
  pointer-events: initial;
}
 
.text {
  max-width: 480px;
  display: inline-block;
  word-break: break-word;
  font-size: 14px;
  vertical-align: middle;
  text-align: left;
}
 
.icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  display: inline-block;
  border-bottom-left-radius: 5px;
  height: 100%;
}
 
.success {
  composes: icon;
  background: var(--zdt_message_success_bg);
}
 
.alert {
  composes: icon;
  background: var(--zdt_message_alert_bg);
}
 
.info {
  composes: icon;
  background: var(--zdt_message_info_bg);
}
 
.tickIcn {
  color: var(--zdt_message_tickicon);
  font-size: 16px;
  position: absolute;
  composes: middleBoth from '~@zohodesk/components/lib/common/common.module.css';
}
 
.close {
  color: var(--zdt_message_close_text);
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}