Adds lightbox css and js to outside of vendor folder and updates links css to solve #24.

This commit is contained in:
mateuswetah 2019-11-28 11:30:01 -03:00
parent 0182b5d7ab
commit 910418d7c0
7 changed files with 8 additions and 5 deletions

1
.gitignore vendored
View File

@ -4,6 +4,5 @@ build-config.cfg
/src/assets/style.css.map
/src/assets/scss/.sass-cache
/src/assets/vendor/
!/src/assets/vendor/ekko-lightbox/
/src/style.css
/src/vendor/

File diff suppressed because one or more lines are too long

2
src/assets/js/ekko-lightbox.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -46,6 +46,7 @@
}
& > a,
& > p {
z-index: 99;
padding: 1rem 4.33337vw;
background: white;
border-radius: 3px;

@ -1 +0,0 @@
Subproject commit a12102c8913e1b28da086d4072cfdcaa2ce2c92d

View File

@ -33,9 +33,9 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) {
/**
* Ekko Lightbox
*/
wp_register_style( 'EkkoLightboxCss', get_template_directory_uri() . '/assets/vendor/ekko-lightbox/dist/ekko-lightbox.css');
wp_register_style( 'EkkoLightboxCss', get_template_directory_uri() . '/assets/css/ekko-lightbox.css');
wp_enqueue_style( 'EkkoLightboxCss' );
wp_register_script( 'EkkoLightboxJs', get_template_directory_uri() . '/assets/vendor/ekko-lightbox/dist/ekko-lightbox.min.js', array('jquery'), null, true);
wp_register_script( 'EkkoLightboxJs', get_template_directory_uri() . '/assets/js/ekko-lightbox.min.js', array('jquery'), null, true);
wp_enqueue_script( 'EkkoLightboxJs' );
/**

File diff suppressed because one or more lines are too long