| 1 |
|
| 2 |
.snackbarContainer { |
| 3 |
position: fixed; |
| 4 |
z-index: 9999; |
| 5 |
bottom: 10px; |
| 6 |
display: flex; |
| 7 |
flex-direction: column-reverse; |
| 8 |
gap: 10px; |
| 9 |
width: 300px; |
| 10 |
left: 50%; |
| 11 |
transform: translateY(-50%); |
| 12 |
|
| 13 |
.snackbar { |
| 14 |
gap: 20px; |
| 15 |
display: flex; |
| 16 |
flex-direction: row; |
| 17 |
border-radius: var(--givewp-spacing-1); |
| 18 |
padding: var(--givewp-spacing-3) var(--givewp-spacing-4); |
| 19 |
box-shadow: 0 5px 5px #b6b6b6; |
| 20 |
align-items: center; |
| 21 |
justify-content: space-between; |
| 22 |
|
| 23 |
a { |
| 24 |
color: #fff; |
| 25 |
padding: 0; |
| 26 |
line-height: 0.5; |
| 27 |
text-decoration: none; |
| 28 |
} |
| 29 |
} |
| 30 |
|
| 31 |
.type-error-snackbar { |
| 32 |
background-color: #dc1e1e; |
| 33 |
color: #fff; |
| 34 |
} |
| 35 |
|
| 36 |
.type-info-snackbar { |
| 37 |
background-color: #000; |
| 38 |
color: #fff; |
| 39 |
} |
| 40 |
|
| 41 |
.type-warning-snackbar { |
| 42 |
background-color: #f29718; |
| 43 |
color: #1a0f00; |
| 44 |
|
| 45 |
a { |
| 46 |
color: #1a0f00; |
| 47 |
} |
| 48 |
} |
| 49 |
|
| 50 |
} |
| 51 |
|
| 52 |
.noticeContainer { |
| 53 |
display: flex; |
| 54 |
flex-direction: column-reverse; |
| 55 |
padding: var(--givewp-spacing-4) var(--givewp-spacing-6) 0; |
| 56 |
gap: 10px; |
| 57 |
|
| 58 |
.notice { |
| 59 |
gap: 10px; |
| 60 |
display: flex; |
| 61 |
flex-direction: row; |
| 62 |
border-radius: 4px; |
| 63 |
padding: var(--givewp-spacing-2) var(--givewp-spacing-3); |
| 64 |
align-items: center; |
| 65 |
justify-content: space-between; |
| 66 |
border-width: 1px 1px 1px 4px; |
| 67 |
border-style: solid; |
| 68 |
font-size: 14px; |
| 69 |
|
| 70 |
a { |
| 71 |
padding: 0; |
| 72 |
line-height: 0.5; |
| 73 |
text-decoration: none; |
| 74 |
} |
| 75 |
} |
| 76 |
|
| 77 |
.type-warning { |
| 78 |
background-color: #fffaf2; |
| 79 |
color: #1a0f00; |
| 80 |
border-color: #f29718; |
| 81 |
|
| 82 |
a { |
| 83 |
color: #1a0f00; |
| 84 |
} |
| 85 |
} |
| 86 |
|
| 87 |
.type-info { |
| 88 |
border-color: #0c7ff2; |
| 89 |
background-color: #f2f9ff; |
| 90 |
|
| 91 |
svg > path { |
| 92 |
fill: #0c7ff2; |
| 93 |
} |
| 94 |
} |
| 95 |
|
| 96 |
// Note: other notification types styles are not defined. You can define them below |
| 97 |
} |
| 98 |
|
| 99 |
|
| 100 |
.notificationContent { |
| 101 |
display: flex; |
| 102 |
align-items: center; |
| 103 |
gap: 10px; |
| 104 |
} |
| 105 |
|