Compare commits
2 Commits
6d0609858d
...
2fda35a322
Author | SHA1 | Date |
---|---|---|
jorge | 2fda35a322 | |
jorge | 1f2153e7ed |
|
@ -6,3 +6,4 @@ dist
|
|||
*.swp
|
||||
.cache
|
||||
.idea
|
||||
src/table-expand.zip
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
import $ from 'jquery';
|
||||
import 'what-input';
|
||||
//https://get.foundation/building-blocks/blocks/table-expand.html
|
||||
$('[data-open-details]').click(function (e) {
|
||||
e.preventDefault();
|
||||
$(this).next().toggleClass('is-active');
|
||||
$(this).toggleClass('is-active');
|
||||
});
|
||||
|
||||
// Foundation JS relies on a global variable. In ES6, all imports are hoisted
|
||||
// to the top of the file so if we used `import` to import Foundation,
|
||||
|
@ -14,4 +20,6 @@ require('foundation-sites');
|
|||
// import './lib/foundation-explicit-pieces';
|
||||
|
||||
|
||||
|
||||
|
||||
$(document).foundation();
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
table {
|
||||
tr._expand_site_item {
|
||||
tbody .table-expand-row{
|
||||
border-top: $global-border-archive;
|
||||
}
|
||||
th {
|
||||
|
@ -11,3 +11,70 @@ table {
|
|||
line-height: 1.6;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --
|
||||
// table expand
|
||||
// https://get.foundation/building-blocks/blocks/table-expand.html
|
||||
|
||||
.table-expand {
|
||||
// margin-top: 5rem;
|
||||
|
||||
td {
|
||||
// color: $dark-gray;
|
||||
}
|
||||
|
||||
tr {
|
||||
// border: 1px solid $light-gray;
|
||||
}
|
||||
|
||||
.text-right {
|
||||
// padding-right: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.table-expand-row {
|
||||
&.is-active {
|
||||
.expand-icon::after {
|
||||
content: '-';
|
||||
}
|
||||
}
|
||||
|
||||
.expand-icon::after {
|
||||
content: '+';
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
// this is where the magic happens
|
||||
.table-expand-row-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.table-expand-row-content {
|
||||
&.is-active {
|
||||
display: table-row;
|
||||
animation: fadeIn ease-in 1;
|
||||
animation-fill-mode: both;
|
||||
animation-duration: 0.5s;
|
||||
}
|
||||
}
|
||||
|
||||
.table-expand-row-nested {
|
||||
column-span: 3;
|
||||
// background-color: $light-gray;
|
||||
&:first-child {
|
||||
column-span: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
// end table expand
|
||||
// --
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
|
||||
.collections-list {
|
||||
@include xy-grid;
|
||||
header,main,aside {
|
||||
header,main{
|
||||
@include xy-cell(12);
|
||||
@include flex;
|
||||
@include flex-align(center,top);
|
||||
|
@ -180,45 +180,18 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
aside {
|
||||
.accordion-content {
|
||||
@include xy-grid(12);
|
||||
figure {
|
||||
@include xy-cell(4);
|
||||
}
|
||||
p {
|
||||
@include xy-cell(6);
|
||||
}
|
||||
}
|
||||
}
|
||||
// end collections category
|
||||
//
|
||||
// collections category
|
||||
//--------------
|
||||
|
||||
.list-of-sites {
|
||||
@include xy-grid;
|
||||
header,.site-list,aside {
|
||||
@include xy-cell(12);
|
||||
@include flex;
|
||||
@include flex-align(center,top);
|
||||
padding: $global-padding*2 0;
|
||||
}
|
||||
header {
|
||||
margin-top: 2*$global-margin;
|
||||
border-top: 1px solid $body-font-color;
|
||||
padding: $global-padding*2 0;
|
||||
}
|
||||
.site-list {
|
||||
@include xy-grid;
|
||||
article, table{
|
||||
@include breakpoint(small){
|
||||
@include xy-cell();
|
||||
}
|
||||
@include breakpoint(medium){
|
||||
}
|
||||
@include breakpoint(large){
|
||||
}
|
||||
margin-bottom:0;
|
||||
}
|
||||
}
|
||||
aside {
|
||||
}
|
||||
}
|
||||
// end collections category
|
||||
//
|
||||
// partners
|
||||
// for big announcemnts
|
||||
//---------------------
|
||||
|
|
|
@ -4,4 +4,4 @@ layout: omeka
|
|||
|
||||
{{> section-collections-latest}}
|
||||
|
||||
{{> section-collections}}
|
||||
<!-- {{> section-collections}} -->
|
||||
|
|
|
@ -3,63 +3,122 @@
|
|||
<header>
|
||||
<h2> Latest in collections</h2>
|
||||
</header>
|
||||
|
||||
<main class="">
|
||||
<article class="">
|
||||
<ul class="accordion" data-responsive-accordion-tabs="accordion small-accordion" data-allow-all-closed="true">
|
||||
<li class="accordion-item" data-accordion-item>
|
||||
<ul class="accordion" data-responsive-accordion-tabs="accordion small-accordion" data-multi-expand="true" data-allow-all-closed="true" data-deep-link="true">
|
||||
<li class="accordion-item title" data-accordion-item disabled>
|
||||
<a href="#" class="accordion-title">
|
||||
<ul class="">
|
||||
<li class="title">Title</li>
|
||||
<li class="artist">Artist</li>
|
||||
<li class="main">Main</li>
|
||||
<li class="category">Category</li>
|
||||
<li class="curator">Artist</li>
|
||||
<li class="collection-name">Collection</li>
|
||||
<li class="date">Date</li>
|
||||
</ul>
|
||||
</a>
|
||||
<div class="accordion-content" data-tab-content>
|
||||
</div>
|
||||
<aside class="accordion-content" data-tab-content>
|
||||
<figure>
|
||||
</figure>
|
||||
<p>
|
||||
</p>
|
||||
</aside>
|
||||
</li>
|
||||
<li class="accordion-item" data-accordion-item>
|
||||
<a href="#" class="accordion-title">
|
||||
<ul class="">
|
||||
<li class="title">Conservation and Digitzation</li>
|
||||
<li class="artist">Marta Louro</li>
|
||||
<li class="category">Instalation</li>
|
||||
<li class="year">2021</li>
|
||||
<li class="title">Hangar</li>
|
||||
<li class="artist"></li>
|
||||
<li class="category"></li>
|
||||
<li class="year"></li>
|
||||
</ul>
|
||||
</a>
|
||||
<div class="accordion-content" data-tab-content>
|
||||
</div>
|
||||
<aside class="accordion-content" data-tab-content>
|
||||
<figure>
|
||||
</figure>
|
||||
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eaque unde quaerat reprehenderit ipsa ipsam, adipisci facere repellendus impedit at, quisquam dicta optio veniam quia nesciunt, inventore quod in neque magni?</p>
|
||||
</aside>
|
||||
</li>
|
||||
|
||||
<li class="accordion-item" data-accordion-item>
|
||||
<a href="#" class="accordion-title">
|
||||
<ul class="">
|
||||
<li class="title">Modules</li>
|
||||
<li class="artist">Chris</li>
|
||||
<li class="category">Hangar people</li>
|
||||
<li class="year">2021-03-09</li>
|
||||
</ul>
|
||||
</a>
|
||||
<aside class="accordion-content" data-tab-content>
|
||||
<img src="https://dev-archive.hangar.org/files/large/81/3D-Panoramic-Landscape-Image-768x288.jpg">
|
||||
<p>You can extend the functionality of Omeka S by writing an add-on component called a module. Zend Framework provides a substantial framework for writing modules, but Omeka S provides extra structure that makes the modules installable, upgradeable, and integratable. You can extend the functionality of Omeka S by writing an add-on component called a module. Zend Framework provides a substantial framework for writing modules, but Omeka S provides extra structure that makes the modules installable, upgradeable, and integratable.</p>
|
||||
<br>
|
||||
<button class="go_to_site_button" onclick="window.location.href = '/s/modules'">
|
||||
View
|
||||
</button>
|
||||
</aside>
|
||||
</li>
|
||||
<li class="accordion-item" data-accordion-item>
|
||||
<a href="#" class="accordion-title">
|
||||
<ul class="">
|
||||
<li class="title">Light Scapes</li>
|
||||
<li class="artist">Kim Doan</li>
|
||||
<li class="category">Performance</li>
|
||||
<li class="year">2021</li>
|
||||
<li class="title">Trees and cells</li>
|
||||
<li class="artist"></li>
|
||||
<li class="category"></li>
|
||||
<li class="year"></li>
|
||||
</ul>
|
||||
</a>
|
||||
<div class="accordion-content" data-tab-content>
|
||||
</div>
|
||||
<aside class="accordion-content" data-tab-content>
|
||||
Here, some footnotes of structural imagination <br>
|
||||
<button class="go_to_site_button" onclick="window.location.href = '/s/trees-and-cells'">
|
||||
View
|
||||
</button>
|
||||
</aside>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="accordion-item" data-accordion-item>
|
||||
<a href="#" class="accordion-title">
|
||||
<ul class="">
|
||||
<li class="title">VideoReplication</li>
|
||||
<li class="artist"></li>
|
||||
<li class="category"></li>
|
||||
<li class="year"></li>
|
||||
</ul>
|
||||
</a>
|
||||
<aside class="accordion-content" data-tab-content>
|
||||
<figure>
|
||||
</figure>
|
||||
<p>
|
||||
<button class="go_to_site_button" onclick="window.location.href = '/s/videoreplication'">
|
||||
View
|
||||
</button>
|
||||
</p>
|
||||
</aside>
|
||||
</li>
|
||||
<li class="accordion-item" data-accordion-item>
|
||||
<a href="#" class="accordion-title">
|
||||
<ul class="">
|
||||
<li class="title">I will grow my burger</li>
|
||||
<li class="artist">Oron Catts and Andy Gracie</li>
|
||||
<li class="category">Research</li>
|
||||
<li class="year">2021</li>
|
||||
<li class="title">Werewolves</li>
|
||||
<li class="artist">Antonio + Chris</li>
|
||||
<li class="category">Hangar people</li>
|
||||
<li class="year">2021-03-02</li>
|
||||
</ul>
|
||||
</a>
|
||||
<div class="accordion-content" data-tab-content>
|
||||
</div>
|
||||
<aside class="accordion-content" data-tab-content>
|
||||
<figure>
|
||||
<img src="https://dev-archive.hangar.org/files/large/89/scary-werewolf.jpg">
|
||||
</figure>
|
||||
<p>
|
||||
The werewolf is a widespread concept in European folklore, existing in many variants, which are related by a common development of a Christian interpretation of underlying European folklore developed during the medieval period. From the early modern period, werewolf beliefs also spread to the New World with colonialism. Belief in werewolves developed in parallel to the belief in witches, in the course of the Late Middle Ages and the Early Modern period. <br>
|
||||
<button class="button small" onclick="window.location.href = '/s/Werewolves'">
|
||||
View
|
||||
</button>
|
||||
</p>
|
||||
</aside>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
|
||||
</main>
|
||||
<aside>
|
||||
<nav>
|
||||
<a href="#" class="button">More than 200 Biomedia Artworks</a>
|
||||
</nav>
|
||||
</aside>
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue