2020-09-23 23:11:03 +00:00
|
|
|
|
|
|
|
/* Single Item Page */
|
|
|
|
.single-item-data-section {
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
--fontSize: 30px;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
--fontSize: 26px;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
--fontSize: 22px;
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
--fontSize: 20px;
|
|
|
|
}
|
|
|
|
h5 {
|
|
|
|
--fontSize: 18px;
|
|
|
|
}
|
|
|
|
h6 {
|
|
|
|
--fontSize: 16px;
|
|
|
|
}
|
2020-09-24 02:39:33 +00:00
|
|
|
section{
|
|
|
|
margin-bottom: 2.25rem;
|
|
|
|
}
|
2020-09-23 23:11:03 +00:00
|
|
|
.tainacan-item-file-download {
|
|
|
|
position: absolute;
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0);
|
|
|
|
border-radius: 24px;
|
|
|
|
width: 36px;
|
|
|
|
height: 36px;
|
|
|
|
bottom: -18px;
|
|
|
|
right: calc(50% - 18px);
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 0;
|
|
|
|
background-color: var(--paletteColor1, #3eaf7c);
|
|
|
|
color: white;
|
|
|
|
transition: opacity 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
|
|
|
|
|
|
|
|
a {
|
|
|
|
height: 38px;
|
|
|
|
width: 38px;
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.single-item-collection--document {
|
2020-11-18 01:04:40 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
position: relative;
|
2020-09-23 23:11:03 +00:00
|
|
|
&:hover {
|
|
|
|
.tainacan-item-file-download {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> iframe, img.attachment-large {
|
|
|
|
display: block;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
> audio {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
> iframe {
|
|
|
|
@media only screen and (min-width: 768px){
|
|
|
|
min-height: 600px;
|
|
|
|
}
|
|
|
|
@media only screen and (max-width: 576px){
|
|
|
|
min-height: 429px;
|
|
|
|
}
|
|
|
|
}
|
2020-12-28 19:39:26 +00:00
|
|
|
.tainacan-embed-container {
|
2020-09-23 23:11:03 +00:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-24 02:39:33 +00:00
|
|
|
.single-item-collection--gallery-items {
|
|
|
|
font-weight: normal;
|
|
|
|
transition: font-weight 0.3s ease;
|
|
|
|
|
|
|
|
img {
|
2020-12-28 19:39:26 +00:00
|
|
|
border-radius: var(--borderRadius, 3px);
|
2020-09-24 02:39:33 +00:00
|
|
|
border-bottom: 4px solid transparent;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
transition: border 0.3s ease;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.single-item-collection--attachments-file {
|
|
|
|
&:hover {
|
|
|
|
.tainacan-item-file-download {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
2020-12-28 19:39:26 +00:00
|
|
|
}
|
|
|
|
.single-item-collection--gallery {
|
|
|
|
margin-bottom: 24px;
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.tainacan-content {
|
|
|
|
margin: 0;
|
|
|
|
img {
|
|
|
|
max-height: 60vh;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
video {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
iframe {
|
|
|
|
min-height: 200px;
|
|
|
|
height: 60vh;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-24 02:39:33 +00:00
|
|
|
.single-item-collection--gallery-items,
|
|
|
|
.single-item-collection--attachments {
|
2020-12-28 19:39:26 +00:00
|
|
|
position: relative;
|
|
|
|
padding: 0 60px;
|
|
|
|
|
|
|
|
.swiper-button-disabled {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.swiper-button-next,
|
|
|
|
.swiper-button-prev {
|
|
|
|
top: 65px;
|
|
|
|
}
|
|
|
|
.swiper-slide-thumb-active {
|
|
|
|
font-weight: bold;
|
|
|
|
img {
|
|
|
|
border-bottom: 4px solid var(--paletteColor1, #3eaf7c);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2020-09-24 02:39:33 +00:00
|
|
|
.single-item-collection--attachments-file {
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: top;
|
|
|
|
cursor: pointer;
|
|
|
|
word-break: break-all;
|
|
|
|
font-size: 0.875em;
|
2020-12-28 19:39:26 +00:00
|
|
|
//padding: 0 6px;
|
2020-09-24 02:39:33 +00:00
|
|
|
|
|
|
|
@media only screen and (max-width: 380px) {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2020-12-28 19:39:26 +00:00
|
|
|
border-radius: var(--borderRadius, 3px);
|
|
|
|
width: 140px;
|
|
|
|
height: 140px;
|
2020-09-24 02:39:33 +00:00
|
|
|
object-fit: cover;
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
width: 100%;
|
2020-12-28 19:39:26 +00:00
|
|
|
max-width: 140px;
|
2020-09-24 02:39:33 +00:00
|
|
|
font-size: 0.875rem;
|
|
|
|
text-align: center;
|
|
|
|
word-break: break-all;
|
|
|
|
line-height: 1.5rem
|
|
|
|
}
|
|
|
|
a,
|
|
|
|
a:focus,
|
|
|
|
a:hover {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
.attachment-without-image img {
|
|
|
|
padding: 36px;
|
|
|
|
background-color: #dbdbdb;
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-28 19:39:26 +00:00
|
|
|
--swiper-theme-color: var(--paletteColor1, #3eaf7c);
|
|
|
|
--swiper-navigation-color: var(--paletteColor1, #3eaf7c);
|
2020-11-18 01:04:40 +00:00
|
|
|
.single-item-collection--metadata {
|
2020-09-23 23:11:03 +00:00
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
div {
|
|
|
|
-webkit-column-break-inside: avoid;
|
|
|
|
page-break-inside: avoid;
|
|
|
|
break-inside: avoid;
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
&:last-child {
|
|
|
|
-webkit-column-break-inside: auto;
|
|
|
|
page-break-inside: auto;
|
|
|
|
break-inside: auto;
|
|
|
|
display: inline-block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@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;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Metadata type textarea has different separator
|
|
|
|
.multivalue-separator {
|
|
|
|
color: #cbcbcb;
|
|
|
|
margin: 0 8px;
|
|
|
|
}
|
|
|
|
.hierarchy-separator {
|
|
|
|
color: #cbcbcb;
|
|
|
|
}
|
|
|
|
.metadata-type-compound,
|
|
|
|
.metadata-type-textarea {
|
|
|
|
.multivalue-separator {
|
|
|
|
display: block;
|
|
|
|
max-height: 1px;
|
|
|
|
width: 35px;
|
|
|
|
background: #cbcbcb;
|
|
|
|
content: none;
|
|
|
|
color: transparent;
|
|
|
|
margin: 0.875rem auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tainacan-compound-group {
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
border-left: 1px solid #f2f2f2;
|
|
|
|
}
|
|
|
|
}
|
2020-09-30 13:06:00 +00:00
|
|
|
|
2020-12-28 19:39:26 +00:00
|
|
|
// Photoswip zoom
|
|
|
|
.pswp__zoom-wrap .attachment-without-image {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-09-30 13:06:00 +00:00
|
|
|
|
2020-12-28 19:39:26 +00:00
|
|
|
& > iframe {
|
|
|
|
min-height: 80vh;
|
|
|
|
width: 80%;
|
|
|
|
border: none;
|
2020-09-30 13:06:00 +00:00
|
|
|
}
|
2020-12-28 19:39:26 +00:00
|
|
|
|
|
|
|
& > a,
|
|
|
|
& > p {
|
|
|
|
z-index: 99;
|
|
|
|
padding: 1rem 4.33337vw;
|
|
|
|
background: white;
|
|
|
|
border-radius: var(--borderRadius, 3px);
|
|
|
|
word-wrap: break-word;
|
2020-09-30 13:06:00 +00:00
|
|
|
}
|
2020-12-28 19:39:26 +00:00
|
|
|
& > audio,
|
|
|
|
& > video {
|
|
|
|
min-height: 54px;
|
|
|
|
padding: 12px;
|
2020-09-30 13:06:00 +00:00
|
|
|
}
|
2020-12-28 19:39:26 +00:00
|
|
|
|
|
|
|
}
|
2020-09-23 23:11:03 +00:00
|
|
|
}
|