Compare commits

...

2 Commits

Author SHA1 Message Date
jorge 6d0609858d mods on static templates to show omeka design 2021-06-28 16:23:43 +02:00
jorge 259c040230 mods on tables to fit original design 2021-06-28 16:23:23 +02:00
10 changed files with 215 additions and 18 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

View File

@ -108,10 +108,14 @@ $global-button-cursor: auto;
$global-color-pick-contrast-tolerance: 0;
$print-transparent-backgrounds: true;
$print-hrefs: true;
@include add-foundation-colors;
// arc-hive globals
// --------------
$global-duration-archive: 0.3s; //duration of css transitions
$global-bezier-archive: cubic-bezier(0, 0, 0.43, 1.49);
$global-border-archive: 1px solid $body-font-color;
@include add-foundation-colors;
// 2. Breakpoints
// --------------
@ -249,7 +253,7 @@ $accordion-background: $white;
$accordion-plusminus: true;
$accordion-plus-content: '\002B';
$accordion-minus-content: '\2013';
$accordion-title-font-size: rem-calc(12);
$accordion-title-font-size: $global-font-size;//rem-calc(12);
$accordion-item-color: $body-font-color;
$accordion-item-background-hover: none;
$accordion-item-padding: $global-padding*1.5 0;
@ -815,22 +819,22 @@ $switch-cursor-disabled: not-allowed;
$table-background: $white;
$table-color-scale: 5%;
$table-border: 1px solid smart-scale($table-background, $table-color-scale);
$table-padding: rem-calc(8 10 10);
$table-border: none;//1px solid smart-scale($table-background, $table-color-scale);
$table-padding: $global-padding*1.5 0;//rem-calc(8 10 10);
$table-hover-scale: 2%;
$table-row-hover: darken($table-background, $table-hover-scale);
$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
$table-is-striped: true;
$table-is-striped: false;//true;
$table-striped-background: smart-scale($table-background, $table-color-scale);
$table-stripe: even;
$table-head-background: smart-scale($table-background, $table-color-scale / 2);
$table-head-background: $white;//smart-scale($table-background, $table-color-scale / 2);
$table-head-row-hover: darken($table-head-background, $table-hover-scale);
$table-foot-background: smart-scale($table-background, $table-color-scale);
$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
$table-head-font-color: $body-font-color;
$table-foot-font-color: $body-font-color;
$show-header-for-stacked: false;
$table-stack-breakpoint: medium;
$table-stack-breakpoint: small;
// 51. Tabs
// --------

View File

@ -91,6 +91,7 @@
@import "components/cards";
@import "components/buttons";
@import "components/accordion";
@import "components/tables";
// Templates

View File

@ -1,5 +1,5 @@
.accordion-item {
border-bottom: 1px solid $body-font-color;
border-bottom: $global-border-archive;
}
.accordion-title {
ul,ol {

View File

@ -0,0 +1,13 @@
table {
tr._expand_site_item {
border-top: $global-border-archive;
}
th {
color: $mid-grey;
}
th,td {
font-weight: normal;
padding: $global-padding*1.5;
line-height: 1.6;
}
}

View File

@ -163,7 +163,7 @@
main {
@include xy-grid;
article{
text-align:center;
// text-align:center;
@include card-container();
@include breakpoint(small){
@include xy-cell();
@ -172,13 +172,52 @@
}
@include breakpoint(large){
}
margin-bottom:0;
}
table {
thead,tbody,tfoot {
margin: $global-padding*2;
}
}
}
aside {
}
}
// end news category
// 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
@ -227,7 +266,7 @@
width: 100vw;
margin: 0;
.textwidget {
padding: $global-padding * 2;
padding: $global-padding * 3;
}
}
@include breakpoint(medium){

View File

@ -3,3 +3,5 @@ layout: omeka
---
{{> section-collections-latest}}
{{> section-collections}}

View File

@ -59,8 +59,7 @@
</main>
<aside>
<nav>
<a href="#" class="button hollow">More than 200 Biomedia Artworks</a>
<a href="#" class="button">More than 200 Biomedia Artworks</a>
</nav>
</aside>
</section>

View File

@ -0,0 +1,136 @@
<div class="list-of-sites">
<header>
</header>
<main class="site-list">
<table>
<thead>
<tr>
<th>Title</th>
<th>Artist</th>
<th>Collection</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<tr class="_expand_site_item">
<td>
Hangar
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr style="display:none">
<td>
</td>
<td colspan="3">
<button class="go_to_site_button" onclick="window.location.href = '/s/hangar'">
View
</button>
</td>
</tr>
<tr class="_expand_site_item">
<td>
Modules
</td>
<td>
Chris<br>
</td>
<td>
Hangar people
</td>
<td>
2021-03-09
</td>
</tr>
<tr style="display:none">
<td>
<img src="https://dev-archive.hangar.org/files/large/81/3D-Panoramic-Landscape-Image-768x288.jpg">
</td>
<td colspan="3">
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. <br>
<button class="go_to_site_button" onclick="window.location.href = '/s/modules'">
View
</button>
</td>
</tr>
<tr class="_expand_site_item">
<td>
Trees and cells
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr style="display:none">
<td>
</td>
<td colspan="3">
Here, some footnotes of structural imagination <br>
<button class="go_to_site_button" onclick="window.location.href = '/s/trees-and-cells'">
View
</button>
</td>
</tr>
<tr class="_expand_site_item">
<td>
VideoReplication
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr style="display:none">
<td>
</td>
<td colspan="3">
<button class="go_to_site_button" onclick="window.location.href = '/s/videoreplication'">
View
</button>
</td>
</tr>
<tr class="_expand_site_item">
<td>
Werewolves
</td>
<td>
Antonio + Chris<br>
</td>
<td>
Hangar people
</td>
<td>
2021-03-02
</td>
</tr>
<tr style="display: none;">
<td>
<img src="https://dev-archive.hangar.org/files/large/89/scary-werewolf.jpg">
</td>
<td colspan="3">
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="go_to_site_button" onclick="window.location.href = '/s/Werewolves'">
View
</button>
</td>
</tr>
</tbody>
</table>
</main>
<aside>
</aside>
</div>

View File

@ -1,18 +1,21 @@
<section class="hero">
<main class="slides">
<section class="slide">
<p>ARC-HIVE is a curatorial space that gathers artworks that work in the continuum of biomateriality, from DNA, proteins, and cells to full organisms. They can be manipulation, modification or (re)creation of life and living processes.</p>
<p class="textwidget">Project Arc-hive is an open source digital platform that aggregates, preserves, publishes, distributes and contextualizes a variety of information, knowledge and documentation on art with a focus on biomedia, ensuring open access to a variety of users, and a wide outreach of digital materials across cultural sectors and territories.</p>
</section>
<section class="slide">
<figure>
<img src="{{root}}assets/img/ARC-HIVE-logo.svg" class="logo"/>
<img src="{{root}}assets/imgexample/Kami_Alan-Tod-copy-1920x1080.jpg" class="logo image wp-image-236 attachment-fp-xlarge size-fp-xlarge" style="max-width: 100%; height: auto;" />
</figure>
</section>
</section>
</main>
<aside>
<nav>
<!--button type="button" class="button hollow">search</button-->
<!--button type="button" class="button hollow">collections</button-->
<ul id="menu-home-hero-buttons" class="menu button hollow">
<li id="menu-item-221" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-221">
<a href="https://arc-hive.zone/newsletter/">newsletter</a>
</li>
</ul>
</nav>
</aside>
</section>