admin.css
486 lines
| 1 | /* |
| 2 | To change this license header, choose License Headers in Project Properties. |
| 3 | To change this template file, choose Tools | Templates |
| 4 | and open the template in the editor. |
| 5 | */ |
| 6 | /* |
| 7 | Created on : Oct 15, 2018, 4:01:41 PM |
| 8 | Author : tatthang96 |
| 9 | */ |
| 10 | .img-size-table { |
| 11 | max-width: 48px !important; |
| 12 | max-height: 48px !important; |
| 13 | border-radius: 50%; |
| 14 | } |
| 15 | |
| 16 | .ui-autocomplete-loading { |
| 17 | background-position-x: 365px !important; |
| 18 | } |
| 19 | |
| 20 | .time-available td { |
| 21 | padding: 0px; |
| 22 | } |
| 23 | |
| 24 | .time-available { |
| 25 | margin: 0px; |
| 26 | border-top: 0px; |
| 27 | border-collapse: separate; |
| 28 | } |
| 29 | /*List Account*/ |
| 30 | .nta-list-box-accounts { |
| 31 | max-width: 390px; |
| 32 | } |
| 33 | |
| 34 | .nta-list-box-select { |
| 35 | max-width: 388px; |
| 36 | box-shadow: 0px 8px 7px 0px rgba(0, 0, 0, 0.05); |
| 37 | } |
| 38 | .nta-list-box-accounts .nta-list-items { |
| 39 | background-color: #fff; |
| 40 | } |
| 41 | |
| 42 | .nta-list-box-accounts .nta-list-items:hover { |
| 43 | cursor: move; |
| 44 | } |
| 45 | |
| 46 | .nta-list-box-accounts .nta-list-items .btn-remove-account:hover { |
| 47 | cursor: pointer; |
| 48 | } |
| 49 | |
| 50 | .nta-list-box-accounts .nta-list-items:hover .icon-block img { |
| 51 | opacity: 1; |
| 52 | } |
| 53 | |
| 54 | :not(:last-child).nta-list-items { |
| 55 | border-bottom: 1px solid #f2f2f2; |
| 56 | } |
| 57 | |
| 58 | .nta-list-items .box-content:not(.box-content-woo) { |
| 59 | display: table; |
| 60 | padding: 10px; |
| 61 | } |
| 62 | |
| 63 | .nta-list-items .box-content-woo { |
| 64 | padding: 10px; |
| 65 | } |
| 66 | |
| 67 | .box-content .box-row { |
| 68 | display: table-row; |
| 69 | } |
| 70 | |
| 71 | .box-content .btn-remove-account { |
| 72 | color: #a00; |
| 73 | } |
| 74 | |
| 75 | .box-content .account-avatar { |
| 76 | display: table-cell; |
| 77 | text-align: center; |
| 78 | width: 50px; |
| 79 | vertical-align: top; |
| 80 | } |
| 81 | |
| 82 | .icon-block img { |
| 83 | opacity: 0.7; |
| 84 | } |
| 85 | |
| 86 | .account-avatar .wa_img_wrap { |
| 87 | width: 48px; |
| 88 | height: 48px; |
| 89 | border-radius: 50%; |
| 90 | -webkit-border-radius: 50%; |
| 91 | -moz-border-radius: 50%; |
| 92 | } |
| 93 | |
| 94 | .box-content .container-block { |
| 95 | display: table-cell; |
| 96 | vertical-align: middle; |
| 97 | padding-left: 10px; |
| 98 | } |
| 99 | |
| 100 | .box-content .container-block a { |
| 101 | text-decoration: none; |
| 102 | } |
| 103 | |
| 104 | .box-content .container-block ul { |
| 105 | margin: 0px; |
| 106 | } |
| 107 | |
| 108 | .box-content .container-block span { |
| 109 | display: inline-block; |
| 110 | padding: 2px 5px; |
| 111 | border-radius: 3px; |
| 112 | background-color: #c9cfd6; |
| 113 | line-height: 1.4; |
| 114 | color: #fff; |
| 115 | } |
| 116 | |
| 117 | .box-content .container-block span.active-date { |
| 118 | background-color: #00bc28; |
| 119 | } |
| 120 | |
| 121 | .box-content .container-block h4 { |
| 122 | color: #3584b5; |
| 123 | margin: 0px 0px 5px; |
| 124 | } |
| 125 | |
| 126 | .box-content .container-block p { |
| 127 | margin: 0px 0px 5px; |
| 128 | } |
| 129 | |
| 130 | .nta-list-box-accounts .box-content .container-block { |
| 131 | width: 280px; |
| 132 | } |
| 133 | |
| 134 | .box-content .icon-block { |
| 135 | display: table-cell; |
| 136 | vertical-align: middle; |
| 137 | } |
| 138 | |
| 139 | /*All Accounts Admin Page*/ |
| 140 | |
| 141 | /*Selected Account*/ |
| 142 | |
| 143 | #nta_wa_avatar { |
| 144 | width: 8%; |
| 145 | } |
| 146 | |
| 147 | #nta_wa_number { |
| 148 | width: 15%; |
| 149 | } |
| 150 | |
| 151 | .nta-shortcode-table { |
| 152 | min-width: 165px; |
| 153 | } |
| 154 | |
| 155 | .post-type-whatsapp-accounts #remove-post-thumbnail { |
| 156 | color: #a00; |
| 157 | } |
| 158 | |
| 159 | .nta-list-box-select { |
| 160 | max-height: 293px; |
| 161 | overflow-y: auto; |
| 162 | } |
| 163 | |
| 164 | .nta-list-box-select .ui-menu-item:hover { |
| 165 | background-color: #f7f9fb; |
| 166 | cursor: pointer; |
| 167 | } |
| 168 | |
| 169 | .nta-list-box-select .ui-menu-item { |
| 170 | padding: 0px; |
| 171 | } |
| 172 | |
| 173 | :not(:last-child).ui-menu-item { |
| 174 | border-bottom: 1px solid #f2f2f2; |
| 175 | } |
| 176 | |
| 177 | #input-account { |
| 178 | width: 390px; |
| 179 | } |
| 180 | |
| 181 | .nta-list-box-select .box-content .container-block { |
| 182 | width: 300px; |
| 183 | } |
| 184 | |
| 185 | #input-users, |
| 186 | #input-users-woo { |
| 187 | width: 390px; |
| 188 | background-color: #f7f9fb; |
| 189 | } |
| 190 | |
| 191 | /*ADMIN TAB STYLE*/ |
| 192 | .nta-tab-wrapper { |
| 193 | border-bottom: 1px solid #ccc !important; |
| 194 | } |
| 195 | .nta-tab-wrapper .nav-tab-active { |
| 196 | border-bottom: 1px solid #fff; |
| 197 | } |
| 198 | |
| 199 | ul.nta-tab-wrapper li { |
| 200 | margin: 0; |
| 201 | } |
| 202 | |
| 203 | ul.nta-tab-wrapper .nav-tab { |
| 204 | background: #fff; |
| 205 | } |
| 206 | |
| 207 | .nta-selected-tab { |
| 208 | margin-left: 0px; |
| 209 | } |
| 210 | |
| 211 | .nta-tabs-content { |
| 212 | border: 1px solid #dfdfdf; |
| 213 | border-top: none; |
| 214 | padding: 20px; |
| 215 | background: #fff; |
| 216 | } |
| 217 | |
| 218 | /*SVG SIZE AVTAR*/ |
| 219 | .nta-whatsapp-default-avatar { |
| 220 | width: 48px; |
| 221 | height: 48px; |
| 222 | } |
| 223 | |
| 224 | /*ON/OFF BUTTON STYLE*/ |
| 225 | #nta-wa-switch:checked + label.green { |
| 226 | background: #aedcae; |
| 227 | } |
| 228 | #nta-wa-switch:checked + label.green:after { |
| 229 | background: #5cb85c; |
| 230 | } |
| 231 | #nta-wa-switch:checked + label:after { |
| 232 | left: calc(100% - 18px); |
| 233 | } |
| 234 | #nta-wa-switch + label { |
| 235 | background: #ddd; |
| 236 | border-radius: 20px; |
| 237 | } |
| 238 | #nta-wa-switch + label:after { |
| 239 | background: #fff; |
| 240 | border-radius: 50%; |
| 241 | width: 16px; |
| 242 | height: 16px; |
| 243 | top: 2px; |
| 244 | left: 2px; |
| 245 | } |
| 246 | |
| 247 | /* End of duplication */ |
| 248 | |
| 249 | .nta-wa-switch-control input[type="checkbox"] { |
| 250 | display: none; |
| 251 | } |
| 252 | .nta-wa-switch-control input[type="checkbox"] + label { |
| 253 | display: inline-block; |
| 254 | width: 40px; |
| 255 | height: 20px; |
| 256 | position: relative; |
| 257 | transition: 0.3s; |
| 258 | /*margin: 0px 20px;*/ |
| 259 | box-sizing: border-box; |
| 260 | } |
| 261 | .nta-wa-switch-control input[type="checkbox"] + label:after, |
| 262 | .nta-wa-switch-control input[type="checkbox"] + label:before { |
| 263 | content: ""; |
| 264 | display: block; |
| 265 | position: absolute; |
| 266 | left: 2px; |
| 267 | top: 2px; |
| 268 | /* width: 20px; |
| 269 | height: 20px; */ |
| 270 | transition: 0.3s; |
| 271 | cursor: pointer; |
| 272 | } |
| 273 | |
| 274 | /* Switch input */ |
| 275 | .nta-wa-switch-control input:checked + label.green { |
| 276 | background: #aedcae; |
| 277 | } |
| 278 | .nta-wa-switch-control input:checked + label.green:after { |
| 279 | background: #5cb85c; |
| 280 | } |
| 281 | .nta-wa-switch-control input:checked + label:after { |
| 282 | left: calc(100% - 18px); |
| 283 | } |
| 284 | .nta-wa-switch-control input + label { |
| 285 | background: #ddd; |
| 286 | border-radius: 20px; |
| 287 | } |
| 288 | .nta-wa-switch-control input + label:after { |
| 289 | background: #fff; |
| 290 | border-radius: 50%; |
| 291 | width: 16px; |
| 292 | height: 16px; |
| 293 | } |
| 294 | /* Switch input */ |
| 295 | |
| 296 | /* JQUERY UI AUTOCOMPLE CUSTOM */ |
| 297 | .whatsapp_page_floating-widget-whatsapp |
| 298 | .ui-autocomplete |
| 299 | .ui-menu-item.ui-state-focus { |
| 300 | background-color: #f7f9fb; |
| 301 | } |
| 302 | |
| 303 | .toplevel_page_nta_whatsapp .ui-autocomplete .ui-menu-item.ui-state-focus { |
| 304 | background-color: #f7f9fb; |
| 305 | } |
| 306 | |
| 307 | .wa-validate-error { |
| 308 | color: red; |
| 309 | } |
| 310 | |
| 311 | /* DISPLAY PAGES FLOATING WIDGET CSS */ |
| 312 | .nta-wa-pages-content { |
| 313 | padding-top: 20px !important; |
| 314 | } |
| 315 | |
| 316 | #nta-wa-pages-checkall-show, |
| 317 | #nta-wa-pages-checkall-hide { |
| 318 | margin-left: 16px; |
| 319 | } |
| 320 | |
| 321 | #nta-wa-display-pages-list { |
| 322 | max-height: 150px; |
| 323 | overflow-y: scroll; |
| 324 | background: #fff; |
| 325 | padding: 15px; |
| 326 | border: 1px solid #dfdfdf; |
| 327 | } |
| 328 | |
| 329 | .hide-select { |
| 330 | display: none !important; |
| 331 | } |
| 332 | |
| 333 | .wa-save-loading { |
| 334 | animation: rotation 2s infinite linear; |
| 335 | } |
| 336 | |
| 337 | .wa-save .wa-save-loading { |
| 338 | margin: 5px 0 0 5px; |
| 339 | } |
| 340 | |
| 341 | /* Meta button styles */ |
| 342 | .meta-button-style { |
| 343 | display: flex; |
| 344 | } |
| 345 | |
| 346 | .meta-button-style > div { |
| 347 | width: 50%; |
| 348 | } |
| 349 | |
| 350 | .meta-button-style .preview-button { |
| 351 | display: flex; |
| 352 | align-items: center; |
| 353 | justify-content: center; |
| 354 | position: relative; |
| 355 | } |
| 356 | |
| 357 | .meta-button-style .preview-button p { |
| 358 | position: absolute; |
| 359 | top: 0; |
| 360 | font-weight: 600; |
| 361 | line-height: 1.3; |
| 362 | font-size: 14px; |
| 363 | } |
| 364 | |
| 365 | @media screen and (max-width: 782px) { |
| 366 | .meta-button-style { |
| 367 | display: block; |
| 368 | } |
| 369 | |
| 370 | .meta-button-style > div { |
| 371 | width: unset; |
| 372 | } |
| 373 | .meta-button-style .preview-button p { |
| 374 | position: static; |
| 375 | } |
| 376 | |
| 377 | .meta-button-style .preview-button { |
| 378 | flex-direction: column; |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | .nta-wa-border-box, |
| 383 | .nta-wa-border-box *, |
| 384 | .nta-wa-border-box :before, |
| 385 | .nta-wa-border-box :after { |
| 386 | box-sizing: border-box; |
| 387 | } |
| 388 | |
| 389 | .nta-wa-d-row { |
| 390 | display: flex; |
| 391 | flex-wrap: wrap; |
| 392 | } |
| 393 | |
| 394 | .nta-wa-radio-select-img { |
| 395 | margin: 10px 20px 10px 0; |
| 396 | } |
| 397 | |
| 398 | .nta-wa-radio-select-img:last-child { |
| 399 | margin: 10px 0; |
| 400 | } |
| 401 | |
| 402 | .nta-wa-radio-select-img input { |
| 403 | position: absolute; |
| 404 | top: 0; |
| 405 | left: 0; |
| 406 | opacity: 0; |
| 407 | visibility: hidden; |
| 408 | z-index: -1; |
| 409 | } |
| 410 | |
| 411 | .nta-wa-radio-select-img span { |
| 412 | display: block; |
| 413 | text-align: center; |
| 414 | } |
| 415 | |
| 416 | .nta-wa-radio-img-wrap { |
| 417 | border: 3px solid #f0f0f0; |
| 418 | border-radius: 5px; |
| 419 | background-color: #ffffff; |
| 420 | padding: 10px; |
| 421 | height: 155px; |
| 422 | margin-bottom: 10px; |
| 423 | transition: all 0.3s; |
| 424 | width: 200px; |
| 425 | } |
| 426 | |
| 427 | .nta-wa-radio-img-wrap img { |
| 428 | width: 100%; |
| 429 | } |
| 430 | |
| 431 | .nta-wa-radio-select-img input:checked + label .nta-wa-radio-img-wrap { |
| 432 | border-color: #2db742; |
| 433 | } |
| 434 | |
| 435 | .nta-wa-radio-select-img input:checked + label span { |
| 436 | font-weight: 600; |
| 437 | } |
| 438 | |
| 439 | .dashicons-editor-help.njt-wa-tooltip { |
| 440 | font-size: 18px; |
| 441 | color: #a0a0a0; |
| 442 | } |
| 443 | |
| 444 | input.njt-wa-pro, |
| 445 | select.njt-wa-pro, |
| 446 | select.njt-wa-pro:hover, |
| 447 | input.njt-wa-pro:hover, |
| 448 | select.njt-wa-pro:focus, |
| 449 | input.njt-wa-pro:focus { |
| 450 | background: rgba(255, 255, 255, 0.5); |
| 451 | border-color: rgba(222, 222, 222, 0.75); |
| 452 | box-shadow: inset 0 1px 2px rgb(0 0 0 / 4%); |
| 453 | color: rgba(51, 51, 51, 0.5); |
| 454 | } |
| 455 | |
| 456 | input.njt-wa-pro:checked::before { |
| 457 | opacity: 0.7; |
| 458 | } |
| 459 | |
| 460 | /* Widget Preview Styles */ |
| 461 | #app-preview .wa__popup_intro p, |
| 462 | #app-preview .wa__popup_notice p, |
| 463 | #app-preview .nta-wa-gdpr p { |
| 464 | margin: 0; |
| 465 | } |
| 466 | |
| 467 | #app-preview .wa__popup_intro p { |
| 468 | font-size: 12px; |
| 469 | } |
| 470 | #app-preview .wa__popup_notice p, |
| 471 | #app-preview .nta-wa-gdpr p { |
| 472 | font-size: 11px; |
| 473 | } |
| 474 | #app-preview .nta-wa-gdpr p:first-child { |
| 475 | display: inline; |
| 476 | } |
| 477 | |
| 478 | .nta-tabs-content #njt-post-selector { |
| 479 | max-width: 100%; |
| 480 | width: 100%; |
| 481 | } |
| 482 | |
| 483 | .form-table th { |
| 484 | white-space: nowrap; |
| 485 | } |
| 486 |