Version 2.5
This commit is contained in:
parent
d17758e420
commit
bcc43cd32b
11
build.sh
11
build.sh
|
@ -26,15 +26,4 @@ mkdir $destination/assets/vendor/bootstrap/css
|
||||||
cp $destination/assets/vendor/bootstrap/scss/bootstrap.min.css $destination/assets/vendor/bootstrap/css/bootstrap.min.css
|
cp $destination/assets/vendor/bootstrap/scss/bootstrap.min.css $destination/assets/vendor/bootstrap/css/bootstrap.min.css
|
||||||
rm -rf $destination/vendor
|
rm -rf $destination/vendor
|
||||||
|
|
||||||
##Bootstrap
|
|
||||||
rm -rf $destination/assets/vendor/ekko-lightbox
|
|
||||||
|
|
||||||
##Slick
|
|
||||||
mkdir -p $destination/assets/vendor/slick/css
|
|
||||||
cp $destination/assets/vendor/slick/slick.min.css $destination/assets/vendor/slick/css/slick.min.css
|
|
||||||
cp $destination/assets/vendor/slick/slick-theme.min.css $destination/assets/vendor/slick/css/slick-theme.min.css
|
|
||||||
mv $destination/assets/vendor/slick/ajax-loader.gif $destination/assets/vendor/slick/css/ajax-loader.gif
|
|
||||||
mv $destination/assets/vendor/slick/fonts/ $destination/assets/vendor/slick/css/fonts/
|
|
||||||
cp $destination/assets/vendor/slick/slick.min.js $destination/assets/vendor/slick/js/slick.min.js
|
|
||||||
|
|
||||||
echo "Compilation finished!"
|
echo "Compilation finished!"
|
||||||
|
|
|
@ -28,12 +28,7 @@ sass bootstrap_custom.scss:../vendor/bootstrap/scss/bootstrap.min.css --style co
|
||||||
echo "Bootstrap style compiled";
|
echo "Bootstrap style compiled";
|
||||||
|
|
||||||
rm -rf .sass-cache
|
rm -rf .sass-cache
|
||||||
cd ../vendor/slick
|
|
||||||
sass slick.scss:slick.min.css --style compressed
|
|
||||||
sass slick-theme.scss:slick-theme.min.css --style compressed
|
|
||||||
echo "Slick for slider carousel compiled";
|
|
||||||
|
|
||||||
rm -rf slick-theme.min.css.map slick.min.css.map .sass-cache/
|
|
||||||
cd ../../../
|
cd ../../../
|
||||||
rm -rf style.css.map
|
rm -rf style.css.map
|
||||||
rm -rf editor-style.css.map
|
rm -rf editor-style.css.map
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"twbs/bootstrap": "4.*",
|
"twbs/bootstrap": "4.*"
|
||||||
"fabianobn/slick": "v1.8.*"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"post-install-cmd": "bash install.sh",
|
"post-install-cmd": "bash install.sh",
|
||||||
|
|
|
@ -1,42 +1,23 @@
|
||||||
{
|
{
|
||||||
"_readme": [
|
"_readme": [
|
||||||
"This file locks the dependencies of your project to a known state",
|
"This file locks the dependencies of your project to a known state",
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "541310851eea37b91951008f7b4bfdf5",
|
"content-hash": "ab71776a6b7465fd9ca9d19c722d59a2",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
|
||||||
"name": "fabianobn/slick",
|
|
||||||
"version": "v1.8.2",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/fabianobn/slick.git",
|
|
||||||
"reference": "62bacb288031d1e370327e0e2aa3c8a582e1d040"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/fabianobn/slick/zipball/62bacb288031d1e370327e0e2aa3c8a582e1d040",
|
|
||||||
"reference": "62bacb288031d1e370327e0e2aa3c8a582e1d040",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"type": "library",
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"description": "This is the atualized Slick Slider used in WordPress",
|
|
||||||
"time": "2018-06-29T17:54:50+00:00"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "twbs/bootstrap",
|
"name": "twbs/bootstrap",
|
||||||
"version": "v4.3.1",
|
"version": "v4.6.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twbs/bootstrap.git",
|
"url": "https://github.com/twbs/bootstrap.git",
|
||||||
"reference": "8fa0d3010112dca5dd6dd501173415856001ba8b"
|
"reference": "043a03c95a2ad6738f85b65e53b9dbdfb03b8d10"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/twbs/bootstrap/zipball/8fa0d3010112dca5dd6dd501173415856001ba8b",
|
"url": "https://api.github.com/repos/twbs/bootstrap/zipball/043a03c95a2ad6738f85b65e53b9dbdfb03b8d10",
|
||||||
"reference": "8fa0d3010112dca5dd6dd501173415856001ba8b",
|
"reference": "043a03c95a2ad6738f85b65e53b9dbdfb03b8d10",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"replace": {
|
"replace": {
|
||||||
|
@ -53,13 +34,13 @@
|
||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
|
||||||
"name": "Jacob Thornton",
|
|
||||||
"email": "jacobthornton@gmail.com"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Mark Otto",
|
"name": "Mark Otto",
|
||||||
"email": "markdotto@gmail.com"
|
"email": "markdotto@gmail.com"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Jacob Thornton",
|
||||||
|
"email": "jacobthornton@gmail.com"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
"description": "The most popular front-end framework for developing responsive, mobile first projects on the web.",
|
||||||
|
@ -74,7 +55,11 @@
|
||||||
"sass",
|
"sass",
|
||||||
"web"
|
"web"
|
||||||
],
|
],
|
||||||
"time": "2019-02-13T16:01:40+00:00"
|
"support": {
|
||||||
|
"issues": "https://github.com/twbs/bootstrap/issues",
|
||||||
|
"source": "https://github.com/twbs/bootstrap/tree/v4.6.1"
|
||||||
|
},
|
||||||
|
"time": "2021-10-28T14:45:21+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": [],
|
"packages-dev": [],
|
||||||
|
@ -84,5 +69,6 @@
|
||||||
"prefer-stable": false,
|
"prefer-stable": false,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": [],
|
"platform": [],
|
||||||
"platform-dev": []
|
"platform-dev": [],
|
||||||
|
"plugin-api-version": "2.0.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,15 +14,6 @@ echo "Copying Bootstrap Framework ...\n";
|
||||||
copy("vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js", "src/assets/vendor/bootstrap/js/bootstrap.min.js");
|
copy("vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js", "src/assets/vendor/bootstrap/js/bootstrap.min.js");
|
||||||
recurse_copy("vendor/twbs/bootstrap/js/src", "src/assets/vendor/bootstrap/js/src");
|
recurse_copy("vendor/twbs/bootstrap/js/src", "src/assets/vendor/bootstrap/js/src");
|
||||||
|
|
||||||
echo "Copying Slick Slider...\n";
|
|
||||||
if (!file_exists("src/assets/vendor/slick")) {
|
|
||||||
mkdir("src/assets/vendor/slick/", 0777, true);
|
|
||||||
mkdir("src/assets/vendor/slick/css", 0777, true);
|
|
||||||
mkdir("src/assets/vendor/slick/js", 0777, true);
|
|
||||||
mkdir("src/assets/vendor/slick/fonts", 0777, true);
|
|
||||||
}
|
|
||||||
recurse_copy("vendor/fabianobn/slick/slick/", "src/assets/vendor/slick/");
|
|
||||||
|
|
||||||
echo "Finished copying files! \n";
|
echo "Finished copying files! \n";
|
||||||
|
|
||||||
function recurse_copy($src,$dst) {
|
function recurse_copy($src,$dst) {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila, r-guimaraes
|
Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila, r-guimaraes
|
||||||
Requires at least: WordPress 4.8
|
Requires at least: WordPress 4.8
|
||||||
Tested up to: WordPress 5.9
|
Tested up to: WordPress 5.9
|
||||||
Version: 2.4.4
|
Version: 2.5
|
||||||
Requires PHP: 5.6
|
Requires PHP: 5.6
|
||||||
Stable tag: trunk
|
Stable tag: trunk
|
||||||
License: GNU General Public License v3
|
License: GNU General Public License v3
|
||||||
|
@ -40,10 +40,6 @@ Popper Copyright (C) Federico Zivolo 2018
|
||||||
Licenses: MIT
|
Licenses: MIT
|
||||||
Source: https://github.com/FezVrasta/popper.js
|
Source: https://github.com/FezVrasta/popper.js
|
||||||
|
|
||||||
Slick, Copyright (c) 2017 Ken Wheeler
|
|
||||||
License: MIT
|
|
||||||
Source: http://github.com/kenwheeler/slick
|
|
||||||
|
|
||||||
Spectrum Colorpicker v1.8.0 Copyright (c) Brian Grinstead
|
Spectrum Colorpicker v1.8.0 Copyright (c) Brian Grinstead
|
||||||
Licenses: MIT
|
Licenses: MIT
|
||||||
Source: https://github.com/bgrins/spectrum
|
Source: https://github.com/bgrins/spectrum
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -63,130 +63,6 @@ jQuery( document ).ready(function( $ ) {
|
||||||
window.location = $( '.tainacan-list-post .table .tainacan-list-collection' ).data( "href" );
|
window.location = $( '.tainacan-list-post .table .tainacan-list-collection' ).data( "href" );
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.single-item-collection--gallery').slick({
|
|
||||||
slidesToShow: 1,
|
|
||||||
slidesToScroll: 1,
|
|
||||||
arrows: true,
|
|
||||||
fade: true,
|
|
||||||
asNavFor: '.single-item-collection--gallery-items',
|
|
||||||
prevArrow: '<button type="button" data-role="none" class="single-item-collection--attachments-prev" aria-label="Previous" role="button" style="display: block;"><i class="tainacan-icon tainacan-icon-arrowleft"></i></button>',
|
|
||||||
nextArrow: '<button type="button" data-role="none" class="single-item-collection--attachments-next" aria-label="Next" role="button" style="display: block;"><i class="tainacan-icon tainacan-icon-arrowright"></i></button>',
|
|
||||||
});
|
|
||||||
|
|
||||||
$( '.single-item-collection--gallery-items' ).slick({
|
|
||||||
asNavFor: '.single-item-collection--gallery',
|
|
||||||
arrows: false,
|
|
||||||
slidesToShow: 7,
|
|
||||||
slidesToScroll: 1,
|
|
||||||
infinite: false,
|
|
||||||
centerMode: false,
|
|
||||||
focusOnSelect: true,
|
|
||||||
autoplay: false,
|
|
||||||
autoplaySpeed: 2000,
|
|
||||||
responsive: [ {
|
|
||||||
breakpoint: 1330,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 6,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 1200,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 5,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 1024,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 4,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 820,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 3,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 640,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 2,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 460,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 1,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// You can unslick at a given breakpoint now by adding:
|
|
||||||
// settings: "unslick"
|
|
||||||
// instead of a settings object
|
|
||||||
]
|
|
||||||
});
|
|
||||||
|
|
||||||
$( '.single-item-collection--attachments' ).slick({
|
|
||||||
prevArrow: '<button type="button" data-role="none" class="single-item-collection--attachments-prev" aria-label="Previous" role="button" style="display: block;"><i class="tainacan-icon tainacan-icon-arrowleft"></i></button>',
|
|
||||||
nextArrow: '<button type="button" data-role="none" class="single-item-collection--attachments-next" aria-label="Next" role="button" style="display: block;"><i class="tainacan-icon tainacan-icon-arrowright"></i></button>',
|
|
||||||
slidesToShow: 7,
|
|
||||||
slidesToScroll: 1,
|
|
||||||
autoplay: false,
|
|
||||||
infinite: true,
|
|
||||||
autoplaySpeed: 2000,
|
|
||||||
responsive: [ {
|
|
||||||
breakpoint: 1330,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 6,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 1200,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 5,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 1024,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 4,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 820,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 3,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 640,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 2,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
breakpoint: 460,
|
|
||||||
settings: {
|
|
||||||
slidesToShow: 1,
|
|
||||||
slidesToScroll: 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// You can unslick at a given breakpoint now by adding:
|
|
||||||
// settings: "unslick"
|
|
||||||
// instead of a settings object
|
|
||||||
]
|
|
||||||
});
|
|
||||||
|
|
||||||
$( '.tainacan-interface-truncate' ).tainacan_interface_truncate();
|
$( '.tainacan-interface-truncate' ).tainacan_interface_truncate();
|
||||||
$( '.tainacan-interface-truncate-term' ).tainacan_interface_truncate_term();
|
$( '.tainacan-interface-truncate-term' ).tainacan_interface_truncate_term();
|
||||||
$( ".trigger" ).on('click', function() {
|
$( ".trigger" ).on('click', function() {
|
||||||
|
@ -204,11 +80,4 @@ jQuery( document ).ready(function( $ ) {
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.margin-pagination .navigation.pagination').addClass('justify-content-center justify-content-md-end');
|
$('.margin-pagination .navigation.pagination').addClass('justify-content-center justify-content-md-end');
|
||||||
|
|
||||||
$(document).on('click', '[data-toggle="lightbox"]', function(event) {
|
|
||||||
event.preventDefault();
|
|
||||||
$(this).ekkoLightbox({
|
|
||||||
showArrows: true,
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,108 +0,0 @@
|
||||||
.modal-backdrop.show {
|
|
||||||
opacity: 1;
|
|
||||||
background-color: rgba(10,10,10,0.85);
|
|
||||||
}
|
|
||||||
.ekko-lightbox {
|
|
||||||
|
|
||||||
.modal-dialog {
|
|
||||||
width: 100% !important;
|
|
||||||
margin: 3.75rem auto;
|
|
||||||
max-width: calc(1400px - 16.667vw) !important;
|
|
||||||
display: flex !important;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.modal-content {
|
|
||||||
background: transparent;
|
|
||||||
border: none;
|
|
||||||
padding: 16px;
|
|
||||||
|
|
||||||
.modal-body {
|
|
||||||
padding: 0;
|
|
||||||
|
|
||||||
.ekko-lightbox-container {
|
|
||||||
height: auto !important;
|
|
||||||
max-height: 100%;
|
|
||||||
max-height: 85vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ekko-lightbox-item {
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
& > * {
|
|
||||||
width: 100%;
|
|
||||||
max-width: calc(100% - 98px) !important; // Enough to fit arrows aside
|
|
||||||
height: auto;
|
|
||||||
max-height: 85vh;
|
|
||||||
}
|
|
||||||
& > img {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
& > iframe {
|
|
||||||
min-height: 80vh;
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
& > audio {
|
|
||||||
min-height: 54px;
|
|
||||||
padding: 12px;
|
|
||||||
}
|
|
||||||
& > a,
|
|
||||||
& > p {
|
|
||||||
z-index: 99;
|
|
||||||
padding: 1rem 4.33337vw;
|
|
||||||
background: white;
|
|
||||||
border-radius: 3px;
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.ekko-lightbox-nav-overlay {
|
|
||||||
display: -ms-flexbox !important;
|
|
||||||
display: flex !important;
|
|
||||||
a {
|
|
||||||
opacity: 1;
|
|
||||||
span {
|
|
||||||
padding: 0;
|
|
||||||
color: white;
|
|
||||||
font-size: 0;
|
|
||||||
}
|
|
||||||
span::before {
|
|
||||||
display: inline-block;
|
|
||||||
font: normal normal normal 56px/1 "TainacanIcons";
|
|
||||||
font-size: 56px !important;
|
|
||||||
line-height: 1;
|
|
||||||
font-size: inherit;
|
|
||||||
text-rendering: auto;
|
|
||||||
vertical-align: middle;
|
|
||||||
line-height: inherit;
|
|
||||||
}
|
|
||||||
&:hover {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
&:first-child {
|
|
||||||
left: -6px;
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
span:before {
|
|
||||||
content: "arrowleft";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:last-child {
|
|
||||||
right: -6px;
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
span:before {
|
|
||||||
content: "arrowright";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -332,30 +332,15 @@
|
||||||
@media only screen and (max-width: 380px) {
|
@media only screen and (max-width: 380px) {
|
||||||
right: -40px;
|
right: -40px;
|
||||||
}
|
}
|
||||||
&.slick-disabled {
|
|
||||||
display: none;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.single-item-collection--attachments-next {
|
.single-item-collection--attachments-next {
|
||||||
right: -50px;
|
right: -50px;
|
||||||
@media only screen and (max-width: 380px) {
|
@media only screen and (max-width: 380px) {
|
||||||
right: -40px;
|
right: -40px;
|
||||||
}
|
}
|
||||||
&.slick-disabled {
|
|
||||||
display: none;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.single-item-collection--gallery {
|
.single-item-collection--gallery {
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
.slick-list {
|
|
||||||
overflow: visible;
|
|
||||||
}
|
|
||||||
.slick-track {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.tainacan-content {
|
.tainacan-content {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
img {
|
img {
|
||||||
|
@ -370,9 +355,6 @@
|
||||||
height: 60vh;
|
height: 60vh;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.slick-slide {
|
|
||||||
max-height: 60vh;
|
|
||||||
}
|
|
||||||
.single-item-collection--attachments-next .tainacan-icon-arrowright::before {
|
.single-item-collection--attachments-next .tainacan-icon-arrowright::before {
|
||||||
content: 'next';
|
content: 'next';
|
||||||
}
|
}
|
||||||
|
@ -389,12 +371,6 @@
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
transition: border 0.3s ease;
|
transition: border 0.3s ease;
|
||||||
}
|
}
|
||||||
.slick-current{
|
|
||||||
font-weight: bold;
|
|
||||||
img {
|
|
||||||
border-bottom: 4px solid var(--tainacan-interface--link-color, #298596);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.tainacan-media-component {
|
.tainacan-media-component {
|
||||||
--tainacan-media-background: white;
|
--tainacan-media-background: white;
|
||||||
|
|
|
@ -4,7 +4,7 @@ Author: Tainacan
|
||||||
Author URI: https://tainacan.org
|
Author URI: https://tainacan.org
|
||||||
Theme URI: https://tainacan.org/blog/category/tema/
|
Theme URI: https://tainacan.org/blog/category/tema/
|
||||||
Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collections with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository.
|
Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collections with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository.
|
||||||
Version: 2.4.4
|
Version: 2.5
|
||||||
Tested up to: 5.9
|
Tested up to: 5.9
|
||||||
Requires PHP: 5.6
|
Requires PHP: 5.6
|
||||||
License: GNU General Public License v3
|
License: GNU General Public License v3
|
||||||
|
@ -1346,8 +1346,6 @@ nav {
|
||||||
|
|
||||||
@import "_header-taxonomy";
|
@import "_header-taxonomy";
|
||||||
|
|
||||||
@import "_lightbox";
|
|
||||||
|
|
||||||
@import "_single-item-collection";
|
@import "_single-item-collection";
|
||||||
|
|
||||||
@import "_tainacan-items-list";
|
@import "_tainacan-items-list";
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/** Theme version */
|
/** Theme version */
|
||||||
const TAINACAN_INTERFACE_VERSION = '2.4.4';
|
const TAINACAN_INTERFACE_VERSION = '2.5';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Setup Theme
|
* Setup Theme
|
||||||
|
|
|
@ -18,26 +18,6 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) {
|
||||||
wp_register_script( 'bootstrap4JS', get_template_directory_uri() . '/assets/vendor/bootstrap/js/bootstrap.min.js', array( 'jquery' ), TAINACAN_INTERFACE_VERSION, true );
|
wp_register_script( 'bootstrap4JS', get_template_directory_uri() . '/assets/vendor/bootstrap/js/bootstrap.min.js', array( 'jquery' ), TAINACAN_INTERFACE_VERSION, true );
|
||||||
wp_enqueue_script( 'bootstrap4JS' );
|
wp_enqueue_script( 'bootstrap4JS' );
|
||||||
|
|
||||||
/**
|
|
||||||
* Slick Slider Carousel
|
|
||||||
*/
|
|
||||||
//Styles
|
|
||||||
wp_register_style( 'SlickCss', get_template_directory_uri() . '/assets/vendor/slick/css/slick.min.css', '', '1.6.1', '' );
|
|
||||||
wp_register_style( 'SlickThemeCss', get_template_directory_uri() . '/assets/vendor/slick/css/slick-theme.min.css', '', '1.6.1', '' );
|
|
||||||
wp_enqueue_style( 'SlickCss' );
|
|
||||||
wp_enqueue_style( 'SlickThemeCss' );
|
|
||||||
//Javascript
|
|
||||||
wp_register_script( 'SlickJS', get_template_directory_uri() . '/assets/vendor/slick/js/slick.min.js', array( 'jquery' ), '1.6.1', true );
|
|
||||||
wp_enqueue_script( 'SlickJS' );
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Ekko Lightbox
|
|
||||||
*/
|
|
||||||
wp_register_style( 'EkkoLightboxCss', get_template_directory_uri() . '/assets/css/ekko-lightbox.css', [], TAINACAN_INTERFACE_VERSION);
|
|
||||||
wp_enqueue_style( 'EkkoLightboxCss' );
|
|
||||||
wp_register_script( 'EkkoLightboxJs', get_template_directory_uri() . '/assets/js/ekko-lightbox.min.js', array('jquery'), TAINACAN_INTERFACE_VERSION, true);
|
|
||||||
wp_enqueue_script( 'EkkoLightboxJs' );
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Google
|
* Google
|
||||||
*/
|
*/
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue