Merge branch 'release/1.4'

This commit is contained in:
Leo Germani 2019-08-27 08:27:06 -03:00
commit f3f5565633
13 changed files with 190 additions and 37 deletions

View File

@ -1,8 +1,8 @@
=== Tainacan Interface ===
Contributors: andrebenedito, daltonmartins, fabianobn, jacsonp, leogermani, weryques, wetah, eduardohumberto, ravipassos, jessicafpx, marinagiolo, omarceloavila
Requires at least: WordPress 4.8
Tested up to: WordPress 5.2.1
Version: 1.3.1
Tested up to: WordPress 5.2.2
Version: 1.4
Requires PHP: 5.6
Stable tag: trunk
License: GNU General Public License v3

View File

@ -67,30 +67,51 @@ jQuery( document ).ready(function( $ ) {
$( '.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: 6,
slidesToShow: 7,
slidesToScroll: 1,
autoplay: true,
autoplay: false,
autoplaySpeed: 2000,
responsive: [ {
breakpoint: 1024,
breakpoint: 1330,
settings: {
slidesToShow: 6,
slidesToScroll: 1
}
},
{
breakpoint: 1200,
settings: {
slidesToShow: 5,
slidesToScroll: 1
}
},
{
breakpoint: 768,
breakpoint: 1024,
settings: {
slidesToShow: 4,
slidesToScroll: 1
}
},
{
breakpoint: 576,
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"

View File

@ -25,7 +25,7 @@ footer {
li{
color: white;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
&.tainacan-side {
h6 {

View File

@ -1,14 +1,14 @@
.alignwide {
margin-left: calc(-8.3333333333vw + 15px) !important;
margin-right: calc(-8.3333333333vw + 15px) !important;
margin-left: calc(-8.3333333333vw + 3.1%) !important;
margin-right: calc(-8.3333333333vw + 3.1%) !important;
width: 116.66667%;
max-width: 1400px;
// 1400px is the maximum the inner cointainer should get, so we
// use 1526px - 1 column - 1 column;
@media only screen and (min-width: 1526px) {
margin-left: calc(-1*(87.5vw - 1415px)/2) !important !important;
margin-right: calc(-1*(87.5vw - 1415px)/2) !important !important;
margin-left: calc(-1*(87.5vw - 1400px)/2) !important !important;
margin-right: calc(-1*(87.5vw - 1400px)/2) !important !important;
}
}
@ -67,4 +67,17 @@
padding: 0.75rem 4.16666667%;
padding: 0.75rem 4.1666667vw;
}
}
/* Carousel */
.wp-block-tainacan-carousel-items-list.alignwide .tainacan-carousel,
.wp-block-tainacan-carousel-collections-list.alignwide .tainacan-carousel {
width: 100%;
left: 0;
}
.wp-block-tainacan-carousel-items-list.alignfull .tainacan-carousel,
.wp-block-tainacan-carousel-collections-list.alignfull .tainacan-carousel {
width: 100%;
width: 100vw;
left: 0;
}

View File

@ -0,0 +1,60 @@
.modal-backdrop.show {
opacity: 1;
background-color: rgba(10,10,10,0.85);
}
.ekko-lightbox {
.modal-dialog {
margin: 3.75rem auto;
}
.modal-content {
border: none;
.modal-body {
padding: 0;
.ekko-lightbox-nav-overlay {
a {
opacity: 1;
span {
padding: 0;
color: white;
font-size: 0;
}
span::before {
display: inline-block;
font: normal normal normal 64px/1 "TainacanIcons";
font-size: 64px !important;
line-height: 1;
font-size: inherit;
text-rendering: auto;
vertical-align: middle;
line-height: inherit;
}
&:hover {
color: white;
}
&:first-child {
left: -64px;
position: relative;
span:before {
content: "arrowleft";
}
}
&:last-child {
right: -64px;
position: relative;
span:before {
content: "arrowright";
}
}
}
}
}
}
}

View File

@ -382,8 +382,15 @@
}
}
.single-item-collection--attachments {
.single-item-collection--attachments-img {
.single-item-collection--attachments-file {
margin: 10px;
text-align: center;
display: inline-block;
vertical-align: top;
@media only screen and (max-width: 380px) {
margin: 10px 0;
}
img {
width: 125px;
height: 125px;
@ -391,17 +398,34 @@
outline: none;
}
}
a:focus {
a {
width: 100%;
max-width: 125px;
margin: 0 auto;
display: inline-block;
font-size: 0.875rem;
text-align: center;
word-break: break-all;
}
a,
a:focus,
a:hover {
outline: none;
text-decoration: none;
cursor: pointer;
color: black;
}
}
.single-item-collection--attachments-prev {
left: -50px;
@media only screen and (max-width: 380px) {
right: -40px;
}
}
.single-item-collection--attachments-next {
right: -10px;
@media only screen and (min-width: 1500px) {
right: -25px;
right: -50px;
@media only screen and (max-width: 380px) {
right: -40px;
}
}
.single-item-collection--attachments-prev, .single-item-collection--attachments-next {
@ -508,6 +532,9 @@
color: #cbcbcb;
margin: 0 8px;
}
.hierarchy-separator {
color: #cbcbcb;
}
.metadata-type-textarea {
.multivalue-separator {
display: block;

View File

@ -8,6 +8,9 @@
padding-left: 8.3333333%;
padding-right: 8.3333333%;
}
.editor-writing-flow__click-redirect {
width: auto;
}
// Inner blocks do not need all that spacing,
// otherwise they won't match their theme result
.editor-inner-blocks,

View File

@ -3,7 +3,7 @@ Theme Name: Tainacan Interface
Author: MediaLab UFG
Author URI: https://tainacan.org
Description: This is the default theme for the Tainacan project. Use this in conjunction with Tainacan plugin to easily manage and publish you digital collectinons with a beautiful faceted search interface. Ideal for museums, galleries, libraries and anyone who have a digital repository.
Version: 1.3.1
Version: 1.4
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
Tags: two-columns, right-sidebar, grid-layout, flexible-header, custom-colors, custom-header, custom-menu, custom-logo, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready, photography, portfolio
@ -830,19 +830,4 @@ nav{
@import "_header-taxonomy";
.ekko-lightbox-nav-overlay {
a {
opacity: 1;
span {
padding: 0;
}
&:first-child {
left: -50px;
position: relative;
}
&:last-child {
right: -50px;
position: relative;
}
}
}
@import "_lightbox";

View File

@ -24,6 +24,9 @@
.components-modal__screen-overlay .editor-block-list__layout {
padding-left: 8.3333333%;
padding-right: 8.3333333%; }
.edit-post-visual-editor.editor-styles-wrapper .editor-writing-flow__click-redirect,
.components-modal__screen-overlay .editor-writing-flow__click-redirect {
width: auto; }
.edit-post-visual-editor.editor-styles-wrapper .editor-inner-blocks,
.edit-post-visual-editor.editor-styles-wrapper .editor-inner-blocks > .editor-block-list__layout,
.components-modal__screen-overlay .editor-inner-blocks,

View File

@ -1,6 +1,6 @@
{
"version": 3,
"mappings": "AAAA;iCACkC;EAE9B,WAAW,EAAE,+BAA+B;EAoB5C,uBAAuB;EAOvB,4BAA4B;EAM5B,4BAA4B;EAQ5B,aAAa;EAYb,gBAAgB;EAmBhB,aAAa;EAkBb,WAAW;EAGX,aAAa;EA2Db,gBAAgB;EA2ChB,YAAY;EAMZ,qBAAqB;EAMrB,kBAAkB;EAelB,iCAAiC;EAuDjC,gBAAgB;EAuBhB,eAAe;EAoBf,SAAS;EAQT,UAAU;EAKV,YAAY;EASZ,8BAA8B;EAnV9B;8DAA2B;IACvB,YAAY,EAAE,UAAU;IACxB,aAAa,EAAE,UAAU;EAI7B;;;qFACgD;IAC5C,YAAY,EAAE,CAAC;IACf,aAAa,EAAE,CAAC;IAEhB;;;iGAAU;MACN,YAAY,EAAE,UAAU;MACxB,WAAW,EAAE,UAAU;EAK/B;6CAAU;IACN,SAAS,EAAE,MAAM;IACjB,WAAW,EAAE,UAAU;IACvB,YAAY,EAAE,UAAU;EAI5B;gEAA6B;IACzB,WAAW,EAAE,IAAI;IACjB,YAAY,EAAE,IAAI;EAItB;gEAA6B;IACzB,SAAS,EAAE,+BAA+B;IAC1C,KAAK,EAAE,+BAA+B;IACtC,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,WAAW;EAI7B;sJAA+G;IAC3G,YAAY,EAAE,UAAU;EAE5B;uJAAgH;IAC5G,WAAW,EAAE,UAAU;EAE3B;qIAA8F;IAC1F,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;EAInB;sDAAmB;IACf,MAAM,EAA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AAa,EAAE,IAAI;EAGvB;6FAAmB;IACf,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,gBAAgB;IAC7B,aAAa,EAAE,gBAAgB;IAC/B,OAAO,EAAE,sBAAsB;IAC/B,UAAU,EAAE,OAAO;IACnB,UAAU,EAAE,IAAI;EAGxB;+EAA2C;IACvC,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,IAAI;IACZ,WAAW,EAAE,CAAC;EAElB;+EAA4C;IACxC,OAAO,EAAE,MAAM;IAEf;0GAAyB;MACrB,KAAK,EAAE,IAAI;MAEX;4IAAgC;QAC5B,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,MAAM;QAEnB;oJAAK;UACD,WAAW,EAAE,CAAC;UACd,YAAY,EAAE,IAAI",
"sources": ["assets/scss/editor-style.scss"],
"names": [],
"file": "editor-style.css"

View File

@ -579,6 +579,18 @@ function tainacan_get_color_scheme_css( $colors ) {
color: {$colors['tainacan_link_color']} !important;
}
.tainacan-content .wp-block-tainacan-carousel-items-list .swiper-button-prev svg,
.tainacan-content .wp-block-tainacan-carousel-items-list .swiper-button-next svg,
.tainacan-content .wp-block-tainacan-carousel-collections-list .swiper-button-prev svg,
.tainacan-content .wp-block-tainacan-carousel-collections-list .swiper-button-next svg {
fill: {$colors['tainacan_link_color']} !important;
}
.tainacan-single-post .single-item-collection--attachments .single-item-collection--attachments-next,
.tainacan-single-post .single-item-collection--attachments .single-item-collection--attachments-prev {
color: {$colors['tainacan_link_color']} !important;
}
/* Header Menu */
nav .dropdown-menu .dropdown-item:hover {
background-color: {$colors['backtransparent']};
@ -586,6 +598,10 @@ function tainacan_get_color_scheme_css( $colors ) {
nav.menu-belowheader #menubelowHeader > ul > li.menu-item a:hover::before {
background-color: {$colors['tainacan_link_color']};
}
nav.menu-belowheader #menubelowHeader ul > li.current_page_item > a,
nav.menu-belowheader #menubelowHeader ul > li.current-menu-item > a {
border-color: {$colors['tainacan_link_color']} !important;
}
nav.menu-belowheader #menubelowHeader ul.show > li.current_page_item > a,
nav.menu-belowheader #menubelowHeader ul.show > li.current-menu-item > a {
border-color: {$colors['tainacan_link_color']};
@ -713,6 +729,12 @@ function tainacan_get_color_scheme_css( $colors ) {
color: {$colors['tainacan_link_color']} !important;
}
/* Buefy's Numberinput */
.theme-items-list .b-numberinput button .mdi::before,
.tainacan-modal-content .b-numberinput button .mdi::before {
color: {$colors['tainacan_link_color']} !important;
}
/* Anchor tag, links, buttons styled as links */
.theme-items-list a, .theme-items-list a:hover,
.tainacan-modal-content a, .tainacan-modal-content a:hover,
@ -742,6 +764,24 @@ function tainacan_get_color_scheme_css( $colors ) {
color: {$colors['tainacan_link_color']} !important;
}
/* Datepicker */
.theme-items-list .filter-item-forms .datepicker .datepicker-header a>span>i:before,
.tainacan-modal-content .filter-item-forms .datepicker .datepicker-header a>span>i:before {
color: {$colors['tainacan_link_color']} !important;
}
.theme-items-list .filter-item-forms .datepicker .datepicker-table .datepicker-cell.is-selected,
.theme-items-list .filter-item-forms .datepicker .datepicker-table .datepicker-cell.is-selected:hover,
.tainacan-modal-content .filter-item-forms .datepicker .datepicker-table .datepicker-cell.is-selected,
.tainacan-modal-content .filter-item-forms .datepicker .datepicker-table .datepicker-cell.is-selected:hover {
background-color: {$colors['tainacan_link_color']} !important;
}
.theme-items-list .filter-item-forms .datepicker .datepicker-table .datepicker-cell.is-today,
.theme-items-list .filter-item-forms .datepicker .datepicker-table .datepicker-cell.is-today:hover,
.tainacan-modal-content .filter-item-forms .datepicker .datepicker-table .datepicker-cell.is-today,
.tainacan-modal-content .filter-item-forms .datepicker .datepicker-table .datepicker-cell.is-today:hover {
background-color: {$colors['tainacan_tooltip_color']} !important;
}
/* Outline Button */
.theme-items-list .button.is-outlined,
.tainacan-modal-content .button.is-outlined,

View File

@ -59,7 +59,7 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) {
wp_enqueue_script( 'tainacan_tainacanJS' );
// Tainacan Icons
wp_register_style( 'TainacanIconsFont', get_template_directory_uri() . '/fonts/tainacan-icons-font/css/tainacanicons.min.css', '', '1.0.2', '' );
wp_register_style( 'TainacanIconsFont', get_template_directory_uri() . '/assets/fonts/tainacan-icons-font/css/tainacanicons.min.css', '', '1.0.2', '' );
wp_enqueue_style( 'TainacanIconsFont' );
/**

View File

@ -81,10 +81,11 @@
<section class="tainacan-content single-item-collection margin-two-column">
<div class="single-item-collection--attachments">
<?php foreach ( $attachments as $attachment ) { ?>
<div class="single-item-collection--attachments-img">
<div class="single-item-collection--attachments-file">
<a href="<?php echo $attachment->guid; ?>" data-toggle="lightbox" data-gallery="example-gallery">
<?php
echo wp_get_attachment_image( $attachment->ID, 'tainacan-interface-item-attachments' );
echo get_the_title( $attachment->ID );
?>
</a>
</div>