blocksy-tainacan/style.css

477 lines
14 KiB
CSS
Raw Normal View History

2020-09-08 00:12:18 +00:00
/**
* Theme Name: Blocksy Tainacan
* Description: A Blocksy Child theme compatible with Tainacan plugin
* Author: Tainacan
2020-09-08 00:12:18 +00:00
* Template: blocksy
* Text Domain: blocksy-tainacan
2020-09-08 00:12:18 +00:00
*/
/* Tainacan Gutenberg Blocks colors */
:root {
--tainacan-block-primary: var(--paletteColor1, #3eaf7c);
--tainacan-block-gray0: var(--backgroundColor, #f8f9fb);
--tainacan-block-gray1: var(--backgroundColor, #f8f9fb);
--tainacan-block-gray2: var(--formBorderInitialColor, #e0e5eb);
--tainacan-block-gray3: var(--formBorderInitialColor, #e0e5eb);
--tainacan-block-gray4: var(--color, rgba(44, 62, 80, 0.9));
--tainacan-block-gray5: var(--headingColor, rgba(44, 62, 80, 1));
}
/* Remaining imports */
/* Tainacan Items list customization */
.theme-items-list {
--tainacan-font-family: var(--fontFamily, inherit);
--tainacan-base-font-size: var(--fontSize, 1em);
--tainacan-secondary: var(--paletteColor1, #3eaf7c);
--tainacan-primary: var(--formBorderInitialColor, #e0e5eb);
--tainacan-background-color: var(--backgroundColor, #f8f9fb);
--tainacan-item-background-color: var(--cardBackground, white);
--tainacan-item-hover-background-color: var(--tainacan-item-background-color, white);
--tainacan-item-heading-hover-background-color: var(--tainacan-item-background-color, white);
--tainacan-input-color: var(--color, rgba(44, 62, 80, 0.9));
--tainacan-input-background-color: var(--formBackgroundInitialColor, white);
--tainacan-input-border-color: var(--formBorderInitialColor, #e0e5eb);
--tainacan-heading-color: var(--headingColor, rgba(44, 62, 80, 1));
--tainacan-label-color: var(--color, rgba(44, 62, 80, 0.9));
--tainacan-info-color: var(--color, rgba(44, 62, 80, 0.9));
/* Tainacan items list view modes */
/* Search control */
/* Filters panel */
/* Items list container */
/* Advanced Search */
}
2020-09-13 23:38:20 +00:00
.theme-items-list:not(.is-fullscreen) {
justify-content: center;
top: -52px !important;
2020-09-13 23:38:20 +00:00
background: transparent !important;
padding: 6px 13px;
display: grid;
grid-template-columns: 1fr minmax(auto, 1300px) 1fr;
grid-template-rows: auto 1fr;
grid-template-areas: ". searchcontrol ." "itemslist itemslist itemslist";
2020-09-13 23:38:20 +00:00
}
.theme-items-list .tainacan-masonry-container .tainacan-masonry-item,
.theme-items-list .tainacan-records-container .tainacan-record,
.theme-items-list .tainacan-cards-container .tainacan-card,
.theme-items-list .tainacan-list-container .tainacan-list {
border-radius: var(--borderRadius, 3px);
box-shadow: var(--boxShadow, 0px 12px 18px -6px rgba(34, 56, 101, 0.04));
border: var(--border, none);
overflow: hidden;
}
.theme-items-list .tainacan-masonry-container .tainacan-masonry-item .metadata-title p,
.theme-items-list .tainacan-records-container .tainacan-record .metadata-title p,
.theme-items-list .tainacan-cards-container .tainacan-card .metadata-title p,
.theme-items-list .tainacan-list-container .tainacan-list .metadata-title p {
font-weight: 500;
}
.theme-items-list .tainacan-masonry-container .tainacan-masonry-item .metadata-value,
.theme-items-list .tainacan-masonry-container .tainacan-masonry-item .metadata-label,
.theme-items-list .tainacan-records-container .tainacan-record .metadata-value,
.theme-items-list .tainacan-records-container .tainacan-record .metadata-label,
.theme-items-list .tainacan-cards-container .tainacan-card .metadata-value,
.theme-items-list .tainacan-cards-container .tainacan-card .metadata-label,
.theme-items-list .tainacan-list-container .tainacan-list .metadata-value,
.theme-items-list .tainacan-list-container .tainacan-list .metadata-label {
font-size: 0.8125em !important;
}
.theme-items-list .tainacan-records-container .tainacan-record,
.theme-items-list .tainacan-list-container .tainacan-list {
background-color: var(--tainacan-item-background-color, white) !important;
}
2020-09-13 23:38:20 +00:00
.theme-items-list .tainacan-cards-container .tainacan-card {
min-height: 215px;
max-height: 215px;
}
.theme-items-list .tainacan-cards-container .tainacan-card .media .list-metadata {
padding: 0.125em 1.375em !important;
}
.theme-items-list .tainacan-cards-container .tainacan-card .media .list-metadata p.metadata-description {
max-height: 12.75em !important;
line-height: 1.25em;
}
.theme-items-list .tainacan-table .column-main-content p {
font-weight: 500;
}
.theme-items-list .tainacan-table td p {
font-size: 0.725em !important;
}
.theme-items-list .search-control {
grid-area: searchcontrol;
border-radius: var(--borderRadius, 3px);
background-color: var(--tainacan-item-background-color, white);
padding: 20px 20px 6px 20px !important;
margin: 5px;
box-shadow: var(--boxShadow, 0px 12px 18px -6px rgba(34, 56, 101, 0.04));
}
.theme-items-list .search-control .search-control-item {
2020-09-13 23:38:20 +00:00
margin-bottom: 20px !important;
}
.theme-items-list #filters-modal {
grid-area: itemslist;
justify-self: start;
align-self: normal;
}
.theme-items-list #filters-modal .modal-content {
padding: 16px 10px;
}
.theme-items-list #filters-modal .modal-content #filters-items-list {
border-radius: var(--borderRadius, 3px);
background-color: var(--tainacan-item-background-color, white);
padding: 20px;
margin: -3px;
box-shadow: var(--boxShadow, 0px 12px 18px -6px rgba(34, 56, 101, 0.04));
}
.theme-items-list #filters-modal .modal-content #filters-items-list .filters-components-list {
margin-bottom: 24px;
}
.theme-items-list #items-list-area {
grid-area: itemslist;
justify-self: end;
align-self: normal;
}
.theme-items-list #items-list-area #items-list-results .table-container {
min-width: 100%;
padding-top: 14px;
padding-left: 10px;
padding-bottom: 14px;
padding-right: 10px;
}
.theme-items-list #items-list-area #items-list-results .pagination-area {
2020-09-13 23:38:20 +00:00
border-top: none;
margin-left: 12px;
margin-right: 12px;
}
.theme-items-list #items-list-area #items-list-results .pagination-area .pagination {
font-weight: bold;
--colorActive: #ffffff;
}
.theme-items-list #items-list-area #items-list-results .pagination-area .pagination .pagination-link {
display: inline-flex;
align-items: center;
justify-content: center;
height: 40px;
width: 42px;
border-radius: 4px;
border: 2px solid transparent;
font-size: 14px;
font-weight: 600;
color: var(--color);
--linkInitialColor: var(--color);
transition: color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955), background 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955), border-color 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.theme-items-list #items-list-area #items-list-results .pagination-area .pagination .pagination-link:hover {
text-decoration: none;
border-color: var(--linkHoverColor);
color: var(--linkHoverColor);
}
.theme-items-list #items-list-area #items-list-results .pagination-area .pagination .pagination-link.is-current {
color: var(--colorActive) !important;
background: var(--linkHoverColor);
}
.theme-items-list .advanced-search-criteria-title hr {
display: none;
}
/* Tooltips and Modals are outside of the items list div */
body:not(.tainacan-admin-page) .tooltip,
body:not(.tainacan-admin-page) .tainacan-modal-content {
--tainacan-font-family: var(--fontFamily, inherit);
--tainacan-base-font-size: var(--fontSize, 1em);
--tainacan-secondary: var(--paletteColor1, #3eaf7c);
--tainacan-primary: var(--formBorderInitialColor, #e0e5eb);
--tainacan-background-color: var(--backgroundColor, #f8f9fb);
--tainacan-input-color: var(--color, rgba(44, 62, 80, 0.9));
--tainacan-input-background-color: var(--formBackgroundInitialColor, white);
--tainacan-input-border-color: var(--formBorderInitialColor, #e0e5eb);
--tainacan-label-color: var(--color, rgba(44, 62, 80, 0.9));
--tainacan-info-color: var(--color, rgba(44, 62, 80, 0.9));
--tainacan-heading-color: var(--headingColor, rgba(44, 62, 80, 1));
}
body:not(.tainacan-admin-page) .tainacan-modal-content {
border-radius: var(--borderRadius, 6px);
}
body:not(.tainacan-admin-page) .tainacan-modal-content .tainacan-modal-title hr {
display: none;
}
body:not(.tainacan-admin-page) .tainacan-modal-content .tabs li {
margin-bottom: 0px;
}
body:not(.tainacan-admin-page) .tainacan-modal-content .modal-card-body {
background-color: var(--tainacan-item-background-color, white);
}
/* Collection Items List */
.tainacan-collection-header {
display: flex;
padding: 36px 18px 28px 18px;
justify-content: center;
align-items: center;
2020-09-13 23:38:20 +00:00
background-color: var(--backgroundColor, #f8f9fb);
background-size: cover;
background-repeat: no-repeat;
}
.tainacan-collection-header .tainacan-collection-header__box {
2020-09-13 23:38:20 +00:00
width: var(--maxSiteWidth, 1290px);
border-radius: var(--borderRadius, 3px);
background-color: var(--tainacan-item-background-color, #fff);
padding: 20px;
box-shadow: var(--boxShadow, 0 12px 18px -6px rgba(34, 56, 101, 0.04));
}
.tainacan-collection-header .tainacan-collection-header__box h1 {
margin-bottom: 12px;
display: inline-block;
}
.tainacan-collection-header .tainacan-collection-header__box .collection-thumbnail {
max-width: var(--tainacan-filter-menu-width-theme, 20%);
float: left;
margin-right: 24px;
}
.tainacan-collection-header .tainacan-collection-header__box .collection-thumbnail img {
border-radius: var(--borderRadius, 3px);
}
2020-09-13 23:38:20 +00:00
/* Single Item Page */
.single-item-data-section h1 {
--fontSize: 30px;
}
.single-item-data-section h2 {
--fontSize: 26px;
}
.single-item-data-section h3 {
--fontSize: 22px;
}
.single-item-data-section h4 {
--fontSize: 20px;
}
.single-item-data-section h5 {
--fontSize: 18px;
}
.single-item-data-section h6 {
--fontSize: 16px;
}
.single-item-data-section .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;
}
.single-item-data-section .tainacan-item-file-download a {
height: 38px;
width: 38px;
display: block;
position: relative;
z-index: 99;
}
.single-item-data-section .tainacan-item-file-download::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-data-section .single-item-collection--document {
display: flex;
justify-content: center;
}
.single-item-data-section .single-item-collection--document:hover .tainacan-item-file-download {
opacity: 1;
transform: scale(1);
}
.single-item-data-section .single-item-collection--document > iframe, .single-item-data-section .single-item-collection--document img.attachment-large {
display: block;
height: auto;
margin: 0 auto;
border: none;
}
.single-item-data-section .single-item-collection--document > audio {
width: 100%;
}
@media only screen and (min-width: 768px) {
.single-item-data-section .single-item-collection--document > iframe {
min-height: 600px;
}
}
@media only screen and (max-width: 576px) {
.single-item-data-section .single-item-collection--document > iframe {
min-height: 429px;
}
}
.single-item-data-section .single-item-collection--document .tainacan-embed-container {
width: 100%;
}
.single-item-data-section .single-item-collection--document .tainacan-embed-container iframe {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.single-item-data-section .s-item-collection--metadata {
height: 100%;
}
.single-item-data-section .s-item-collection--metadata div {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid;
display: inline-block;
width: 100%;
}
.single-item-data-section .s-item-collection--metadata div: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) {
.single-item-data-section .s-item-collection--metadata {
-moz-column-count: 2;
-moz-column-gap: 0;
-moz-column-rule: none;
-webkit-column-count: 2;
-webkit-column-gap: 0;
-webkit-column-rule: none;
column-count: 2;
column-gap: 4rem;
column-rule: none;
}
}
@media only screen and (min-width: 1366px) {
.single-item-data-section .s-item-collection--metadata {
-moz-column-count: 3;
-moz-column-gap: 7rem;
-moz-column-rule: none;
-webkit-column-count: 3;
-webkit-column-gap: 7rem;
-webkit-column-rule: none;
column-count: 3;
column-gap: 7rem;
column-rule: none;
}
}
.single-item-data-section .s-item-collection--metadata h3 {
padding-right: 1rem;
margin-bottom: 0.25rem;
width: 100%;
}
.single-item-data-section .s-item-collection--metadata h3:first-of-type:last-of-type {
display: inline-block;
}
.single-item-data-section .s-item-collection--metadata h4,
.single-item-data-section .s-item-collection--metadata label {
padding-right: 0.875rem;
width: 100%;
}
.single-item-data-section .s-item-collection--metadata h4:first-of-type:last-of-type,
.single-item-data-section .s-item-collection--metadata label:first-of-type:last-of-type {
display: inline-block;
}
.single-item-data-section .s-item-collection--metadata p {
word-wrap: break-word;
}
.single-item-data-section .s-item-collection--metadata .multivalue-separator {
color: #cbcbcb;
margin: 0 8px;
}
.single-item-data-section .s-item-collection--metadata .hierarchy-separator {
color: #cbcbcb;
}
.single-item-data-section .s-item-collection--metadata .metadata-type-compound .multivalue-separator,
.single-item-data-section .s-item-collection--metadata .metadata-type-textarea .multivalue-separator {
display: block;
max-height: 1px;
width: 35px;
background: #cbcbcb;
content: none;
color: transparent;
margin: 0.875rem auto;
}
.single-item-data-section .s-item-collection--metadata .tainacan-compound-group {
padding-left: 1.5rem;
border-left: 1px solid #f2f2f2;
}
/*# sourceMappingURL=style.css.map */