2020-09-23 23:11:03 +00:00
|
|
|
|
|
|
|
/* Single Item Page */
|
2021-07-06 18:11:01 +00:00
|
|
|
.tainacan-item-single-page {
|
2020-12-29 04:33:20 +00:00
|
|
|
|
2021-07-06 18:11:01 +00:00
|
|
|
// Default spacing and alignment, when inside grid.
|
2020-12-29 04:33:20 +00:00
|
|
|
.tainacan-item-section {
|
2021-02-02 13:31:52 +00:00
|
|
|
max-width: var(--block-max-width);
|
2020-12-29 04:33:20 +00:00
|
|
|
align-self: flex-start;
|
|
|
|
align-self: start;
|
2022-09-30 14:22:34 +00:00
|
|
|
margin-bottom: 2.5rem;
|
2020-12-29 04:33:20 +00:00
|
|
|
}
|
2020-12-30 03:31:53 +00:00
|
|
|
|
2021-07-06 18:11:01 +00:00
|
|
|
.tainacan-item-single {
|
|
|
|
|
|
|
|
// Overall page layout structure -------------------
|
|
|
|
@include display-grid;
|
|
|
|
align-items: start;
|
|
|
|
grid-column-gap: 48px;
|
|
|
|
column-gap: 48px;
|
|
|
|
|
|
|
|
.tainacan-item-section--document,
|
|
|
|
.tainacan-item-section--gallery { grid-area: document }
|
|
|
|
.tainacan-item-section--attachments { grid-area: attachments }
|
2022-10-05 15:06:30 +00:00
|
|
|
.tainacan-item-section--metadata,
|
|
|
|
.tainacan-item-section--metadata-sections { grid-area: metadata }
|
2021-07-13 22:51:53 +00:00
|
|
|
.tainacan-item-section--items-related-to-this { grid-area: related }
|
2021-07-06 18:11:01 +00:00
|
|
|
|
|
|
|
&.tainacan-item-single--layout-type-dam {
|
2020-12-30 03:31:53 +00:00
|
|
|
grid-template-areas:
|
2021-07-06 18:11:01 +00:00
|
|
|
'document'
|
|
|
|
'attachments'
|
2021-07-13 22:51:53 +00:00
|
|
|
'metadata'
|
|
|
|
'related';
|
2021-07-06 18:11:01 +00:00
|
|
|
grid-template-columns: 100%;
|
2020-12-30 03:31:53 +00:00
|
|
|
}
|
2021-07-06 18:11:01 +00:00
|
|
|
&.tainacan-item-single--layout-type-dma {
|
|
|
|
grid-template-areas:
|
|
|
|
'document'
|
|
|
|
'metadata'
|
2021-07-13 22:51:53 +00:00
|
|
|
'attachments'
|
|
|
|
'related';
|
2021-07-06 18:11:01 +00:00
|
|
|
grid-template-columns: 100%;
|
|
|
|
}
|
|
|
|
&.tainacan-item-single--layout-type-mda {
|
|
|
|
grid-template-areas:
|
|
|
|
'metadata'
|
|
|
|
'document'
|
2021-07-13 22:51:53 +00:00
|
|
|
'attachments'
|
|
|
|
'related';
|
2021-07-06 18:11:01 +00:00
|
|
|
grid-template-columns: 100%;
|
|
|
|
}
|
|
|
|
&.tainacan-item-single--layout-type-mg {
|
|
|
|
grid-template-areas:
|
|
|
|
'metadata document'
|
|
|
|
'metadata attachments'
|
2021-07-13 22:51:53 +00:00
|
|
|
'metadata related'
|
2021-07-06 18:11:01 +00:00
|
|
|
'metadata .';
|
|
|
|
grid-template-columns: 60% 40%;
|
|
|
|
|
|
|
|
@media only screen and (max-width: 960px) {
|
|
|
|
grid-template-areas:
|
|
|
|
'metadata'
|
|
|
|
'document'
|
2021-07-13 22:51:53 +00:00
|
|
|
'attachments'
|
|
|
|
'related';
|
2021-07-06 18:11:01 +00:00
|
|
|
grid-template-columns: 100% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.tainacan-item-single--layout-type-gm {
|
|
|
|
grid-template-areas:
|
|
|
|
'document metadata'
|
|
|
|
'attachments metadata'
|
2021-07-13 22:51:53 +00:00
|
|
|
'related metadata'
|
2021-07-06 18:11:01 +00:00
|
|
|
'. metadata';
|
|
|
|
grid-template-columns: 60% 40%;
|
2020-12-30 03:31:53 +00:00
|
|
|
|
2021-07-06 18:11:01 +00:00
|
|
|
@media only screen and (max-width: 960px) {
|
|
|
|
grid-template-areas:
|
|
|
|
'document'
|
|
|
|
'attachments'
|
2021-07-13 22:51:53 +00:00
|
|
|
'metadata'
|
|
|
|
'related';
|
2021-07-06 18:11:01 +00:00
|
|
|
grid-template-columns: 100% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.tainacan-item-single--layout-type-gtm {
|
2020-12-30 03:31:53 +00:00
|
|
|
grid-template-areas:
|
2021-07-13 22:51:53 +00:00
|
|
|
'metadata'
|
|
|
|
'related';
|
2021-07-06 18:11:01 +00:00
|
|
|
grid-template-columns: 100%;
|
2020-12-30 03:31:53 +00:00
|
|
|
}
|
2020-12-29 04:33:20 +00:00
|
|
|
|
2021-07-06 18:11:01 +00:00
|
|
|
// Headings and spacing ----------------------------
|
|
|
|
h1 {
|
|
|
|
--fontSize: 30px;
|
2023-07-03 14:18:05 +00:00
|
|
|
--theme-font-size: 30px;
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
2022-05-12 15:05:35 +00:00
|
|
|
h2:not(.tainacan-single-item-section) {
|
|
|
|
--fontSize: 22px;
|
2023-07-03 14:18:05 +00:00
|
|
|
--theme-font-size: 22px;
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
2021-09-27 17:52:22 +00:00
|
|
|
h3:not(.tainacan-metadata-label) {
|
2021-07-06 18:11:01 +00:00
|
|
|
--fontSize: 20px;
|
2023-07-03 14:18:05 +00:00
|
|
|
--theme-font-size: 20px;
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
--fontSize: 18px;
|
2023-07-03 14:18:05 +00:00
|
|
|
--theme-font-size: 18px;
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
|
|
|
h5 {
|
|
|
|
--fontSize: 16px;
|
2023-07-03 14:18:05 +00:00
|
|
|
--theme-font-size: 16px;
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
|
|
|
h6 {
|
|
|
|
--fontSize: 14px;
|
2023-07-03 14:18:05 +00:00
|
|
|
--theme-font-size: 14px;
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
|
|
|
.tainacan-single-item-section {
|
|
|
|
text-align: var(--section-alignment, left);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Metadata list -------------------------------------
|
|
|
|
.tainacan-item-section__metadata {
|
|
|
|
height: 100%;
|
|
|
|
-moz-column-width: var(--metadata-column-width, 400px);
|
|
|
|
-webkit-column-width: var(--metadata-column-width, 400px);
|
|
|
|
column-width: var(--metadata-column-width, 400px);
|
|
|
|
|
|
|
|
div {
|
|
|
|
-webkit-column-break-inside: avoid;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
break-inside: avoid;
|
2023-02-17 15:00:28 +00:00
|
|
|
|
2023-10-27 18:21:31 +00:00
|
|
|
&:not(.tainacan-content-embed__wrapper):not(.tainacan-compound-group):not(.tainacan-compound-metadatum):not(.tainacan-relationship-metadatum-header) {
|
2021-07-06 18:11:01 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2023-02-17 15:00:28 +00:00
|
|
|
&>div,
|
|
|
|
.tainacan-metadatum {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-07-06 18:11:01 +00:00
|
|
|
@media only screen and (min-width: 768px) {
|
|
|
|
-moz-column-gap: 0;
|
|
|
|
-moz-column-rule: none;
|
|
|
|
-webkit-column-gap: 0;
|
|
|
|
-webkit-column-rule: none;
|
|
|
|
column-gap: 4rem;
|
|
|
|
column-rule: none;
|
|
|
|
}
|
|
|
|
@media only screen and (min-width: 1366px) {
|
|
|
|
-moz-column-gap: 7rem;
|
|
|
|
-moz-column-rule: none;
|
|
|
|
-webkit-column-gap: 7rem;
|
|
|
|
-webkit-column-rule: none;
|
|
|
|
column-gap: 7rem;
|
|
|
|
column-rule: none;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
padding-right: 1rem;
|
|
|
|
margin-bottom: 0.25rem;
|
2023-04-11 13:01:52 +00:00
|
|
|
margin-top: 0.5rem;
|
2021-07-06 18:11:01 +00:00
|
|
|
width: 100%;
|
|
|
|
&:first-of-type:last-of-type {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
h4,
|
|
|
|
label {
|
|
|
|
padding-right: 0.875rem;
|
|
|
|
width: 100%;
|
|
|
|
&:first-of-type:last-of-type {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2023-04-11 13:01:52 +00:00
|
|
|
iframe {
|
|
|
|
border: none;
|
|
|
|
}
|
2021-07-06 18:11:01 +00:00
|
|
|
.tainacan-metadata-label {
|
|
|
|
text-align: var(--metadata-label-alignment, left);
|
|
|
|
}
|
|
|
|
.tainacan-metadata-value {
|
|
|
|
text-align: var(--metadata-value-alignment, left);
|
2023-07-03 14:18:05 +00:00
|
|
|
font-family: var(--theme-font-family, var(--fontFamily));
|
|
|
|
font-size: var(--theme-font-size, var(--fontSize));
|
|
|
|
font-weight: var(--theme-font-weight, var(--fontWeight));
|
|
|
|
font-style: var(--theme-font-style, var(--fontStyle, inherit));
|
|
|
|
line-height: var(--theme-line-height, var(--lineHeight));
|
|
|
|
letter-spacing: var(--theme-letter-spacing, var(--letterSpacing));
|
|
|
|
text-transform: var(--theme-text-transform, var(--textTransform));
|
|
|
|
-webkit-text-decoration: var(--theme-text-decoration, var(--textDecoration));
|
|
|
|
text-decoration: var(--theme-text-decoration, var(--textDecoration));
|
2021-07-06 18:11:01 +00:00
|
|
|
margin-bottom: 0.75rem;
|
|
|
|
padding-bottom: 0.75rem;
|
|
|
|
border-bottom: var(--metadata-value-border, 0px solid rgba(125, 125, 125, 0.5));
|
|
|
|
}
|
|
|
|
.tainacan-item-section__metadata-thumbnail img {
|
2023-07-03 14:18:05 +00:00
|
|
|
border-radius: var(--theme-border-radius, var(--borderRadius, 3px));
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
|
|
|
|
2021-11-19 20:24:24 +00:00
|
|
|
p:empty {
|
|
|
|
display: none;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2021-07-06 18:11:01 +00:00
|
|
|
// Metadata type textarea has different separator
|
|
|
|
.multivalue-separator {
|
2023-07-03 14:18:05 +00:00
|
|
|
color: #a5a5a5;
|
2021-07-06 18:11:01 +00:00
|
|
|
margin: 0 8px;
|
|
|
|
}
|
|
|
|
.hierarchy-separator {
|
2023-07-03 14:18:05 +00:00
|
|
|
color: #a5a5a5;
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
2023-02-17 15:00:28 +00:00
|
|
|
.metadata-type-geocoordinate>div {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-07-06 18:11:01 +00:00
|
|
|
.metadata-type-compound,
|
|
|
|
.metadata-type-textarea {
|
|
|
|
.multivalue-separator {
|
|
|
|
display: block;
|
|
|
|
max-height: 1px;
|
2021-08-12 14:54:08 +00:00
|
|
|
width: 45%;
|
2023-07-03 14:18:05 +00:00
|
|
|
background: var(--theme-form-field-border-initial-color, var(--form-field-border-initial-color, #e0e5eb));
|
2021-07-06 18:11:01 +00:00
|
|
|
content: none;
|
|
|
|
color: transparent;
|
|
|
|
margin: 0.875rem auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tainacan-compound-group {
|
2021-11-19 20:24:24 +00:00
|
|
|
padding-top: 0.5em;
|
2022-09-30 14:22:34 +00:00
|
|
|
margin-bottom: .75rem;
|
2021-07-06 18:11:01 +00:00
|
|
|
padding-left: 1.5rem;
|
2023-07-03 14:18:05 +00:00
|
|
|
border-left: 1px solid var(--theme-form-field-border-initial-color, var(--form-field-border-initial-color, #e0e5eb));
|
2021-11-19 20:24:24 +00:00
|
|
|
|
|
|
|
.label {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin-top: 0rem;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&>.multivalue-separator {
|
|
|
|
margin: 1em auto 1.5em -1.5em;
|
|
|
|
}
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
2021-08-12 14:54:08 +00:00
|
|
|
.tainacan-relationship-group {
|
|
|
|
.tainacan-relationship-metadatum {
|
|
|
|
.tainacan-relationship-metadatum-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
img {
|
|
|
|
margin-right: 12px;
|
|
|
|
max-width: 28px;
|
|
|
|
max-height: 28px;
|
|
|
|
}
|
|
|
|
.label {
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tainacan-metadatum {
|
2023-04-11 13:01:52 +00:00
|
|
|
padding-left: 40px;
|
2021-08-12 14:54:08 +00:00
|
|
|
.label {
|
|
|
|
font-size: 1em;
|
|
|
|
line-height: 1em;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&>.multivalue-separator {
|
|
|
|
display: block;
|
|
|
|
max-height: 1px;
|
|
|
|
width: calc(100% - 40px);
|
2023-07-03 14:18:05 +00:00
|
|
|
background: var(--theme-form-field-border-initial-color, var(--form-field-border-initial-color, #e0e5eb));
|
2021-08-12 14:54:08 +00:00
|
|
|
content: none;
|
|
|
|
color: transparent;
|
|
|
|
margin: 0.5em 0 0.5em 40px;
|
|
|
|
}
|
|
|
|
}
|
2021-07-06 18:11:01 +00:00
|
|
|
|
|
|
|
&.metadata-type-2 {
|
2022-05-12 15:27:34 +00:00
|
|
|
.tainacan-item-section__metadatum {
|
2021-07-06 18:11:01 +00:00
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
|
|
.tainacan-metadata-label {
|
|
|
|
flex-basis: 40%;
|
|
|
|
margin-bottom: .75rem;
|
|
|
|
border-right: var(--metadata-label-border, 0px solid rgba(125, 125, 125, 0.5));
|
|
|
|
}
|
|
|
|
.tainacan-metadata-value {
|
|
|
|
flex-basis: 60%;
|
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 767px) {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
.tainacan-metadata-label {
|
|
|
|
flex-basis: 100%;
|
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
}
|
|
|
|
.tainacan-metadata-value {
|
|
|
|
flex-basis: 100%;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-04 22:57:51 +00:00
|
|
|
}
|
2020-09-23 23:11:03 +00:00
|
|
|
|
2023-05-24 13:44:40 +00:00
|
|
|
/* Metadata section layouts */
|
|
|
|
.tainacan-item-section--metadata-sections {
|
|
|
|
.metadata-section-layout--tabs {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.tainacan-item-section {
|
|
|
|
width: 100%;
|
|
|
|
display: none;
|
|
|
|
padding: 2rem 42px 1rem 42px;
|
2023-07-03 14:18:05 +00:00
|
|
|
border-top: 1px solid var(--theme-form-field-border-initial-color, var(--form-field-border-initial-color, #e0e5eb));
|
2023-05-24 13:44:40 +00:00
|
|
|
}
|
|
|
|
label {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0.85;
|
|
|
|
border-bottom: 3px solid transparent;
|
|
|
|
transition: border-bottom 0.2s ease;
|
|
|
|
|
|
|
|
.tainacan-single-item-section {
|
|
|
|
margin: 0.75rem 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
input:checked+label {
|
|
|
|
opacity: 1.0;
|
2023-07-03 14:18:05 +00:00
|
|
|
border-bottom-color: var(--theme-palette-color-1, var(--paletteColor1, #3eaf7c));
|
2023-05-24 13:44:40 +00:00
|
|
|
}
|
|
|
|
input:checked+label+.tainacan-item-section {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
|
|
label {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
.tainacan-item-section {
|
|
|
|
order: 99;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.metadata-section-layout--collapses,
|
|
|
|
.metadata-section-layout--accordion {
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.tainacan-item-section {
|
|
|
|
width: 100%;
|
|
|
|
display: none;
|
|
|
|
padding: 2rem 42px 1rem 42px;
|
2023-07-03 14:18:05 +00:00
|
|
|
border-bottom: 1px solid var(--theme-form-field-border-initial-color, var(--form-field-border-initial-color, #e0e5eb));
|
2023-05-24 13:44:40 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0.85;
|
2023-07-03 14:18:05 +00:00
|
|
|
border-bottom: 1px solid var(--theme-form-field-border-initial-color, var(--form-field-border-initial-color, #e0e5eb));
|
2023-05-24 13:44:40 +00:00
|
|
|
transition: opacity 0.2s ease;
|
|
|
|
|
|
|
|
.tainacan-single-item-section {
|
|
|
|
margin: 0.75rem;
|
|
|
|
}
|
|
|
|
.tainacan-icon {
|
2023-07-03 14:18:05 +00:00
|
|
|
color: var(--theme-palette-color-1, var(--paletteColor1, #3eaf7c));
|
2023-05-24 13:44:40 +00:00
|
|
|
transform: rotate(0deg);
|
|
|
|
transition: transform 0.2s ease;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
font-size: 1.75em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
opacity: 1.0;
|
2023-07-03 14:18:05 +00:00
|
|
|
border-bottom: 1px solid var(--theme-form-field-border-initial-color, var(--form-field-border-initial-color, #e0e5eb));
|
2023-05-24 13:44:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
input {
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
input:checked+label {
|
|
|
|
opacity: 1.0;
|
|
|
|
|
|
|
|
.tainacan-icon {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
input:checked+label+.tainacan-item-section {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Items related to this section */
|
|
|
|
.tainacan-item-section--items-related-to-this .wp-block-tainacan-dynamic-items-list {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tainacan-item-single-page,
|
|
|
|
.tainacan-gallery-above-title {
|
|
|
|
|
2021-04-02 13:58:40 +00:00
|
|
|
// Tainacan Media Component (attachments gallery)
|
|
|
|
.tainacan-media-component {
|
2023-07-03 14:18:05 +00:00
|
|
|
--swiper-theme-color: var(--theme-palette-color-1, var(--paletteColor1, #3eaf7c));
|
|
|
|
--swiper-navigation-color: var(--theme-palette-color-1, var(--paletteColor1, #3eaf7c));
|
2021-04-02 13:58:40 +00:00
|
|
|
--swiper-navigation-size: 2.5rem;
|
|
|
|
--tainacan-media-background: var(--background-color, #ffffff);
|
2021-07-06 18:11:01 +00:00
|
|
|
--tainacan-media-main-carousel-height: var(--document-height, 60vh);
|
|
|
|
--tainacan-media-main-carousel-width: var(--document-width, 100%);
|
|
|
|
--tainacan-media-thumbs-carousel-width: var(--attachments-carousel-width, 100%);
|
|
|
|
--tainacan-media-thumbs-carousel-item-size: var(--attachments-size, 140px);
|
2021-02-28 02:27:10 +00:00
|
|
|
|
2021-07-06 18:11:01 +00:00
|
|
|
.tainacan-media-component__swiper-main {
|
|
|
|
.swiper-slide-metadata__name,
|
|
|
|
.swiper-slide-metadata__caption,
|
|
|
|
.swiper-slide-metadata__description {
|
2023-07-03 14:18:05 +00:00
|
|
|
font-family: var(--theme-font-family, var(--fontFamily));
|
|
|
|
font-size: var(--theme-font-size, var(--fontSize));
|
|
|
|
font-weight: var(--theme-font-weight, var(--fontWeight));
|
|
|
|
font-style: var(--theme-font-style, var(--fontStyle, inherit));
|
|
|
|
line-height: var(--theme-line-height, var(--lineHeight));
|
|
|
|
letter-spacing: var(--theme-letter-spacing, var(--letterSpacing));
|
|
|
|
text-transform: var(--theme-text-transform, var(--textTransform));
|
|
|
|
-webkit-text-decoration: var(--theme-text-decoration, var(--textDecoration));
|
|
|
|
text-decoration: var(--theme-text-decoration, var(--textDecoration));
|
2021-07-06 18:11:01 +00:00
|
|
|
}
|
|
|
|
}
|
2021-04-02 13:58:40 +00:00
|
|
|
.tainacan-media-component__swiper-thumbs {
|
|
|
|
font-weight: normal;
|
|
|
|
transition: font-weight 0.3s ease;
|
2023-05-24 13:44:40 +00:00
|
|
|
|
2020-09-24 02:39:33 +00:00
|
|
|
img {
|
2023-07-03 14:18:05 +00:00
|
|
|
border-radius: var(--theme-border-radius, var(--borderRadius, 3px));
|
2021-04-02 13:58:40 +00:00
|
|
|
border-bottom: 4px solid transparent;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
transition: border 0.3s ease;
|
2020-09-24 02:39:33 +00:00
|
|
|
}
|
2021-04-02 13:58:40 +00:00
|
|
|
|
2022-09-30 14:22:34 +00:00
|
|
|
.swiper-slide-metadata__name {
|
2021-01-04 22:57:51 +00:00
|
|
|
display: block;
|
|
|
|
margin-top: 0.5rem;
|
2023-07-03 14:18:05 +00:00
|
|
|
font-family: var(--theme-font-family, var(--fontFamily));
|
|
|
|
font-size: var(--theme-font-size, var(--fontSize));
|
|
|
|
font-weight: var(--theme-font-weight, var(--fontWeight));
|
|
|
|
font-style: var(--theme-font-style, var(--fontStyle, inherit));
|
|
|
|
line-height: var(--theme-line-height, var(--lineHeight));
|
|
|
|
letter-spacing: var(--theme-letter-spacing, var(--letterSpacing));
|
|
|
|
text-transform: var(--theme-text-transform, var(--textTransform));
|
|
|
|
-webkit-text-decoration: var(--theme-text-decoration, var(--textDecoration));
|
|
|
|
text-decoration: var(--theme-text-decoration, var(--textDecoration));
|
2021-01-04 22:57:51 +00:00
|
|
|
}
|
2020-09-24 02:39:33 +00:00
|
|
|
}
|
|
|
|
}
|
2020-12-29 04:33:20 +00:00
|
|
|
|
2023-05-30 19:20:09 +00:00
|
|
|
@media screen and (min-width: 960px) {
|
|
|
|
// Document and attachments fixed column
|
|
|
|
.tainacan-item-single--affix-column .tainacan-item-section.tainacan-item-section--gallery {
|
|
|
|
position: sticky;
|
|
|
|
top: 2rem;
|
|
|
|
}
|
2022-09-30 14:22:34 +00:00
|
|
|
}
|
|
|
|
|
2020-12-29 04:33:20 +00:00
|
|
|
// Document Download button -------------------------------------
|
|
|
|
.tainacan-item-file-download {
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0);
|
|
|
|
border-radius: 24px;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
2021-08-12 14:54:08 +00:00
|
|
|
bottom: 0px;
|
2020-12-29 04:33:20 +00:00
|
|
|
right: calc(50% - 18px);
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 0;
|
2023-07-03 14:18:05 +00:00
|
|
|
background-color: var(--theme-palette-color-1, var(--paletteColor1, #3eaf7c));
|
2020-12-29 04:33:20 +00:00
|
|
|
color: white;
|
|
|
|
transition: opacity 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
|
2020-12-28 19:39:26 +00:00
|
|
|
|
2020-12-29 04:33:20 +00:00
|
|
|
a {
|
|
|
|
height: 38px;
|
|
|
|
width: 38px;
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
2020-12-28 19:39:26 +00:00
|
|
|
z-index: 99;
|
2021-04-02 13:58:40 +00:00
|
|
|
background: transparent !important;
|
2021-06-25 01:08:34 +00:00
|
|
|
padding: 0px !important;
|
2020-09-30 13:06:00 +00:00
|
|
|
}
|
2020-12-28 19:39:26 +00:00
|
|
|
|
2020-12-29 04:33:20 +00:00
|
|
|
&::after {
|
|
|
|
position: relative;
|
|
|
|
top: -38px;
|
|
|
|
display: inline-block;
|
|
|
|
font: normal normal normal 20px/1 "TainacanIcons";
|
|
|
|
font-size: 1.25rem !important;
|
|
|
|
line-height: 2.25rem;
|
|
|
|
text-rendering: auto;
|
|
|
|
vertical-align: middle;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
font-size: 1.25em;
|
|
|
|
text-transform: none !important;
|
|
|
|
letter-spacing: normal !important;
|
|
|
|
content: 'download';
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2020-12-28 19:39:26 +00:00
|
|
|
}
|
2021-04-14 01:36:47 +00:00
|
|
|
.tainacan-item-section__document {
|
|
|
|
position: relative;
|
2021-05-13 13:08:00 +00:00
|
|
|
|
|
|
|
&>.twitter-tweet,
|
|
|
|
&>iframe.wp-embedded-content {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2021-04-14 01:36:47 +00:00
|
|
|
}
|
|
|
|
.tainacan-media-component__swiper-main,
|
|
|
|
.tainacan-item-section__document {
|
|
|
|
&:hover .tainacan-item-file-download {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
2021-04-02 13:58:40 +00:00
|
|
|
}
|
|
|
|
}
|
2023-05-24 13:44:40 +00:00
|
|
|
}
|
2021-11-19 20:24:24 +00:00
|
|
|
|
2023-05-24 13:44:40 +00:00
|
|
|
// Tainacan Gallery above title
|
|
|
|
.tainacan-gallery-above-title {
|
2023-07-03 14:18:05 +00:00
|
|
|
background-color: var(--tainacan-media-background-color, var(--theme-palette-color-7, var(--paletteColor7)));
|
2023-05-24 13:44:40 +00:00
|
|
|
margin-top: calc(-1 * var(--content-vertical-spacing));
|
|
|
|
margin-bottom: var(--content-vertical-spacing);
|
|
|
|
margin-left: var(--has-boxed, calc(-1 * var(--boxed-content-spacing)));
|
|
|
|
margin-right: var(--has-boxed, calc(-1 * var(--boxed-content-spacing)));
|
|
|
|
padding-top: calc(var(--content-vertical-spacing)/2);
|
|
|
|
padding-bottom: calc(var(--content-vertical-spacing)/2);
|
2022-05-12 15:05:35 +00:00
|
|
|
|
2023-10-27 18:21:31 +00:00
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2023-05-24 13:44:40 +00:00
|
|
|
.tainacan-media-component {
|
2023-07-03 14:18:05 +00:00
|
|
|
--tainacan-media-background: var(--tainacan-media-background-color, var(--theme-palette-color-7, var(--paletteColor7)));
|
|
|
|
--swiper-navigation-color: var(--tainacan-media-accent-color, var(--theme-palette-color-1, var(--paletteColor1)));
|
|
|
|
--swiper-theme-color: var(--tainacan-media-accent-color, var(--theme-palette-color-1, var(--paletteColor1)));
|
2023-05-24 13:44:40 +00:00
|
|
|
--tainacan-label-color: var(--tainacan-media-color, --tainacan-label-color);
|
|
|
|
--tainacan-info-color: var(--tainacan-media-color, --tainacan-info-color);
|
2022-05-12 15:05:35 +00:00
|
|
|
}
|
2023-05-24 13:44:40 +00:00
|
|
|
.tainacan-item-section {
|
|
|
|
margin: 0 auto;
|
2021-11-19 20:24:24 +00:00
|
|
|
}
|
2023-10-27 18:21:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Media gallery with minimum spacing */
|
|
|
|
.tainacan-media-component-wrapper-spacing--minimum {
|
|
|
|
--theme-border-radius: 0px;
|
|
|
|
|
|
|
|
.tainacan-media-component {
|
|
|
|
gap: 0px;
|
|
|
|
|
|
|
|
.tainacan-media-component__swiper-main {
|
|
|
|
ul.swiper-wrapper {
|
|
|
|
max-height: var(--tainacan-media-main-carousel-height, 60vh);
|
|
|
|
}
|
|
|
|
li.swiper-slide {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.swiper-slide-content {
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
a:first-of-type,
|
|
|
|
p:first-of-type {
|
|
|
|
padding: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
img {
|
|
|
|
width: auto;
|
|
|
|
height: 100%;
|
|
|
|
max-width: unset;
|
|
|
|
object-fit: cover;
|
|
|
|
object-position: center;
|
|
|
|
}
|
|
|
|
@media (min-aspect-ratio: 1/1) {
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
video,
|
|
|
|
audio {
|
|
|
|
margin: calc( 1.5 * var(--swiper-navigation-size) );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li.swiper-slide .swiper-slide-metadata {
|
|
|
|
background-color: var(--tainacan-media-background-color,var(--theme-palette-color-7,var(--paletteColor7)));
|
|
|
|
border-radius: 2px;
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
margin: 1rem;
|
|
|
|
bottom: 0;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 99;
|
|
|
|
left: calc( 1.5 * var(--swiper-navigation-size) );
|
|
|
|
}
|
|
|
|
.swiper-button-prev,
|
|
|
|
.swiper-button-next {
|
|
|
|
border-radius: 100em;
|
|
|
|
padding: 1.5em;
|
|
|
|
width: var(--swiper-navigation-size);
|
|
|
|
background: rgba(255,255,255,0.0);
|
|
|
|
transition: background-color 0.2s ease;
|
|
|
|
}
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
.swiper-button-prev,
|
|
|
|
.swiper-button-next {
|
|
|
|
background: var(--tainacan-media-background-color,var(--theme-palette-color-7,var(--paletteColor7)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tainacan-media-component__swiper-thumbs {
|
|
|
|
ul.swiper-wrapper {
|
|
|
|
max-width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
li.swiper-slide {
|
|
|
|
max-width: var(--tainacan-media-thumbs-carousel-item-size, 136px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Media gallery with thumbnails to the left or right */
|
|
|
|
@media only screen and (min-width: 961px) {
|
|
|
|
.tainacan-media-component-wrapper-thumbnails-at--right,
|
|
|
|
.tainacan-media-component-wrapper-thumbnails-at--left {
|
|
|
|
.tainacan-media-component {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 0px;
|
|
|
|
max-height: var(--tainacan-media-main-carousel-height, 60vh);
|
|
|
|
|
|
|
|
.tainacan-media-component__swiper-main {
|
|
|
|
.swiper-slide-content {
|
|
|
|
@media (min-aspect-ratio: 4/3) {
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tainacan-media-component__swiper-thumbs {
|
|
|
|
flex-basis: var(--tainacan-media-thumbs-carousel-item-size, 140px);
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
.swiper-wrapper {
|
|
|
|
max-height: var(--tainacan-media-main-carousel-height, 60vh);
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
margin-left: 0px;
|
|
|
|
margin-right: 0px;
|
|
|
|
|
|
|
|
.swiper-slide {
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin: 0;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.swiper-start-border {
|
|
|
|
background-image: linear-gradient(180deg, var(--tainacan-media-background, #ffffff) 25%, transparent);
|
|
|
|
width: 100%;
|
|
|
|
height: calc(32px + var(--swiper-navigation-size, 44px));
|
|
|
|
}
|
|
|
|
.swiper-end-border {
|
|
|
|
background-image: linear-gradient(0deg, var(--tainacan-media-background, #ffffff) 25%, transparent);
|
|
|
|
width: 100%;
|
|
|
|
height: calc(32px + var(--swiper-navigation-size, 44px));
|
|
|
|
bottom: 0px;
|
|
|
|
top: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tainacan-media-component-wrapper-thumbnails-at--left {
|
|
|
|
.tainacan-media-component__swiper-thumbs {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
.tainacan-media-component__swiper-main {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
.tainacan-media-component {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tainacan-media-component-wrapper-thumbnails-at--right {
|
|
|
|
.tainacan-media-component__swiper-thumbs {
|
|
|
|
margin-left: 0px;
|
|
|
|
}
|
|
|
|
.tainacan-media-component__swiper-main {
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
}
|
2020-09-23 23:11:03 +00:00
|
|
|
}
|