Plugin Directory

Changeset 2091609


Ignore:
Timestamp:
05/20/2019 04:15:13 PM (7 years ago)
Author:
Znuff
Message:

Some CSS changes

Location:
wp-imagelightbox/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-imagelightbox/trunk/imagelightbox.css

    r2090594 r2091609  
    8686    transition: all 0.125s linear;
    8787    right: 6.5em;
    88         background-color: #C0DE5D;
    89     background-repeat: no-repeat;
    90     background-position: center center !important;
    91     background-size: 1.75em;
    92     background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PHBhdGggZD0iTTI3LjQxNCAyNC41ODZMMjIuODI4IDIwIDIwIDIyLjgyOGw0LjU4NiA0LjU4NkwyMCAzMmgxMlYyMHpNMTIgMEgwdjEybDQuNTg2LTQuNTg2IDQuNTQzIDQuNTM5IDIuODI4LTIuODI4LTQuNTQzLTQuNTM5em0wIDIyLjgyOEw5LjE3MiAyMGwtNC41ODYgNC41ODZMMCAyMHYxMmgxMmwtNC41ODYtNC41ODZ6TTMyIDBIMjBsNC41ODYgNC41ODYtNC41NDMgNC41MzkgMi44MjggMi44MjggNC41NDMtNC41MzlMMzIgMTJ6Ii8+PC9zdmc+");
     88    background: #C0DE5D url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PHBhdGggZD0iTTI3LjQxNCAyNC41ODZMMjIuODI4IDIwIDIwIDIyLjgyOGw0LjU4NiA0LjU4NkwyMCAzMmgxMlYyMHpNMTIgMEgwdjEybDQuNTg2LTQuNTg2IDQuNTQzIDQuNTM5IDIuODI4LTIuODI4LTQuNTQzLTQuNTM5em0wIDIyLjgyOEw5LjE3MiAyMGwtNC41ODYgNC41ODZMMCAyMHYxMmgxMmwtNC41ODYtNC41ODZ6TTMyIDBIMjBsNC41ODYgNC41ODYtNC41NDMgNC41MzkgMi44MjggMi44MjggNC41NDMtNC41MzlMMzIgMTJ6Ii8+PC9zdmc+") center center/1.75em 1.75em no-repeat !important;
    9389}
    9490
  • wp-imagelightbox/trunk/readme.txt

    r2090847 r2091609  
    4242
    4343== Changelog ==
     44= r10 =
     45* Added !important to our zoom button so it doesn't get overriden by theme styles (hopefully)
     46
    4447= r9 =
    4548* Added a very rudimentary "open in a new tab" button to let the browser handle large images (ie: screenshots)
  • wp-imagelightbox/trunk/wp-imagelightbox.php

    r2090845 r2091609  
    44 * Plugin URI: https://linge-ma.ro/wp-imagelightbox
    55 * Description: Responsive and Touch-Friendly Lightbox for Wordpress, JS by Osvaldas Valutis.
    6  * Version: r9
     6 * Version: r10
    77 * Author: Znuff
    88 * Author URI: https://linge-ma.ro
     
    1111
    1212function iljs_enqueue() {
    13    wp_enqueue_style('imagelightbox', plugin_dir_url(__FILE__).'imagelightbox.css', false, 'r8');
    14    wp_enqueue_script('imagelightbox', plugin_dir_url(__FILE__).'imagelightbox.js', array('jquery'), 'r9', true);
     13   wp_enqueue_style('imagelightbox', plugin_dir_url(__FILE__).'imagelightbox.css', false, 'r10');
     14   wp_enqueue_script('imagelightbox', plugin_dir_url(__FILE__).'imagelightbox.js', array('jquery'), 'r10', true);
    1515}
    1616
    17 
     17// adding the 'data-imagelightbox' attribute to the attachment links
    1818function iljs_mod_tags ($content) {
    1919   global $post;
Note: See TracChangeset for help on using the changeset viewer.