| @@ -1,99 +1,487 @@ | ||
| 1 | -.dci-notice { | |
| 2 | - position: absolute; | |
| 3 | - height: 100%; | |
| 4 | - width: 100%; | |
| 5 | - display: flex; | |
| 6 | - justify-content: center; | |
| 7 | - padding: 0px; | |
| 8 | - top: 0; | |
| 9 | - left: 0; | |
| 10 | - background: rgba(0, 0, 0, 0.5); | |
| 11 | - z-index: 2; | |
| 12 | -} | |
| 13 | - | |
| 14 | -.dci-notice-wrapper { | |
| 15 | - position: relative; | |
| 16 | - background: #fff; | |
| 17 | - width: 100%; | |
| 18 | - max-width: 400px; | |
| 19 | - margin: auto; | |
| 20 | - padding: 32px; | |
| 21 | - border: 1.5px solid #ddd; | |
| 22 | - border-radius: 5px; | |
| 23 | -} | |
| 24 | - | |
| 25 | -.dci-header { | |
| 26 | - text-align: justify; | |
| 27 | - margin-bottom: 38px; | |
| 28 | -} | |
| 29 | - | |
| 30 | -.dci-title { | |
| 31 | - text-align: center; | |
| 32 | -} | |
| 33 | - | |
| 34 | -.dci-actions { | |
| 35 | - border: 1px solid #ddd; | |
| 36 | - padding: 16px 10px; | |
| 37 | - border-left: unset; | |
| 38 | - border-right: unset; | |
| 39 | -} | |
| 40 | - | |
| 41 | -.dci-actions form { | |
| 42 | - display: flex; | |
| 43 | - justify-content: space-between; | |
| 44 | - margin: 0px; | |
| 45 | - padding: 0px; | |
| 46 | -} | |
| 47 | - | |
| 48 | -.dci-actions button { | |
| 49 | - padding: 6px 16px !important; | |
| 50 | -} | |
| 51 | - | |
| 52 | -.dci-permission { | |
| 53 | - padding: 32px; | |
| 54 | - text-align: center; | |
| 55 | -} | |
| 56 | - | |
| 57 | -.dci-permission p { | |
| 58 | - margin: 0px; | |
| 59 | - font-weight: bold; | |
| 60 | - font-size: 13px; | |
| 61 | - color: #2271b1; | |
| 62 | -} | |
| 63 | - | |
| 64 | -.dci-permission-item { | |
| 65 | - display: flex; | |
| 66 | - align-items: center; | |
| 67 | - column-gap: 16px; | |
| 68 | -} | |
| 69 | - | |
| 70 | -.dci-data-list ul { | |
| 71 | - list-style: none; | |
| 72 | - padding: 0px; | |
| 73 | - margin: 0px; | |
| 74 | -} | |
| 75 | - | |
| 76 | -.dci-data-list li { | |
| 77 | - margin-bottom: 22px; | |
| 78 | -} | |
| 79 | - | |
| 80 | -.dci-data-list li:last-child { | |
| 81 | - margin-bottom: 0px; | |
| 82 | -} | |
| 83 | - | |
| 84 | -.dci-data-list .dci-desc h3 { | |
| 85 | - margin: 0px; | |
| 86 | - margin-bottom: 5px; | |
| 87 | - font-size: 1.2em; | |
| 88 | -} | |
| 89 | - | |
| 90 | -.dci-data-list .dci-desc p { | |
| 91 | - margin: 0px; | |
| 92 | - font-size: 1em; | |
| 93 | -} | |
| 94 | - | |
| 95 | -.dci-data-list .dashicons { | |
| 96 | - font-size: 32px; | |
| 97 | - height: 32px; | |
| 98 | - width: 32px; | |
| 99 | -} | |
| 1 | +.dci-global-notice { | |
| 2 | + padding: 0; | |
| 3 | +} | |
| 4 | + | |
| 5 | +.dci-notice { | |
| 6 | + position: fixed; | |
| 7 | + height: 100%; | |
| 8 | + width: 100%; | |
| 9 | + display: flex; | |
| 10 | + justify-content: center; | |
| 11 | + padding: 0px; | |
| 12 | + top: 50%; | |
| 13 | + left: 50%; | |
| 14 | + transform: translate(-50%, -50%); | |
| 15 | + z-index: 99999; | |
| 16 | + background: rgba(0, 0, 0, 0.7); | |
| 17 | +} | |
| 18 | + | |
| 19 | +.dci-notice-wrapper { | |
| 20 | + position: relative; | |
| 21 | + background: #fff; | |
| 22 | + width: 100%; | |
| 23 | + max-width: 400px; | |
| 24 | + margin: auto; | |
| 25 | + padding: 32px; | |
| 26 | + border: 1.5px solid #ddd; | |
| 27 | + border-radius: 5px; | |
| 28 | +} | |
| 29 | + | |
| 30 | +/* .dci-notice-wrapper::before { | |
| 31 | + content: ''; | |
| 32 | + background: transparent; | |
| 33 | + height: 100%; | |
| 34 | + width: 100%; | |
| 35 | + position: absolute; | |
| 36 | + z-index: -1; | |
| 37 | + left: -40px; | |
| 38 | + padding: 40px; | |
| 39 | + top: -40px; | |
| 40 | + border: 1.5px solid #cdcccc; | |
| 41 | + border-radius: 5px; | |
| 42 | +} */ | |
| 43 | + | |
| 44 | +.dci-header { | |
| 45 | + text-align: justify; | |
| 46 | + margin-bottom: 38px; | |
| 47 | +} | |
| 48 | + | |
| 49 | +.dci-title { | |
| 50 | + text-align: center; | |
| 51 | +} | |
| 52 | + | |
| 53 | +.dci-actions { | |
| 54 | + border: 1px solid #ddd; | |
| 55 | + padding: 16px 10px; | |
| 56 | + border-left: unset; | |
| 57 | + border-right: unset; | |
| 58 | +} | |
| 59 | + | |
| 60 | +.dci-actions form { | |
| 61 | + display: flex; | |
| 62 | + justify-content: space-between; | |
| 63 | + margin: 0px; | |
| 64 | + padding: 0px; | |
| 65 | +} | |
| 66 | + | |
| 67 | +.dci-actions button { | |
| 68 | + padding: 6px 16px !important; | |
| 69 | +} | |
| 70 | + | |
| 71 | +.dci-permission { | |
| 72 | + padding: 32px; | |
| 73 | + text-align: center; | |
| 74 | +} | |
| 75 | + | |
| 76 | +.dci-permission p { | |
| 77 | + margin: 0px; | |
| 78 | + font-weight: bold; | |
| 79 | + font-size: 13px; | |
| 80 | + color: #2271b1; | |
| 81 | +} | |
| 82 | + | |
| 83 | +.dci-permission-item { | |
| 84 | + display: flex; | |
| 85 | + align-items: center; | |
| 86 | + column-gap: 16px; | |
| 87 | +} | |
| 88 | + | |
| 89 | +.dci-data-list ul { | |
| 90 | + list-style: none; | |
| 91 | + padding: 0px; | |
| 92 | + margin: 0px; | |
| 93 | +} | |
| 94 | + | |
| 95 | +.dci-data-list li { | |
| 96 | + margin-bottom: 22px; | |
| 97 | +} | |
| 98 | + | |
| 99 | +.dci-data-list li:last-child { | |
| 100 | + margin-bottom: 0px; | |
| 101 | +} | |
| 102 | + | |
| 103 | +.dci-data-list .dci-desc h3 { | |
| 104 | + margin: 0px; | |
| 105 | + margin-bottom: 5px; | |
| 106 | + font-size: 1.2em; | |
| 107 | +} | |
| 108 | + | |
| 109 | +.dci-data-list .dci-desc p { | |
| 110 | + margin: 0px; | |
| 111 | + font-size: 1em; | |
| 112 | +} | |
| 113 | + | |
| 114 | +.dci-data-list .dashicons { | |
| 115 | + font-size: 32px; | |
| 116 | + height: 32px; | |
| 117 | + width: 32px; | |
| 118 | +} | |
| 119 | + | |
| 120 | +.dci-global-notice .dci-button-disallow { | |
| 121 | + border: 0; | |
| 122 | + color: #3e3d41; | |
| 123 | + background-color: #eff0f4; | |
| 124 | +} | |
| 125 | + | |
| 126 | +.dci-global-notice .dci-button-disallow:hover { | |
| 127 | + background-color: #e7e7e9; | |
| 128 | +} | |
| 129 | + | |
| 130 | +.dci-global-notice .bdt-dci-notice-button-wrap button { | |
| 131 | + padding: 10px 16px; | |
| 132 | + border-radius: 3px; | |
| 133 | + cursor: pointer; | |
| 134 | +} | |
| 135 | + | |
| 136 | +.dci-global-notice .dci-global-header { | |
| 137 | + display: flex; | |
| 138 | + align-items: flex-start; | |
| 139 | + gap: 15px; | |
| 140 | + padding: 25px; | |
| 141 | +} | |
| 142 | + | |
| 143 | +.dci-global-notice .dci-global-header img { | |
| 144 | + width: 45px; | |
| 145 | + height: auto; | |
| 146 | + vertical-align: middle; | |
| 147 | +} | |
| 148 | + | |
| 149 | +.bdt-dci-notice-content h3 { | |
| 150 | + margin: 0 0 10px; | |
| 151 | + font-size: 20px; | |
| 152 | +} | |
| 153 | + | |
| 154 | +.bdt-dci-notice-content p { | |
| 155 | + margin: 0; | |
| 156 | + color: #5f6169; | |
| 157 | + max-width: 750px; | |
| 158 | +} | |
| 159 | + | |
| 160 | +.bdt-dci-notice-content p a { | |
| 161 | + color: #2970ee; | |
| 162 | + font-weight: 500; | |
| 163 | + text-decoration: none; | |
| 164 | +} | |
| 165 | + | |
| 166 | +.bdt-dci-notice-content p a:hover { | |
| 167 | + text-decoration: underline; | |
| 168 | +} | |
| 169 | + | |
| 170 | +.bdt-dci-notice-button-wrap { | |
| 171 | + margin-top: 14px; | |
| 172 | +} | |
| 173 | + | |
| 174 | +button.notice-dismiss { | |
| 175 | + padding: 25px; | |
| 176 | +} | |
| 177 | + | |
| 178 | +.dci-global-notice .dci-button-allow { | |
| 179 | + background-color: transparent; | |
| 180 | + color: white; | |
| 181 | + transition: --primaryColor 1s, --secondaryColor 1s; | |
| 182 | + border: none; | |
| 183 | +} | |
| 184 | + | |
| 185 | +.dci-global-notice { | |
| 186 | + border-color: #e2e2e5; | |
| 187 | + z-index: 99; | |
| 188 | + box-shadow: none; | |
| 189 | +} | |
| 190 | + | |
| 191 | +.dci-global-notice .dci-button-skip { | |
| 192 | + border: 0; | |
| 193 | +} | |
| 194 | + | |
| 195 | +/** | |
| 196 | + * Start Deactivate CSS | |
| 197 | + * Change the class - .dci-notice-data | |
| 198 | + */ | |
| 199 | +.dci-feedback-wrapper { | |
| 200 | + position: fixed; | |
| 201 | + z-index: 99999; | |
| 202 | + top: 0; | |
| 203 | + right: 0; | |
| 204 | + bottom: 0; | |
| 205 | + left: 0; | |
| 206 | + background: rgba(0, 0, 0, 0.5); | |
| 207 | + display: none; | |
| 208 | + box-sizing: border-box; | |
| 209 | + overflow: scroll; | |
| 210 | + display: block; | |
| 211 | +} | |
| 212 | + | |
| 213 | +.dci-feedback-card { | |
| 214 | + background: #fff; | |
| 215 | + max-width: 850px; | |
| 216 | + margin: 0 auto; | |
| 217 | + position: absolute; | |
| 218 | + top: 50%; | |
| 219 | + left: 50%; | |
| 220 | + transform: translate(-50%, -50%); | |
| 221 | + padding: 56px; | |
| 222 | + border-radius: 10px; | |
| 223 | + box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1); | |
| 224 | +} | |
| 225 | + | |
| 226 | +.dci-feedback-card h2 { | |
| 227 | + margin: 0; | |
| 228 | + margin-bottom: 10px; | |
| 229 | + font-size: 1.6rem; | |
| 230 | + font-weight: 600; | |
| 231 | +} | |
| 232 | + | |
| 233 | +.dci-feedback-card p { | |
| 234 | + font-size: 1rem; | |
| 235 | + font-weight: 500; | |
| 236 | + margin-bottom: 1.5em; | |
| 237 | +} | |
| 238 | + | |
| 239 | +.dci-feedback-card .dci-feedback-comments { | |
| 240 | + padding: 1em 0em; | |
| 241 | +} | |
| 242 | + | |
| 243 | +.dci-feedback-card .dci-feedback-comments label { | |
| 244 | + display: block; | |
| 245 | + margin-bottom: 0.5em; | |
| 246 | +} | |
| 247 | + | |
| 248 | +.dci-feedback-card .dci-feedback-comments textarea { | |
| 249 | + display: block; | |
| 250 | + min-width: 100%; | |
| 251 | + max-width: 100%; | |
| 252 | + font-size: 1rem; | |
| 253 | + line-height: 1.5; | |
| 254 | + color: #495057; | |
| 255 | + background-color: #fff; | |
| 256 | + background-clip: padding-box; | |
| 257 | + border: 1px solid #ced4da; | |
| 258 | + border-radius: 0.25rem; | |
| 259 | + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; | |
| 260 | +} | |
| 261 | + | |
| 262 | +.dci-feedback-card .dci-feedback-comments textarea::focus { | |
| 263 | + color: #495057; | |
| 264 | + background-color: #fff; | |
| 265 | + border-color: #80bdff; | |
| 266 | + outline: 0; | |
| 267 | + box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); | |
| 268 | +} | |
| 269 | + | |
| 270 | +.dci-feedback-tabs { | |
| 271 | + margin-bottom: 0.6em; | |
| 272 | +} | |
| 273 | + | |
| 274 | +.dci-feedback-tabs .checkbox-group { | |
| 275 | + display: flex; | |
| 276 | + user-select: none; | |
| 277 | + gap: 0.8em; | |
| 278 | +} | |
| 279 | + | |
| 280 | +.dci-feedback-tabs .checkbox-group-legend { | |
| 281 | + font-size: 1.5rem; | |
| 282 | + font-weight: 700; | |
| 283 | + color: #9c9c9c; | |
| 284 | + text-align: center; | |
| 285 | + line-height: 1.125; | |
| 286 | + margin-bottom: 1.25rem; | |
| 287 | +} | |
| 288 | + | |
| 289 | +.dci-feedback-tabs .checkbox-input { | |
| 290 | + clip: rect(0 0 0 0); | |
| 291 | + clip-path: inset(100%); | |
| 292 | + height: 1px; | |
| 293 | + overflow: hidden; | |
| 294 | + position: absolute; | |
| 295 | + white-space: nowrap; | |
| 296 | + width: 1px; | |
| 297 | +} | |
| 298 | + | |
| 299 | +.dci-feedback-tabs .checkbox-input:checked + .checkbox-tile { | |
| 300 | + border-color: #2260ff; | |
| 301 | + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); | |
| 302 | + color: #2260ff; | |
| 303 | +} | |
| 304 | + | |
| 305 | +.dci-feedback-tabs .checkbox-input:checked + .checkbox-tile:before { | |
| 306 | + transform: scale(1); | |
| 307 | + opacity: 1; | |
| 308 | + background-color: #2260ff; | |
| 309 | + border-color: #2260ff; | |
| 310 | +} | |
| 311 | + | |
| 312 | +.dci-feedback-tabs .checkbox-input:checked + .checkbox-tile .checkbox-icon, | |
| 313 | +.dci-feedback-tabs .checkbox-input:checked + .checkbox-tile .checkbox-label { | |
| 314 | + color: #2260ff; | |
| 315 | +} | |
| 316 | + | |
| 317 | +.dci-feedback-tabs .checkbox-input:focus + .checkbox-tile { | |
| 318 | + border-color: #2260ff; | |
| 319 | + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #b5c9fc; | |
| 320 | +} | |
| 321 | + | |
| 322 | +.dci-feedback-tabs .checkbox-input:focus + .checkbox-tile:before { | |
| 323 | + transform: scale(1); | |
| 324 | + opacity: 1; | |
| 325 | +} | |
| 326 | + | |
| 327 | +.dci-feedback-tabs .checkbox-tile { | |
| 328 | + display: flex; | |
| 329 | + flex-direction: column; | |
| 330 | + align-items: center; | |
| 331 | + justify-content: center; | |
| 332 | + width: 7rem; | |
| 333 | + min-height: 7rem; | |
| 334 | + border-radius: 0.5rem; | |
| 335 | + border: 2px solid #b5bfd9; | |
| 336 | + background-color: #fff; | |
| 337 | + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); | |
| 338 | + transition: 0.15s ease; | |
| 339 | + cursor: pointer; | |
| 340 | + position: relative; | |
| 341 | +} | |
| 342 | + | |
| 343 | +.dci-feedback-tabs .checkbox-tile:before { | |
| 344 | + content: ''; | |
| 345 | + position: absolute; | |
| 346 | + display: block; | |
| 347 | + width: 1.25rem; | |
| 348 | + height: 1.25rem; | |
| 349 | + border: 2px solid #b5bfd9; | |
| 350 | + background-color: #fff; | |
| 351 | + border-radius: 50%; | |
| 352 | + top: 0.25rem; | |
| 353 | + left: 0.25rem; | |
| 354 | + opacity: 0; | |
| 355 | + transform: scale(0); | |
| 356 | + transition: 0.25s ease; | |
| 357 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' fill='%23FFFFFF' viewBox='0 0 256 256'%3E%3Crect width='256' height='256' fill='none'%3E%3C/rect%3E%3Cpolyline points='216 72.005 104 184 48 128.005' fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'%3E%3C/polyline%3E%3C/svg%3E"); | |
| 358 | + background-size: 12px; | |
| 359 | + background-repeat: no-repeat; | |
| 360 | + background-position: 50% 50%; | |
| 361 | +} | |
| 362 | + | |
| 363 | +.dci-feedback-tabs .checkbox-tile:hover { | |
| 364 | + border-color: #2260ff; | |
| 365 | +} | |
| 366 | + | |
| 367 | +.dci-feedback-tabs .checkbox-tile:hover:before { | |
| 368 | + transform: scale(1); | |
| 369 | + opacity: 1; | |
| 370 | +} | |
| 371 | + | |
| 372 | +.dci-feedback-tabs .checkbox-icon { | |
| 373 | + transition: 0.375s ease; | |
| 374 | + color: #494949; | |
| 375 | +} | |
| 376 | + | |
| 377 | +.dci-feedback-tabs .checkbox-icon svg { | |
| 378 | + width: 2rem; | |
| 379 | + height: 2rem; | |
| 380 | +} | |
| 381 | + | |
| 382 | +.dci-feedback-tabs .checkbox-label { | |
| 383 | + color: #707070; | |
| 384 | + transition: 0.375s ease; | |
| 385 | + text-align: center; | |
| 386 | + font-size: 14px; | |
| 387 | +} | |
| 388 | + | |
| 389 | +.dci-feedback-actions { | |
| 390 | + margin-top: 0.6em; | |
| 391 | + display: flex; | |
| 392 | + flex-wrap: wrap; | |
| 393 | + gap: 10px; | |
| 394 | + justify-content: space-between; | |
| 395 | + width: 100%; | |
| 396 | +} | |
| 397 | + | |
| 398 | +.dci-feedback-actions .button { | |
| 399 | + display: inline-block; | |
| 400 | + font-weight: 400; | |
| 401 | + text-align: center; | |
| 402 | + white-space: nowrap; | |
| 403 | + vertical-align: middle; | |
| 404 | + cursor: pointer; | |
| 405 | + user-select: none; | |
| 406 | + border: 1px solid transparent; | |
| 407 | + padding: 0.7rem 0.75rem; | |
| 408 | + font-size: 0.9rem; | |
| 409 | + line-height: 1; | |
| 410 | + border-radius: 0.25rem; | |
| 411 | + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; | |
| 412 | +} | |
| 413 | + | |
| 414 | +.dci-feedback-actions .button { | |
| 415 | + color: #000; | |
| 416 | + border: none; | |
| 417 | + background: #f6f7f7; | |
| 418 | +} | |
| 419 | + | |
| 420 | +.dci-feedback-actions .button:hover { | |
| 421 | + color: #000; | |
| 422 | + background: #e9ecef; | |
| 423 | +} | |
| 424 | + | |
| 425 | +.dci-feedback-actions .dci-feedback-submit-btn { | |
| 426 | + color: #fff; | |
| 427 | + background-color: #007bff; | |
| 428 | + border-color: #007bff; | |
| 429 | +} | |
| 430 | + | |
| 431 | +.dci-feedback-actions .dci-feedback-submit-btn:hover { | |
| 432 | + color: #fff; | |
| 433 | + background-color: #007bff; | |
| 434 | + border-color: #007bff; | |
| 435 | + opacity: 0.8; | |
| 436 | +} | |
| 437 | + | |
| 438 | +.dci-feedback-actions div { | |
| 439 | + display: flex; | |
| 440 | + gap: 10px; | |
| 441 | +} | |
| 442 | + | |
| 443 | +@media screen and (max-width: 767px) { | |
| 444 | + .dci-feedback-tabs { | |
| 445 | + margin-bottom: 0.6em; | |
| 446 | + } | |
| 447 | + | |
| 448 | + .dci-feedback-tabs .checkbox-group { | |
| 449 | + flex-wrap: wrap; | |
| 450 | + } | |
| 451 | +} | |
| 452 | + | |
| 453 | +/** | |
| 454 | + * End Deactivate CSS | |
| 455 | + */ | |
| 456 | + | |
| 457 | +/** | |
| 458 | + * Start Custom CSS | |
| 459 | + * Change the class - .dci-notice-data | |
| 460 | + */ | |
| 461 | + | |
| 462 | +.dci-global-notice.dci-notice-data .dci-button-allow { | |
| 463 | + --primaryColor: #0858ec; | |
| 464 | + --secondaryColor: #209be2; | |
| 465 | + background: linear-gradient(313deg, var(--primaryColor), var(--secondaryColor) 100%); | |
| 466 | +} | |
| 467 | + | |
| 468 | +.dci-global-notice.dci-notice-data .dci-button-allow:hover { | |
| 469 | + --primaryColor: #2040e2; | |
| 470 | + --secondaryColor: #0876ec; | |
| 471 | +} | |
| 472 | + | |
| 473 | +.dci-global-notice.dci-notice-data { | |
| 474 | + border-left-color: #466ad8; | |
| 475 | +} | |
| 476 | + | |
| 477 | +.dci-global-notice.dci-notice-data .dci-button-skip { | |
| 478 | + background-color: #e0f5ff; | |
| 479 | +} | |
| 480 | + | |
| 481 | +.dci-global-notice.dci-notice-data .dci-button-skip:hover { | |
| 482 | + background-color: #d9f1fd; | |
| 483 | +} | |
| 484 | + | |
| 485 | +/** | |
| 486 | + * End Custom CSS | |
| 487 | + */ | |