All files / src/version2/notification/DesktopNotificationHeader DesktopNotificationHeader.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 97 98 99 100 1012x                                                                                                                                                                                                        
.varClass {
  --commonalert_border_color: var(--zdt_commonalert_default_border);
}
 
.container {
  composes: varClass;
  min-height: 54px;
  position: relative;
  background-color: var(--alert_lookup_bg_color);
  border-style: solid;
  border-color: var(--commonalert_border_color);
  border-width: 2px 0 0 0;
  color: var(--zdt_desktopnotification_text);
}
 
.title {
  margin: 0 5px 0 10px;
  composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
}
 
.infoText {
  max-width: 100%;
}
 
/* Palette */
 
.success {
  --commonalert_border_color: var(--zdt_commonalert_success_border);
}
 
.info,
.notification,
.alarm {
  --commonalert_border_color: var(--zdt_commonalert_info_border);
}
 
.danger,.error {
  --commonalert_border_color: var(--zdt_commonalert_danger_border);
}
 
 
 
.warning {
  --commonalert_border_color: var(--zdt_commonalert_warning_border);
}
 
.primary {
  --commonalert_border_color: var(--zdt_commonalert_primary_border);
}
 
 
 
/* Primary Header */
.primary_header {
  padding: 15px 45px 0 20px;
}
 
.primary_header .iconContainer {
  height: 51px;
  width: 51px;
}
 
.primary_header .infoText {
  line-height: 1;
}
 
.primary_header .close {
  position: absolute;
  top: 12px;
  right: 12px;
}
 
/* Secondary Header */
.secondary_header {
  padding: 18px 70px 19px 75px;
  border-radius: 0 0 var(--zd_size10) var(--zd_size10);
  composes: wbreak from '~@zohodesk/components/lib/common/common.module.css';
}
 
.secondary_header .infoText {
  line-height: 1.4286;
}
 
.secondary_header .iconContainer {
  height: 44px;
  width: 44px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  margin: auto 0;
}
 
.secondary_header .close {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 12px;
  margin: auto 0 auto 25px;
  height: 25px;
}