| 1 |
#members-notifications { |
| 2 |
position: fixed; |
| 3 |
min-height: 48px; |
| 4 |
margin: 0 0 14px 0; |
| 5 |
top: 0; |
| 6 |
width: 100%; |
| 7 |
max-width: 440px; |
| 8 |
max-height: 100vh; |
| 9 |
overflow-y: scroll; |
| 10 |
background: #FFFFFF; |
| 11 |
box-shadow: 0px 5px 15px #0000000D; |
| 12 |
transform: translate3d(100%, 0, 0); |
| 13 |
transition: transform .3s ease-in-out; |
| 14 |
z-index: -9; |
| 15 |
visibility: hidden; |
| 16 |
right: -9999999999px; |
| 17 |
} |
| 18 |
|
| 19 |
#members-notifications.visible { |
| 20 |
transform: translate3d(0, 0, 0); |
| 21 |
z-index: 999999; |
| 22 |
visibility: visible; |
| 23 |
right: 0; |
| 24 |
} |
| 25 |
|
| 26 |
.admin-bar #members-notifications { |
| 27 |
top: 32px; |
| 28 |
max-height: calc( 100vh - 32px ); |
| 29 |
} |
| 30 |
|
| 31 |
#members-notifications * { |
| 32 |
box-sizing: border-box; |
| 33 |
} |
| 34 |
|
| 35 |
#members-notifications .members-notifications-top-title { |
| 36 |
background-color: #2679c1; |
| 37 |
display: flex; |
| 38 |
align-items: center; |
| 39 |
padding: 0 16px; |
| 40 |
} |
| 41 |
|
| 42 |
#members-notifications .members-notifications-top-title h3 { |
| 43 |
color: #fff; |
| 44 |
} |
| 45 |
|
| 46 |
#members-notifications .members-notifications-top-title > div { |
| 47 |
flex-basis: 100%; |
| 48 |
display: flex; |
| 49 |
align-items: center; |
| 50 |
} |
| 51 |
|
| 52 |
#members-notifications .members-notifications-top-title svg { |
| 53 |
margin-right: 10px; |
| 54 |
margin-top: 5px; |
| 55 |
} |
| 56 |
|
| 57 |
#members-notifications .members-notifications-top-title .actions { |
| 58 |
display: flex; |
| 59 |
justify-content: flex-end; |
| 60 |
} |
| 61 |
|
| 62 |
#members-notifications .members-notifications-top-title .actions a { |
| 63 |
color: #fff; |
| 64 |
margin-right: 10px; |
| 65 |
font-size: 14px; |
| 66 |
text-decoration: underline; |
| 67 |
} |
| 68 |
|
| 69 |
#members-notifications .members-notifications-top-title .actions a.close { |
| 70 |
text-decoration: none; |
| 71 |
margin-right: 0; |
| 72 |
} |
| 73 |
|
| 74 |
#members-notifications .members-notifications-top-title .actions a.close svg { |
| 75 |
margin-right: 0; |
| 76 |
} |
| 77 |
|
| 78 |
#members-notifications .members-notification-icon-title { |
| 79 |
display: flex; |
| 80 |
align-items: center; |
| 81 |
} |
| 82 |
|
| 83 |
#members-notifications .members-notification-icon-title img { |
| 84 |
margin-right: 10px; |
| 85 |
max-width: 32px; |
| 86 |
} |
| 87 |
|
| 88 |
#members-notifications .members-notification-icon-title time { |
| 89 |
margin-left: auto; |
| 90 |
font-size: 13px; |
| 91 |
color: #7f899f; |
| 92 |
min-width: 100px; |
| 93 |
text-align: right; |
| 94 |
} |
| 95 |
|
| 96 |
#members-notifications .members-notifications-header { |
| 97 |
display: flex; |
| 98 |
align-items: center; |
| 99 |
justify-content: space-between; |
| 100 |
padding: 8px 16px; |
| 101 |
border-bottom: 1px solid rgba(204, 208, 212, 0.5); |
| 102 |
} |
| 103 |
|
| 104 |
#members-notifications .dismiss-all { |
| 105 |
text-decoration: underline; |
| 106 |
color: #99a1b3; |
| 107 |
cursor: pointer; |
| 108 |
background: none; |
| 109 |
border: none; |
| 110 |
padding: 0; |
| 111 |
} |
| 112 |
|
| 113 |
#members-notifications .members-notifications-header-bell { |
| 114 |
display: flex; |
| 115 |
align-items: center; |
| 116 |
} |
| 117 |
|
| 118 |
#members-notifications .members-notifications-header .members-notifications-bell { |
| 119 |
position: relative; |
| 120 |
top: 2px; |
| 121 |
margin-right: 10px; |
| 122 |
} |
| 123 |
|
| 124 |
#members-notifications .members-notifications-header .members-notifications-bell svg { |
| 125 |
max-width: 30px; |
| 126 |
} |
| 127 |
|
| 128 |
#members-notifications .members-notifications-header .members-notifications-title { |
| 129 |
font-style: normal; |
| 130 |
font-weight: 500; |
| 131 |
font-size: 14px; |
| 132 |
line-height: 17px; |
| 133 |
color: #23282D; |
| 134 |
} |
| 135 |
|
| 136 |
.members-notifications-button { |
| 137 |
position: relative; |
| 138 |
display: inline-flex !important; |
| 139 |
align-items: center; |
| 140 |
justify-content: center; |
| 141 |
} |
| 142 |
|
| 143 |
.members-notifications-button:hover { |
| 144 |
cursor: pointer; |
| 145 |
} |
| 146 |
|
| 147 |
.members-notifications-count { |
| 148 |
display: flex; |
| 149 |
align-items: center; |
| 150 |
justify-content: center; |
| 151 |
position: absolute; |
| 152 |
top: -10px; |
| 153 |
right: -10px; |
| 154 |
background-color: #eb5757; |
| 155 |
color: #fff; |
| 156 |
width: 20px; |
| 157 |
height: 20px; |
| 158 |
border-radius: 50%; |
| 159 |
font-size: 10px; |
| 160 |
} |
| 161 |
|
| 162 |
#members-notifications .dismissed-messages, |
| 163 |
#members-notifications #viewActive { |
| 164 |
display: none; |
| 165 |
} |
| 166 |
|
| 167 |
#members-notifications .dismissed-messages .members-notice-dismiss { |
| 168 |
display: none; |
| 169 |
} |
| 170 |
|
| 171 |
#members-notifications .members-notifications-header.single-digit .members-notifications-count { |
| 172 |
font-size: 12px; |
| 173 |
} |
| 174 |
|
| 175 |
#members-notifications .members-notifications-body { |
| 176 |
position: relative; |
| 177 |
padding: 16px; |
| 178 |
} |
| 179 |
|
| 180 |
#members-notifications .members-notifications-messages { |
| 181 |
|
| 182 |
} |
| 183 |
|
| 184 |
#members-notifications .members-notifications-messages .members-notifications-message { |
| 185 |
margin-bottom: 30px; |
| 186 |
padding-bottom: 30px; |
| 187 |
position: relative; |
| 188 |
border-bottom: 1px solid rgba(204, 208, 212, 0.5); |
| 189 |
} |
| 190 |
|
| 191 |
#members-notifications .members-notifications-messages .active-messages .members-notifications-message:last-of-type, |
| 192 |
#members-notifications .members-notifications-messages .dismissed-messages .members-notifications-message:last-of-type { |
| 193 |
border-bottom: none; |
| 194 |
margin-bottom: 0; |
| 195 |
padding-bottom: 0; |
| 196 |
} |
| 197 |
|
| 198 |
#members-notifications .members-notifications-messages .members-notifications-title { |
| 199 |
font-weight: bold; |
| 200 |
font-size: 17px; |
| 201 |
line-height: 17px; |
| 202 |
margin: 0; |
| 203 |
color: #444; |
| 204 |
} |
| 205 |
|
| 206 |
#members-notifications .members-notifications-messages .members-notifications-content { |
| 207 |
font-weight: normal; |
| 208 |
font-size: 14px; |
| 209 |
line-height: 18px; |
| 210 |
margin: 8px 0 41px 0; |
| 211 |
color: #777777; |
| 212 |
} |
| 213 |
|
| 214 |
#members-notifications .members-notifications-messages .members-notifications-content img { |
| 215 |
max-width: 100%; |
| 216 |
height: auto; |
| 217 |
} |
| 218 |
|
| 219 |
#members-notifications .members-notifications-messages .members-notifications-buttons { |
| 220 |
margin: -30px 80px 0 0; |
| 221 |
display: flex; |
| 222 |
align-items: center; |
| 223 |
} |
| 224 |
|
| 225 |
#members-notifications .members-notifications-messages .members-notifications-buttons a { |
| 226 |
margin: 0 10px 0 0; |
| 227 |
min-height: unset; |
| 228 |
} |
| 229 |
|
| 230 |
.members-notifications-buttons button.members-notice-dismiss { |
| 231 |
font-size: 13px; |
| 232 |
color: #7f899f; |
| 233 |
background: none; |
| 234 |
padding: 0; |
| 235 |
border: 0; |
| 236 |
} |
| 237 |
|
| 238 |
#members-notifications .members-notifications-messages .members-notifications-buttons button.members-notice-dismiss:hover { |
| 239 |
cursor: pointer; |
| 240 |
} |
| 241 |
|
| 242 |
#members-notifications .members-notifications-messages .members-notifications-buttons button.members-notice-dismiss[disabled] { |
| 243 |
cursor: not-allowed; |
| 244 |
} |
| 245 |
|
| 246 |
@media screen and (max-width: 768px) { |
| 247 |
#members-notifications .members-notifications-messages { |
| 248 |
padding: 15px 50px 20px 16px; |
| 249 |
} |
| 250 |
#members-notifications .members-notifications-messages .members-notifications-message .members-notifications-title { |
| 251 |
margin: 0 30px 0 0; |
| 252 |
line-height: 22px; |
| 253 |
} |
| 254 |
#members-notifications .members-notifications-messages .members-notifications-message .members-notifications-content { |
| 255 |
font-size: 16px; |
| 256 |
line-height: 22px; |
| 257 |
} |
| 258 |
#members-notifications .members-notifications-messages .members-notifications-message .members-notifications-buttons { |
| 259 |
margin: -30px 80px 0 0; |
| 260 |
} |
| 261 |
#members-notifications .members-notifications-messages .members-notifications-message .members-notifications-buttons a { |
| 262 |
margin: 0; |
| 263 |
display: table; |
| 264 |
} |
| 265 |
#members-notifications .members-notifications-messages .members-notifications-message .members-notifications-buttons .button-secondary { |
| 266 |
margin-top: 6px; |
| 267 |
} |
| 268 |
} |
| 269 |
|