Plugin Directory

Changeset 3390179


Ignore:
Timestamp:
11/05/2025 07:00:34 AM (6 weeks ago)
Author:
naibabiji
Message:

update 2.2

Location:
naiba-coming-soon/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • naiba-coming-soon/trunk/assets/css/admin.css

    r3353745 r3390179  
    464464    }
    465465   
     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   
    466478    /* 功能列表项 */
    467479    .naibabijicsmm-info-box li {
     
    475487    /* 预览框内容 */
    476488    .naibabijicsmm-preview-box ol {
    477         color: #b0b0b0;
     489        color: #c9d1d9;
     490    }
     491   
     492    .naibabijicsmm-preview-box li {
     493        color: #c9d1d9;
    478494    }
    479495   
    480496    .naibabijicsmm-preview-box small {
    481         color: #888;
     497        color: #9ca3af;
    482498    }
    483499   
     
    504520    }
    505521   
     522    .form-table td {
     523        color: #c9d1d9;
     524    }
     525   
    506526    .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;
    508534    }
    509535   
     
    511537    input[type="text"],
    512538    input[type="password"],
    513     textarea {
     539    textarea,
     540    select {
    514541        background: #2d2d2d !important;
    515542        border-color: #3c434a !important;
     
    519546    input[type="text"]:focus,
    520547    input[type="password"]:focus,
    521     textarea:focus {
     548    textarea:focus,
     549    select:focus {
    522550        border-color: #64b5f6 !important;
    523551        box-shadow: 0 0 0 1px #64b5f6 !important;
     552    }
     553   
     554    /* 输入框占位符 */
     555    input::placeholder,
     556    textarea::placeholder {
     557        color: #6b7280 !important;
     558        opacity: 1;
    524559    }
    525560   
     
    527562    .wp-editor-container {
    528563        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;
    529571    }
    530572   
     
    555597        background: #3c434a;
    556598        border-color: #50575e;
    557         color: #c9c9ca;
     599        color: #e2e8f0;
    558600    }
    559601   
     
    562604        background: #50575e;
    563605        border-color: #6c7781;
    564         color: #f0f0f1;
     606        color: #f0f6fc;
    565607    }
    566608   
     
    569611        background: #64b5f6 !important;
    570612        border-color: #64b5f6 !important;
     613        color: #1e1e1e !important;
    571614    }
    572615   
     
    574617        background: #42a5f5 !important;
    575618        border-color: #42a5f5 !important;
     619        color: #1e1e1e !important;
    576620    }
    577621   
     
    593637        border-color: #555;
    594638        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;
    595664    }
    596665}
  • naiba-coming-soon/trunk/includes/class-naibabijicsmm-coming-soon.php

    r3357133 r3390179  
    509509        echo '</label>';
    510510        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>';
    511514    }
    512515   
  • naiba-coming-soon/trunk/languages/naiba-coming-soon-zh_CN.po

    r3353745 r3390179  
    318318"When enabled, visitors can view the website content by entering a password"
    319319msgstr "启用后,游客可以通过输入密码查看网站内容"
     320
     321#: includes/class-naibabijicsmm-coming-soon.php:512
     322msgid "⚠️ Important Notice:"
     323msgstr "⚠️ 重要提示:"
     324
     325#: includes/class-naibabijicsmm-coming-soon.php:512
     326msgid "Caching plugins or CDN may interfere with this password protection feature and prevent it from working correctly."
     327msgstr "缓存插件或者CDN会影响该功能正常工作"
  • naiba-coming-soon/trunk/languages/naiba-coming-soon.pot

    r3353745 r3390179  
    315315"When enabled, visitors can view the website content by entering a password"
    316316msgstr ""
     317
     318#: includes/class-naibabijicsmm-coming-soon.php:512
     319msgid "⚠️ Important Notice:"
     320msgstr ""
     321
     322#: includes/class-naibabijicsmm-coming-soon.php:512
     323msgid "Caching plugins or CDN may interfere with this password protection feature and prevent it from working correctly."
     324msgstr ""
  • naiba-coming-soon/trunk/naiba-coming-soon.php

    r3357133 r3390179  
    44 * Plugin URI: https://blog.naibabiji.com/
    55 * 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.1
     6 * Version: 2.2
    77 * Requires at least: 5.0
    88 * Requires PHP: 7.4
     
    1515 *
    1616 * @package Naibabiji_Coming_Soon
    17  * @version 2.0
     17 * @version 2.2
    1818 * @author Naibabiji
    1919 * @copyright 2024 Naibabiji
     
    3030
    3131// 定义插件常量
    32 define('NAIBABIJICSMM_VERSION', '2.1');
     32define('NAIBABIJICSMM_VERSION', '2.2');
    3333define('NAIBABIJICSMM_PLUGIN_DIR', plugin_dir_path(__FILE__));
    3434define('NAIBABIJICSMM_PLUGIN_URL', plugin_dir_url(__FILE__));
  • naiba-coming-soon/trunk/readme.txt

    r3357133 r3390179  
    55Tested up to: 6.8
    66Requires PHP: 7.4
    7 Stable tag: 2.1
     7Stable tag: 2.2
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    136136
    137137== 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
    138145
    139146= 2.1 =
Note: See TracChangeset for help on using the changeset viewer.