Changeset 2822373
- Timestamp:
- 11/22/2022 07:21:19 PM (3 years ago)
- Location:
- darkmysite
- Files:
-
- 79 added
- 4 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/assets (added)
-
tags/1.0.2/assets/css (added)
-
tags/1.0.2/assets/css/admin_main.css (added)
-
tags/1.0.2/assets/css/button_styles.css (added)
-
tags/1.0.2/assets/img (added)
-
tags/1.0.2/assets/img/darkmysite_icon.svg (added)
-
tags/1.0.2/assets/img/darkmysite_logo.svg (added)
-
tags/1.0.2/assets/img/others (added)
-
tags/1.0.2/assets/img/others/add_icon.svg (added)
-
tags/1.0.2/assets/img/others/add_image_icon.svg (added)
-
tags/1.0.2/assets/img/others/checkbox_tick_icon.svg (added)
-
tags/1.0.2/assets/img/others/delete_red_icon.svg (added)
-
tags/1.0.2/assets/img/others/lock_icon.svg (added)
-
tags/1.0.2/assets/img/others/preset_selected_checkmark.svg (added)
-
tags/1.0.2/assets/img/others/pro_tag.svg (added)
-
tags/1.0.2/assets/img/others/save_icon.svg (added)
-
tags/1.0.2/assets/img/others/select_arrow.svg (added)
-
tags/1.0.2/assets/img/preset (added)
-
tags/1.0.2/assets/img/preset/black.png (added)
-
tags/1.0.2/assets/img/preset/blue.png (added)
-
tags/1.0.2/assets/img/preset/green.png (added)
-
tags/1.0.2/assets/img/preset/orange.png (added)
-
tags/1.0.2/assets/img/preset/pink.png (added)
-
tags/1.0.2/assets/img/sidebar (added)
-
tags/1.0.2/assets/img/sidebar/sidebar_menu_advanced.svg (added)
-
tags/1.0.2/assets/img/sidebar/sidebar_menu_control.svg (added)
-
tags/1.0.2/assets/img/sidebar/sidebar_menu_image.svg (added)
-
tags/1.0.2/assets/img/sidebar/sidebar_menu_preset.svg (added)
-
tags/1.0.2/assets/img/sidebar/sidebar_menu_switch.svg (added)
-
tags/1.0.2/assets/img/switch (added)
-
tags/1.0.2/assets/img/switch/switch_apple.svg (added)
-
tags/1.0.2/assets/img/switch/switch_banana.svg (added)
-
tags/1.0.2/assets/img/switch/switch_cherry.svg (added)
-
tags/1.0.2/assets/img/switch/switch_durian.svg (added)
-
tags/1.0.2/assets/img/switch/switch_elderberry.svg (added)
-
tags/1.0.2/assets/img/switch_icons (added)
-
tags/1.0.2/assets/img/switch_icons/switch_apple_dark.svg (added)
-
tags/1.0.2/assets/img/switch_icons/switch_apple_light.svg (added)
-
tags/1.0.2/assets/img/switch_icons/switch_banana_dark.svg (added)
-
tags/1.0.2/assets/img/switch_icons/switch_banana_light.svg (added)
-
tags/1.0.2/assets/js (added)
-
tags/1.0.2/assets/js/admin_main.js (added)
-
tags/1.0.2/assets/js/client_main.js (added)
-
tags/1.0.2/backend (added)
-
tags/1.0.2/backend/api (added)
-
tags/1.0.2/backend/api/update_settings.php (added)
-
tags/1.0.2/backend/class-darkmysite-admin.php (added)
-
tags/1.0.2/backend/class-darkmysite-ajax.php (added)
-
tags/1.0.2/backend/templates (added)
-
tags/1.0.2/backend/templates/dashboard.php (added)
-
tags/1.0.2/backend/templates/views (added)
-
tags/1.0.2/backend/templates/views/advanced.php (added)
-
tags/1.0.2/backend/templates/views/control.php (added)
-
tags/1.0.2/backend/templates/views/media.php (added)
-
tags/1.0.2/backend/templates/views/preset.php (added)
-
tags/1.0.2/backend/templates/views/sidebar.php (added)
-
tags/1.0.2/backend/templates/views/switch.php (added)
-
tags/1.0.2/backend/templates/views/switch_customize (added)
-
tags/1.0.2/backend/templates/views/switch_customize/apple.php (added)
-
tags/1.0.2/backend/templates/views/switch_customize/banana.php (added)
-
tags/1.0.2/darkmysite.php (added)
-
tags/1.0.2/frontend (added)
-
tags/1.0.2/frontend/class-darkmysite-ajax.php (added)
-
tags/1.0.2/frontend/class-darkmysite-client.php (added)
-
tags/1.0.2/frontend/class-darkmysite-shortcode.php (added)
-
tags/1.0.2/frontend/templates (added)
-
tags/1.0.2/frontend/templates/dashboard.php (added)
-
tags/1.0.2/frontend/templates/views (added)
-
tags/1.0.2/frontend/templates/views/inline_scripts.php (added)
-
tags/1.0.2/frontend/templates/views/inline_styles.php (added)
-
tags/1.0.2/frontend/templates/views/inline_styles_rules.php (added)
-
tags/1.0.2/frontend/templates/views/switch.php (added)
-
tags/1.0.2/includes (added)
-
tags/1.0.2/includes/DarkMySiteExternalSupport.php (added)
-
tags/1.0.2/includes/DarkMySiteSettings.php (added)
-
tags/1.0.2/includes/DarkMySiteUtils.php (added)
-
tags/1.0.2/index.php (added)
-
tags/1.0.2/readme.txt (added)
-
trunk/assets/js/client_main.js (modified) (1 diff)
-
trunk/backend/templates/views/advanced.php (modified) (1 diff)
-
trunk/darkmysite.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
darkmysite/trunk/assets/js/client_main.js
r2821001 r2822373 17 17 18 18 /* Auto exclude elements those has no background color set */ 19 document.querySelectorAll( "div, section, header, footer, main, aside " ).forEach( function(e) {19 document.querySelectorAll( "div, section, header, footer, main, aside, table, thead, tr, th, tbody, td" ).forEach( function(e) { 20 20 if(window.getComputedStyle(e, null).backgroundColor == 'rgba(0, 0, 0, 0)'){ 21 21 e.classList.add("darkmysite_bg_ignore"); -
darkmysite/trunk/backend/templates/views/advanced.php
r2819372 r2822373 44 44 45 45 46 47 <div class="darkmysite_section_header"> 48 <h3>Page Restriction</h3> 49 <p>Allow or Disallow dark mode on WordPress Pages</p> 50 </div> 51 <div class="darkmysite_section_block"> 52 <div class="darkmysite_textarea_setting pro_lock" onclick="darkmysite_show_pro_popup(``, ``)"> 53 <h4>Allow Only Pages</h4> 54 <p>Dark mode will be applied only to these pages.</p> 55 <textarea rows="3"></textarea> 56 <span>Choose the pages only where dark mode and floating switch can work. No other pages will be able to process dark mode.</span> 57 </div> 58 <div class="darkmysite_section_block_separator" style="height: 0; background: transparent;"></div> 59 <div class="darkmysite_textarea_setting pro_lock" onclick="darkmysite_show_pro_popup(``, ``)"> 60 <h4>Disallowed Pages</h4> 61 <p>Dark mode will not be applied to these pages.</p> 62 <textarea rows="3"></textarea> 63 <span>Choose the pages where dark mode and floating switch can not work. Other pages will be able to process dark mode.</span> 64 </div> 65 </div> 66 67 68 69 46 70 <div class="darkmysite_section_header"> 47 71 <h3>Custom CSS</h3> -
darkmysite/trunk/darkmysite.php
r2821001 r2822373 4 4 * Plugin URI: https://darkmysite.com 5 5 * Description: Simplest way to enable dark mode on your website - DarkMySite. 6 * Version: 1.0. 16 * Version: 1.0.2 7 7 * Author: DarkMySite - WP Dark Mode 8 8 * Author URI: https://darkmysite.com … … 19 19 } 20 20 21 defined( 'DARKMYSITE_VERSION' ) or define( 'DARKMYSITE_VERSION', '1.0. 1' );21 defined( 'DARKMYSITE_VERSION' ) or define( 'DARKMYSITE_VERSION', '1.0.2' ); 22 22 defined( 'DARKMYSITE_PATH' ) or define( 'DARKMYSITE_PATH', plugin_dir_path( __FILE__ ) ); 23 23 defined( 'DARKMYSITE_URL' ) or define( 'DARKMYSITE_URL', plugin_dir_url( __FILE__ ) ); -
darkmysite/trunk/readme.txt
r2821001 r2822373 6 6 Requires at least: 4.8 7 7 Tested up to: 6.1 8 Stable tag: 1.0. 18 Stable tag: 1.0.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 18 18 <p>As a website owner, you might want to consider adding dark mode to your website and making it easy for your visitors to enjoy your content without straining their eyes. DarkMySite can make doing so easy, and give you a bit more control over your site’s appearance and usability by creating a dark version of your website. DarkMySite allows your visitors who prefer browsing in dark mode to enable the option via a floating switch in your website. </p> 19 19 20 [youtube https://www.youtube.com/watch?v=277_UYIzHJU] 20 21 21 22 <h3>Multiple Floating Switch</h3> … … 115 116 == Changelog == 116 117 118 = 1.0.2 = 119 New functionality added and minor bugs have been fixed. 120 1. WordPress Page Restriction has been added to allow or disallow dark mode on specific pages 121 2. Issue on applying dark mode on tables has been solved 122 117 123 = 1.0.1 = 118 124 Support for page builder has been added and tested with more than 20 themes.
Note: See TracChangeset
for help on using the changeset viewer.