| 1 |
.charitable-notif-badge { |
| 2 |
display: none; |
| 3 |
font-size: 10px; |
| 4 |
font-weight: 700; |
| 5 |
text-transform: uppercase; |
| 6 |
letter-spacing: 0.05em; |
| 7 |
padding: 2px 7px; |
| 8 |
border-radius: 20px; |
| 9 |
line-height: 1.6; |
| 10 |
margin-right: 6px; |
| 11 |
} |
| 12 |
.charitable-notif-badge--announcement { |
| 13 |
background: #f8cdb0; |
| 14 |
color: #9e3510; |
| 15 |
} |
| 16 |
.charitable-notif-badge--critical { |
| 17 |
background: #fcd0d0; |
| 18 |
color: #b02020; |
| 19 |
} |
| 20 |
.charitable-notif-badge--warning { |
| 21 |
background: #fde8a0; |
| 22 |
color: #7a5000; |
| 23 |
} |
| 24 |
.charitable-notif-badge--success { |
| 25 |
background: #c6eeca; |
| 26 |
color: #0a5c1e; |
| 27 |
} |
| 28 |
.charitable-notif-badge--info { |
| 29 |
background: #c5daf5; |
| 30 |
color: #1a5298; |
| 31 |
} |
| 32 |
.charitable-notif-badge--nudge { |
| 33 |
background: #dcdde0; |
| 34 |
color: #3c4147; |
| 35 |
} |
| 36 |
|
| 37 |
.charitable-notif-tour-step[class*=shepherd-element] { |
| 38 |
max-width: 320px !important; |
| 39 |
width: 320px !important; |
| 40 |
} |
| 41 |
|
| 42 |
.shepherd.tippy-popper[x-placement^=bottom] .shepherd-has-title .tippy-arrow, |
| 43 |
.shepherd.tippy-popper[x-placement^=top] .shepherd-has-title .tippy-arrow, |
| 44 |
.shepherd.tippy-popper[x-placement^=left] .shepherd-has-title .tippy-arrow, |
| 45 |
.shepherd.tippy-popper[x-placement^=right] .shepherd-has-title .tippy-arrow { |
| 46 |
border-top-color: #E38632 !important; |
| 47 |
border-bottom-color: #E38632 !important; |
| 48 |
border-left-color: #E38632 !important; |
| 49 |
border-right-color: #E38632 !important; |
| 50 |
} |
| 51 |
|
| 52 |
.charitable-notif-tour-step [class*=shepherd-header] { |
| 53 |
background: #E38632 !important; |
| 54 |
padding: 12px 16px !important; |
| 55 |
border-radius: 4px 4px 0 0; |
| 56 |
} |
| 57 |
|
| 58 |
.charitable-notif-tour-step [class*=shepherd-title] { |
| 59 |
color: #fff !important; |
| 60 |
font-size: 14px !important; |
| 61 |
font-weight: 600 !important; |
| 62 |
} |
| 63 |
|
| 64 |
.charitable-notif-tour-step [class*=shepherd-cancel-icon] { |
| 65 |
color: rgba(255, 255, 255, 0.8) !important; |
| 66 |
} |
| 67 |
.charitable-notif-tour-step [class*=shepherd-cancel-icon]:hover { |
| 68 |
color: #fff !important; |
| 69 |
} |
| 70 |
|
| 71 |
.charitable-notif-tour-step [class*=shepherd-text] { |
| 72 |
font-size: 13px !important; |
| 73 |
line-height: 1.5 !important; |
| 74 |
color: #1d2327 !important; |
| 75 |
text-align: left !important; |
| 76 |
padding: 12px 16px 6px !important; |
| 77 |
} |
| 78 |
|
| 79 |
.charitable-notif-tour-step [class*=shepherd-footer] { |
| 80 |
padding: 6px 16px 10px !important; |
| 81 |
gap: 8px; |
| 82 |
justify-content: flex-end; |
| 83 |
} |
| 84 |
|
| 85 |
.charitable-tour-btn-primary, |
| 86 |
.charitable-tour-btn-skip { |
| 87 |
text-transform: none !important; |
| 88 |
letter-spacing: 0 !important; |
| 89 |
} |
| 90 |
|
| 91 |
.charitable-tour-btn-primary { |
| 92 |
background: #E38632 !important; |
| 93 |
color: #fff !important; |
| 94 |
border: none !important; |
| 95 |
border-radius: 3px !important; |
| 96 |
padding: 6px 14px !important; |
| 97 |
font-size: 13px !important; |
| 98 |
font-weight: 600 !important; |
| 99 |
cursor: pointer !important; |
| 100 |
transition: background 0.15s !important; |
| 101 |
} |
| 102 |
.charitable-tour-btn-primary:hover { |
| 103 |
background: #c97428 !important; |
| 104 |
} |
| 105 |
|
| 106 |
.charitable-tour-btn-skip { |
| 107 |
background: none !important; |
| 108 |
color: #a7aaad !important; |
| 109 |
border: none !important; |
| 110 |
padding: 6px 8px !important; |
| 111 |
font-size: 13px !important; |
| 112 |
font-weight: 400 !important; |
| 113 |
cursor: pointer !important; |
| 114 |
transition: color 0.15s !important; |
| 115 |
} |
| 116 |
.charitable-tour-btn-skip:hover { |
| 117 |
color: #50575e !important; |
| 118 |
} |
| 119 |
|
| 120 |
.charitable-notif-tour-step:not(.charitable-notif-tour-step--white) .tippy-arrow { |
| 121 |
margin-left: 10px !important; |
| 122 |
} |
| 123 |
|
| 124 |
.shepherd.tippy-popper[x-placement^=left] .shepherd-has-title .tippy-arrow { |
| 125 |
border-left-color: #fff !important; |
| 126 |
} |
| 127 |
|
| 128 |
.charitable-notif-stat { |
| 129 |
color: #00a32a; |
| 130 |
font-weight: 700; |
| 131 |
} |
| 132 |
|
| 133 |
.charitable-icon-compliance { |
| 134 |
color: #bf6000 !important; |
| 135 |
} |
| 136 |
|
| 137 |
.charitable-icon-milestone { |
| 138 |
color: #00a32a; |
| 139 |
} |
| 140 |
|
| 141 |
.charitable-icon-lifecycle { |
| 142 |
color: #2271b1; |
| 143 |
} |
| 144 |
|
| 145 |
.charitable-icon-celebration { |
| 146 |
color: #00a32a; |
| 147 |
} |
| 148 |
|
| 149 |
.charitable-icon-nudge { |
| 150 |
color: #757575; |
| 151 |
} |
| 152 |
|
| 153 |
.charitable-icon-announcement { |
| 154 |
color: #E38632; |
| 155 |
} |
| 156 |
|
| 157 |
.charitable-plugin-notifications .notification-menu .notification-cards { |
| 158 |
padding: 0 !important; |
| 159 |
} |
| 160 |
|
| 161 |
.charitable-notification { |
| 162 |
margin-bottom: 0 !important; |
| 163 |
padding: 18px 24px !important; |
| 164 |
border-bottom: 1px solid #d5d5d5; |
| 165 |
position: relative; |
| 166 |
} |
| 167 |
.charitable-notification:last-child { |
| 168 |
border-bottom: none; |
| 169 |
} |
| 170 |
.charitable-notification > .charitable-notification-card-inner { |
| 171 |
border-bottom: none !important; |
| 172 |
padding-bottom: 0 !important; |
| 173 |
} |
| 174 |
|
| 175 |
.charitable-notification-card-inner { |
| 176 |
position: relative; |
| 177 |
} |
| 178 |
|
| 179 |
.charitable-notif-dismiss-x { |
| 180 |
position: absolute; |
| 181 |
top: 8px; |
| 182 |
right: 8px; |
| 183 |
display: flex; |
| 184 |
align-items: center; |
| 185 |
justify-content: center; |
| 186 |
width: 20px; |
| 187 |
height: 20px; |
| 188 |
color: #a7aaad; |
| 189 |
text-decoration: none; |
| 190 |
border-radius: 50%; |
| 191 |
transition: color 0.15s, background 0.15s; |
| 192 |
} |
| 193 |
.charitable-notif-dismiss-x:hover { |
| 194 |
color: #50575e; |
| 195 |
background: #f0f0f1; |
| 196 |
} |
| 197 |
|
| 198 |
.charitable-notification .body { |
| 199 |
margin-top: 0 !important; |
| 200 |
padding-top: 0 !important; |
| 201 |
} |
| 202 |
|
| 203 |
.charitable-notification .body .title { |
| 204 |
margin-top: 0 !important; |
| 205 |
padding-top: 0 !important; |
| 206 |
} |
| 207 |
|
| 208 |
.charitable-notification .body h4 { |
| 209 |
font-size: 18px !important; |
| 210 |
font-weight: 600 !important; |
| 211 |
line-height: 1.3 !important; |
| 212 |
margin: 0 !important; |
| 213 |
padding: 0 32px 0 0 !important; |
| 214 |
color: inherit !important; |
| 215 |
} |
| 216 |
|
| 217 |
.charitable-notification .body .notification-content { |
| 218 |
margin-top: 4px !important; |
| 219 |
padding-top: 0 !important; |
| 220 |
} |
| 221 |
|
| 222 |
.notif-meta { |
| 223 |
display: flex; |
| 224 |
align-items: center; |
| 225 |
flex-wrap: wrap; |
| 226 |
gap: 4px; |
| 227 |
margin-bottom: 2px; |
| 228 |
} |
| 229 |
|
| 230 |
.notif-count-pill { |
| 231 |
display: inline-block; |
| 232 |
background: rgba(255, 255, 255, 0.25); |
| 233 |
border-radius: 20px; |
| 234 |
padding: 0 8px; |
| 235 |
font-size: 13px; |
| 236 |
font-weight: 600; |
| 237 |
margin-left: 4px; |
| 238 |
} |
| 239 |
|
| 240 |
.notification-header-actions { |
| 241 |
display: flex; |
| 242 |
align-items: center; |
| 243 |
gap: 8px; |
| 244 |
margin-left: auto; |
| 245 |
} |
| 246 |
|
| 247 |
.charitable-notif-gear-btn, |
| 248 |
.charitable-notif-close-btn { |
| 249 |
background: none; |
| 250 |
border: none; |
| 251 |
color: rgba(255, 255, 255, 0.75); |
| 252 |
cursor: pointer; |
| 253 |
padding: 4px; |
| 254 |
line-height: 1; |
| 255 |
transition: color 0.15s, background 0.15s; |
| 256 |
display: flex; |
| 257 |
align-items: center; |
| 258 |
justify-content: center; |
| 259 |
border-radius: 4px; |
| 260 |
} |
| 261 |
.charitable-notif-gear-btn:hover, |
| 262 |
.charitable-notif-close-btn:hover { |
| 263 |
color: #fff; |
| 264 |
background: rgba(255, 255, 255, 0.15); |
| 265 |
} |
| 266 |
|
| 267 |
.charitable-notif-gear-btn svg { |
| 268 |
width: 18px; |
| 269 |
height: 18px; |
| 270 |
} |
| 271 |
.charitable-notif-gear-btn[aria-expanded=true] { |
| 272 |
color: #fff; |
| 273 |
} |
| 274 |
|
| 275 |
.charitable-notif-settings-panel { |
| 276 |
background: #fff; |
| 277 |
border-bottom: 1px solid #e5e5e5; |
| 278 |
padding: 14px 16px; |
| 279 |
} |
| 280 |
|
| 281 |
.charitable-notif-settings-label { |
| 282 |
font-size: 14px; |
| 283 |
font-weight: 400; |
| 284 |
text-transform: none; |
| 285 |
letter-spacing: 0; |
| 286 |
color: #1d2327; |
| 287 |
margin: 0 0 10px; |
| 288 |
} |
| 289 |
|
| 290 |
.charitable-notif-toggle-grid { |
| 291 |
display: grid; |
| 292 |
grid-template-columns: 1fr 1fr; |
| 293 |
gap: 0; |
| 294 |
} |
| 295 |
|
| 296 |
.charitable-notif-toggle-row { |
| 297 |
display: flex; |
| 298 |
align-items: center; |
| 299 |
justify-content: flex-start; |
| 300 |
gap: 10px; |
| 301 |
padding: 8px 6px; |
| 302 |
border-bottom: 1px solid #f0f0f1; |
| 303 |
font-size: 13px; |
| 304 |
color: #1d2327; |
| 305 |
cursor: pointer; |
| 306 |
} |
| 307 |
.charitable-notif-toggle-row:nth-last-child(-n+2) { |
| 308 |
border-bottom: none; |
| 309 |
} |
| 310 |
|
| 311 |
.charitable-notif-toggle-label { |
| 312 |
flex: 1; |
| 313 |
} |
| 314 |
|
| 315 |
.charitable-notif-toggle { |
| 316 |
position: relative; |
| 317 |
width: 48px; |
| 318 |
height: 26px; |
| 319 |
flex-shrink: 0; |
| 320 |
} |
| 321 |
.charitable-notif-toggle input { |
| 322 |
opacity: 0; |
| 323 |
width: 0; |
| 324 |
height: 0; |
| 325 |
position: absolute; |
| 326 |
} |
| 327 |
.charitable-notif-toggle-slider { |
| 328 |
position: absolute; |
| 329 |
inset: 0; |
| 330 |
background: #c3c4c7; |
| 331 |
border-radius: 26px; |
| 332 |
cursor: pointer; |
| 333 |
transition: background 0.2s; |
| 334 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); |
| 335 |
} |
| 336 |
.charitable-notif-toggle-slider::before { |
| 337 |
content: ""; |
| 338 |
position: absolute; |
| 339 |
width: 20px; |
| 340 |
height: 20px; |
| 341 |
left: 3px; |
| 342 |
top: 3px; |
| 343 |
background: #fff; |
| 344 |
border-radius: 50%; |
| 345 |
transition: transform 0.2s; |
| 346 |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); |
| 347 |
} |
| 348 |
.charitable-notif-toggle input:checked + .charitable-notif-toggle-slider { |
| 349 |
background: #2271b1; |
| 350 |
} |
| 351 |
.charitable-notif-toggle input:checked + .charitable-notif-toggle-slider::before { |
| 352 |
transform: translateX(22px); |
| 353 |
} |
| 354 |
.charitable-notif-toggle input:focus + .charitable-notif-toggle-slider { |
| 355 |
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 0 2px #2271b1; |
| 356 |
} |
| 357 |
|
| 358 |
/* Notification timestamp */ |
| 359 |
.charitable-notification-date { |
| 360 |
display: block; |
| 361 |
font-size: 11px; |
| 362 |
font-weight: 400; |
| 363 |
color: rgba(25, 29, 45, 0.45); |
| 364 |
margin-bottom: 3px; |
| 365 |
line-height: 1.4; |
| 366 |
} |
| 367 |
|
| 368 |
/*# sourceMappingURL=notifications-v2.css.map */ |
| 369 |
|
| 370 |
/* Welcome intro card (rendered above the empty state when 0 active notifications). @since 1.8.12 */ |
| 371 |
.charitable-icon-intro { |
| 372 |
color: #2271b1; |
| 373 |
} |
| 374 |
|
| 375 |
.charitable-notification.charitable-notification-intro { |
| 376 |
cursor: default; |
| 377 |
} |
| 378 |
.charitable-notification.charitable-notification-intro:hover { |
| 379 |
background: inherit !important; |
| 380 |
} |
| 381 |
.charitable-notification.charitable-notification-intro .body h4 { |
| 382 |
color: #2271b1; |
| 383 |
} |
| 384 |
|
| 385 |
.charitable-notif-inline-gear { |
| 386 |
display: inline-block; |
| 387 |
vertical-align: -1px; |
| 388 |
width: 12px; |
| 389 |
height: 12px; |
| 390 |
color: #50575e; |
| 391 |
margin: 0 1px; |
| 392 |
} |
| 393 |
|
| 394 |
/* Empty-state card ("You're all caught up!"). @since 1.8.12 */ |
| 395 |
.charitable-icon-empty { |
| 396 |
color: #00a32a; |
| 397 |
} |
| 398 |
|
| 399 |
.charitable-notification.charitable-notification-empty { |
| 400 |
background: transparent !important; |
| 401 |
cursor: default; |
| 402 |
} |
| 403 |
.charitable-notification.charitable-notification-empty:hover { |
| 404 |
background: transparent !important; |
| 405 |
} |
| 406 |
.charitable-notification.charitable-notification-empty .charitable-notification-card-inner { |
| 407 |
align-items: center; |
| 408 |
} |
| 409 |
.charitable-notification.charitable-notification-empty .notif-left .icon svg { |
| 410 |
width: 28px; |
| 411 |
height: 28px; |
| 412 |
} |
| 413 |
.charitable-notification.charitable-notification-empty .body h4 { |
| 414 |
margin: 0 0 4px; |
| 415 |
color: #1d2327; |
| 416 |
} |
| 417 |
.charitable-notification.charitable-notification-empty .body .notification-content p { |
| 418 |
margin: 0; |
| 419 |
color: #646970; |
| 420 |
} |
| 421 |
|
| 422 |
/* Notification card primary action button. @since 1.8.12 */ |
| 423 |
.charitable-notification .button.button-primary { |
| 424 |
line-height: 2.5 !important; |
| 425 |
} |
| 426 |
|