Changeset 3390179
- Timestamp:
- 11/05/2025 07:00:34 AM (6 weeks ago)
- Location:
- naiba-coming-soon/trunk
- Files:
-
- 7 edited
-
assets/css/admin.css (modified) (11 diffs)
-
includes/class-naibabijicsmm-coming-soon.php (modified) (1 diff)
-
languages/naiba-coming-soon-zh_CN.mo (modified) (previous)
-
languages/naiba-coming-soon-zh_CN.po (modified) (1 diff)
-
languages/naiba-coming-soon.pot (modified) (1 diff)
-
naiba-coming-soon.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
naiba-coming-soon/trunk/assets/css/admin.css
r3353745 r3390179 464 464 } 465 465 466 /* 段落文字增强可读性 */ 467 .naibabijicsmm-info-box p, 468 .naibabijicsmm-preview-box p { 469 color: #c9d1d9; 470 } 471 472 /* 强调文字 */ 473 .naibabijicsmm-info-box strong, 474 .naibabijicsmm-preview-box strong { 475 color: #f0f6fc; 476 } 477 466 478 /* 功能列表项 */ 467 479 .naibabijicsmm-info-box li { … … 475 487 /* 预览框内容 */ 476 488 .naibabijicsmm-preview-box ol { 477 color: #b0b0b0; 489 color: #c9d1d9; 490 } 491 492 .naibabijicsmm-preview-box li { 493 color: #c9d1d9; 478 494 } 479 495 480 496 .naibabijicsmm-preview-box small { 481 color: # 888;497 color: #9ca3af; 482 498 } 483 499 … … 504 520 } 505 521 522 .form-table td { 523 color: #c9d1d9; 524 } 525 506 526 .form-table .description { 507 color: #b0b0b0; 527 color: #9ca3af; 528 } 529 530 /* 表单标签 */ 531 .form-table label, 532 .form-table th label { 533 color: #e2e8f0 !important; 508 534 } 509 535 … … 511 537 input[type="text"], 512 538 input[type="password"], 513 textarea { 539 textarea, 540 select { 514 541 background: #2d2d2d !important; 515 542 border-color: #3c434a !important; … … 519 546 input[type="text"]:focus, 520 547 input[type="password"]:focus, 521 textarea:focus { 548 textarea:focus, 549 select:focus { 522 550 border-color: #64b5f6 !important; 523 551 box-shadow: 0 0 0 1px #64b5f6 !important; 552 } 553 554 /* 输入框占位符 */ 555 input::placeholder, 556 textarea::placeholder { 557 color: #6b7280 !important; 558 opacity: 1; 524 559 } 525 560 … … 527 562 .wp-editor-container { 528 563 border-color: #3c434a; 564 background: #1e1e1e; 565 } 566 567 .wp-editor-container iframe, 568 .wp-editor-container textarea { 569 background: #2d2d2d !important; 570 color: #e2e8f0 !important; 529 571 } 530 572 … … 555 597 background: #3c434a; 556 598 border-color: #50575e; 557 color: # c9c9ca;599 color: #e2e8f0; 558 600 } 559 601 … … 562 604 background: #50575e; 563 605 border-color: #6c7781; 564 color: #f0f 0f1;606 color: #f0f6fc; 565 607 } 566 608 … … 569 611 background: #64b5f6 !important; 570 612 border-color: #64b5f6 !important; 613 color: #1e1e1e !important; 571 614 } 572 615 … … 574 617 background: #42a5f5 !important; 575 618 border-color: #42a5f5 !important; 619 color: #1e1e1e !important; 576 620 } 577 621 … … 593 637 border-color: #555; 594 638 border-top-color: #64b5f6; 639 } 640 641 /* WordPress原生表单元素补充 */ 642 .wrap h1, 643 .wrap h2, 644 .wrap h3 { 645 color: #e2e8f0 !important; 646 } 647 648 /* 链接颜色 */ 649 .naibabijicsmm-admin-container a, 650 .naibabijicsmm-info-box a, 651 .naibabijicsmm-preview-box a { 652 color: #64b5f6; 653 } 654 655 .naibabijicsmm-admin-container a:hover, 656 .naibabijicsmm-info-box a:hover, 657 .naibabijicsmm-preview-box a:hover { 658 color: #90caf9; 659 } 660 661 /* 分隔线颜色 */ 662 hr { 663 border-color: #3c434a !important; 595 664 } 596 665 } -
naiba-coming-soon/trunk/includes/class-naibabijicsmm-coming-soon.php
r3357133 r3390179 509 509 echo '</label>'; 510 510 echo '<p class="description">' . esc_html__('When enabled, visitors can view the website content by entering a password', 'naiba-coming-soon') . '</p>'; 511 echo '<div class="notice notice-warning inline" style="margin-top: 10px; margin-bottom: 0;">'; 512 echo '<p><strong>' . esc_html__('⚠️ Important Notice:', 'naiba-coming-soon') . '</strong> ' . esc_html__('Caching plugins or CDN may interfere with this password protection feature and prevent it from working correctly.', 'naiba-coming-soon') . '</p>'; 513 echo '</div>'; 511 514 } 512 515 -
naiba-coming-soon/trunk/languages/naiba-coming-soon-zh_CN.po
r3353745 r3390179 318 318 "When enabled, visitors can view the website content by entering a password" 319 319 msgstr "启用后,游客可以通过输入密码查看网站内容" 320 321 #: includes/class-naibabijicsmm-coming-soon.php:512 322 msgid "⚠️ Important Notice:" 323 msgstr "⚠️ 重要提示:" 324 325 #: includes/class-naibabijicsmm-coming-soon.php:512 326 msgid "Caching plugins or CDN may interfere with this password protection feature and prevent it from working correctly." 327 msgstr "缓存插件或者CDN会影响该功能正常工作" -
naiba-coming-soon/trunk/languages/naiba-coming-soon.pot
r3353745 r3390179 315 315 "When enabled, visitors can view the website content by entering a password" 316 316 msgstr "" 317 318 #: includes/class-naibabijicsmm-coming-soon.php:512 319 msgid "⚠️ Important Notice:" 320 msgstr "" 321 322 #: includes/class-naibabijicsmm-coming-soon.php:512 323 msgid "Caching plugins or CDN may interfere with this password protection feature and prevent it from working correctly." 324 msgstr "" -
naiba-coming-soon/trunk/naiba-coming-soon.php
r3357133 r3390179 4 4 * Plugin URI: https://blog.naibabiji.com/ 5 5 * Description: A professional Coming Soon and Maintenance Mode plugin with password protection and multi-language support. Perfect for websites under development or maintenance. 6 * Version: 2. 16 * Version: 2.2 7 7 * Requires at least: 5.0 8 8 * Requires PHP: 7.4 … … 15 15 * 16 16 * @package Naibabiji_Coming_Soon 17 * @version 2. 017 * @version 2.2 18 18 * @author Naibabiji 19 19 * @copyright 2024 Naibabiji … … 30 30 31 31 // 定义插件常量 32 define('NAIBABIJICSMM_VERSION', '2. 1');32 define('NAIBABIJICSMM_VERSION', '2.2'); 33 33 define('NAIBABIJICSMM_PLUGIN_DIR', plugin_dir_path(__FILE__)); 34 34 define('NAIBABIJICSMM_PLUGIN_URL', plugin_dir_url(__FILE__)); -
naiba-coming-soon/trunk/readme.txt
r3357133 r3390179 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 2. 17 Stable tag: 2.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 136 136 137 137 == Changelog == 138 139 = 2.2 = 140 * **New Feature** - Added password protection impact notice to inform administrators about affected pages and users 141 * **UI Enhancement** - Improved dark mode display with better text contrast and readability 142 * **Visual Optimization** - Enhanced color scheme for dark mode including form elements, labels, and input fields 143 * **Accessibility Improvement** - Optimized text colors for better visibility and compliance with WCAG standards in dark mode 144 * **User Experience** - Refined button and interactive element visibility in dark theme 138 145 139 146 = 2.1 =
Note: See TracChangeset
for help on using the changeset viewer.