All files / src/ChannelIcon ChannelIcon.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 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 2153x                                                                                                                                                                                                                                                                                                                                                                                                                                            
.varClass {
  --iconColor: var(--zdt_channelIcon_icon);
  --topIconBg: var(--zdt_channelIcon_topIcon_bg);
  --topIconColor: var(--zdt_channelIcon_topIcon_iconGreen);
  --topIconBorderColor: var(--zdt_channelIcon_topIcon_border);
}
 
.container {
  position: relative;
  composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
  vertical-align: middle;
  composes: varClass;
}
 
.thread {
  composes: dflex alignVertical alignHorizontal rounded from '~@zohodesk/components/lib/common/common.module.css';
  position: absolute;
  top: -4px;
  right: -1px;
  height: 15px;
  width: 15px;
  /* css:theme-validation:ignore */
  background-color: var(--topIconBg);
}
 
.threadBorder {
  border: 1px solid var(--topIconBorderColor);
}
 
.iconStyle {
  position: relative;
  color: var(--iconColor);
}
 
/* Channel Icon Style */
/* path */
.email_incoming span:first-child:before,
.email_outgoing span:first-child:before,
.email_missed span:first-child:before,
.email_forward span:first-child:before,
.email_forwarddraft span:first-child:before,
.facebook_incoming span:first-child:before,
.facebook_outgoing span:first-child:before,
.facebook_missed span:first-child:before,
.facebook_forward span:first-child:before,
.facebook_forwarddraft span:first-child:before,
.facebook_dm_default span:first-child:before,
.facebook_dm_incoming span:first-child:before,
.facebook_dm_outgoing span:first-child:before,
.facebook_dm_draft span:first-child:before,
.facebook_dm_forward span:first-child:before,
.facebook_dm_forwarddraft span:first-child:before,
.twitter_incoming span:first-child:before,
.twitter_outgoing span:first-child:before,
.twitter_missed span:first-child:before,
.twitter_forward span:first-child:before,
.twitter_forwarddraft span:first-child:before,
.forums_incoming span:first-child:before,
.forums_outgoing span:first-child:before,
.forums_missed span:first-child:before,
.forums_forward span:first-child:before,
.forums_forwarddraft span:first-child:before,
.chat_incoming span:first-child:before,
.chat_outgoing span:first-child:before,
.chat_missed span:first-child:before,
.chat_forward span:first-child:before,
.chat_forwarddraft span:first-child:before,
.offline_chat_incoming span:first-child:before,
.offline_chat_outgoing span:first-child:before,
.offline_chat_missed span:first-child:before,
.offline_chat_forward span:first-child:before,
.offline_chat_forwarddraft span:first-child:before,
.online_chat_incoming span:first-child:before,
.online_chat_outgoing span:first-child:before,
.online_chat_missed span:first-child:before,
.online_chat_forward span:first-child:before,
.online_chat_forwarddraft span:first-child:before,
.phone_incoming span:first-child:before,
.phone_outgoing span:first-child:before,
.phone_missed span:first-child:before,
.phone_forward span:first-child:before,
.phone_forwarddraft span:first-child:before,
.web_incoming span:first-child:before,
.web_out span:first-child:before,
.web_missed span:first-child:before,
.web_forward span:first-child:before,
.web_forwarddraft span:first-child:before,
.customerportal_incoming span:first-child:before,
.customerportal_out span:first-child:before,
.customerportal_missed span:first-child:before,
.customerportal_forward span:first-child:before,
.customerportal_forwarddraft span:first-child:before,
.feedback_default span:first-child:before,
.feedback_incoming span:first-child:before,
.feedback_out span:first-child:before,
.feedback_missed span:first-child:before,
.feedback_forward span:first-child:before,
.feedback_forwarddraft span:first-child:before {
  color: inherit;
}
 
/* Email */
.email_incoming,
.email_missed,
.email_outgoing {
  bottom: 2px;
}
 
/* twitter */
.twitter_incoming,
.twitter_outgoing,
.twitter_missed {
  bottom: 1px;
}
 
/* facebook */
.facebook_incoming,
.facebook_missed,
.facebook_outgoing {
  right: 2px;
}
 
/* chat */
.chat_incoming,
.offline_chat_incoming,
.online_chat_incoming,
.chat_missed,
.offline_chat_missed,
.online_chat_missed,
.chat_outgoing,
.offline_chat_outgoing,
.online_chat_outgoing {
  bottom: 1px;
}
 
/* forums */
.forums_default {
  top: 1px;
}
 
/* feedback */
.feedback_incoming,
.feedback_missed,
.feedback_out {
  right: 1px;
  top: 1px;
}
 
/* draft */
.email_draft,
.facebook_draft,
.twitter_draft,
.forums_draft,
.chat_draft,
.offline_chat_draft,
.online_chat_draft,
.phone_draft,
.web_draft,
.customerportal_draft,
.feedback_draft {
  left: 1px;
}
 
/* forward */
.email_forward,
.facebook_forward,
.facebook_dm_forward,
.twitter_forward,
.forums_forward,
.chat_forward,
.offline_chat_forward,
.online_chat_forward,
.phone_forward,
.web_forward,
.customerportal_forward,
.feedback_forward {
  bottom: 1px;
}
 
/* forwarddraft */
.email_forwarddraft,
.facebook_forwarddraft,
.twitter_forwarddraft,
.forums_forwarddraft,
.chat_forwarddraft,
.offline_chat_forwarddraft,
.online_chat_forwarddraft,
.phone_forwarddraft,
.web_forwarddraft,
.customerportal_forwarddraft,
.feedback_forwarddraft {
  left: 1px;
  bottom: 1px;
}
 
/* facebook_dm */
.facebook_dm_default,
.facebook_dm_incoming,
.facebook_dm_outgoing,
.facebook_dm_missed {
  right: 2px;
}
 
/*Topic Icon colors*/
.topic_olive {
  --topIconColor: var(--zdt_channelIcon_topIcon_iconGreen);
}
 
.topic_yellow3 {
  --topIconColor: var(--zdt_channelIcon_topIcon_iconYellow);
}
 
.topicIcon {
  color: var(--topIconColor);
}