Compare commits

..

No commits in common. "0ce8f05c6f4c2bc5d7761de2e54b280f5318a0e5" and "abb51ac63a6ddd4e6595f5994ee2b0e1129fc3a6" have entirely different histories.

13 changed files with 70 additions and 125 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

View File

@ -1,33 +1,3 @@
.card { .card {
padding: $global-padding; padding: $global-padding;
} }
.collection-card {
ul {
&.arc-site-meta {
list-style: none;
margin: $global-margin 0;
li {
&:before{
content:'';
display: inline-block;
width: rem-calc(150);
min-height: rem-calc($global-lineheight);
}
&.artist:before {
content:'Artist';
}
&.date:before {
content: 'Year';
}
&.collection:before {
content: 'Collection';
}
&.tech-document-link:before {
//content: 'Keywords';
display:inline;
width: 0;
}
}
}
}
}

View File

@ -39,7 +39,7 @@
//@include foundation-switch; //@include foundation-switch;
@include foundation-table; @include foundation-table;
// Basic components // Basic components
//@include foundation-badge; @include foundation-badge;
@include foundation-breadcrumbs; @include foundation-breadcrumbs;
@include foundation-callout; @include foundation-callout;
@include foundation-card; @include foundation-card;
@ -82,7 +82,6 @@
// global project styles // global project styles
@import "global/print-pdf";
@import "global/wp-overrides"; //errors @import "global/wp-overrides"; //errors
@import "global/wp-admin"; //errors @import "global/wp-admin"; //errors
@import "global/typography"; @import "global/typography";

View File

@ -66,17 +66,14 @@ body:not(.browse) #content {
// } // }
} }
// line breaks generated by omekas
.break { .break {
width: 100%; // width: 100%;
margin: (2 * $global-margin) 0; // margin: (2 * $global-margin) 0;
clear: both; // clear: both;
} }
.break.opaque { .break.opaque {
border-top: 1px solid $body-background; // border-top: 1px solid $light-gray;
}
.break.transparent {
border-top: none;
} }
/* Styles for vertical menu layout */ /* Styles for vertical menu layout */

View File

@ -68,25 +68,32 @@ main {
} }
// //
// // page category
// .contain selector for max-width
//-------------- //--------------
.contain-width { .index{
.entry-content,.omekas-entry-content { main {
@include breakpoint(small){ article {
header {
.entry-title {
}
} }
@include breakpoint(medium){ section {
max-width: 50rem;
} }
@include breakpoint(xlarge){ .entry-content,.omekas-entry-content {
max-width: 50rem; @include breakpoint(small){
}
@include breakpoint(medium){
max-width: unset;
}
@include breakpoint(xlarge){
max-width: unset;
}
} }
} }
}
} }
// //
// news category // news category
//-------------- //--------------
@ -188,7 +195,7 @@ main {
article { article {
@include card-container(); @include card-container();
@include xy-cell(); @include xy-cell();
width: 100%; width: 100%;
padding: 0; padding: 0;
margin: 0; margin: 0;
@include breakpoint(small){ @include breakpoint(small){
@ -391,42 +398,12 @@ main {
aside { aside {
background-color: $white; background-color: $white;
flex-direction: column; flex-direction: column;
align-items: center; align-content: center;
h2 { h2 {
margin: $global-margin; margin: $global-margin;
} }
} }
} }
&.collections-all {
}
&.collection-single {
.slides{
background-color: unset;
.slide {
margin:0 auto;
height: unset;
width: 100vw;
max-height: 10rem;
@include breakpoint(large){
height: unset;
}
img,.arc-page-header-img {
background-repeat: no-repeat;
background-size: contain;
width: 100vw;
}
}
}
aside {
nav {
width: 100vw;
border-top: $global-border-archive;
border-bottom: $global-border-archive;
margin: 0;
}
}
}
} }
//end hero //end hero

View File

@ -1,8 +1,4 @@
<?php <?php
//
// as for 2021 07 28 this template is not being used
// consider deleting it
//
$archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta'); $archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
?> ?>

View File

@ -11,8 +11,7 @@ $hasResults = false;
<?php <?php
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($this->site); $img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($this->site);
if (!$img_src) { if (!$img_src) {
//$img_src = '/themes/archive/asset/img/default-header-image.jpg'; $img_src = '/themes/archive/asset/img/default-header-image.jpg';
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
} }
if ($this->site->title() == "Collections") { if ($this->site->title() == "Collections") {
$image_height = "300px"; $image_height = "300px";

View File

@ -17,6 +17,14 @@
</main> </main>
<nav> <nav>
<menu class=""> <menu class="">
<ul>
<li>
Este menu no lo genera Omeka.
</li>
<li>
Creo que emula el menu del wordpress.
</li>
</ul>
<?php /* <?php /*
echo $site->publicNav() echo $site->publicNav()
->menu() ->menu()

View File

@ -11,23 +11,23 @@
title="an arc-hive project" title="an arc-hive project"
alt="arc-hive logo" /> alt="arc-hive logo" />
<?php endif; ?> <?php endif; ?>
<h1 class="site-name"> <h1 class="site-name"><?php echo $site->title(); ?></h1>
<?php echo $site->title(); ?> <h2 class="site-description">an integrative digital bio-art platform</h2>
</h1>
<h2 class="site-description">
an integrative digital bio-art platform
</h2>
</a> </a>
</main> </main>
<nav> <nav>
<menu class=""> <menu class="">
<?php // <ul>
// Segun el diseño, este menu no existe <li>
// ---------- Segun el diseño, este menu no existe
// echo $site->publicNav() </li>
// ->menu() </ul>
// ->setPartial('common/foundation-navigation.phtml') <?php /*
// ->renderPartialWithParams(['layout' => 'dropdown']); echo $site->publicNav()
->menu()
->setPartial('common/foundation-navigation.phtml')
->renderPartialWithParams(['layout' => 'dropdown']);
*/
?> ?>
</menu> </menu>
</nav> </nav>

View File

@ -1,34 +1,34 @@
<section class="hero omeka collections-all"> <section class="hero omeka">
<main class="slides"> <main class="slides">
<?php if ($this->themeSetting('logo')): ?> <?php if ($this->themeSetting('logo')): ?>
<section class="slide"> <section class="slide">
<figure> <figure>
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>" <img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
title="<?php echo $site->title(); ?>"
alt="<?php echo $site->title(); ?>" alt="<?php echo $site->title(); ?>"
title="<?php echo $site->title(); ?>"
class="logo" /> class="logo" />
</figure> </figure>
</section> </section>
<?php else: ?> <?php else: ?>
<section class="slide"> <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> -->
<figure> <figure>
<img src="<?php echo $this->assetUrl('img/ARC-HIVE-logo.svg');?>" <img src="<?php echo $this->assetUrl('img/ARC-HIVE-logo.svg');?>"
class="logo"
title="an arc-hive project" title="an arc-hive project"
alt="arc-hive logo" alt="arc-hive logo" />
class="logo" />
</figure> </figure>
</section> </section>
<?php endif; ?> <?php endif; ?>
</main> </main>
<aside> <aside>
<h2 class="site-title"> <h2>
<a href="<?= $this->site->url() ?>"> <a href="<?= $this->site->url() ?>">
<?= $this->site->title() ?> <?= $this->site->title() ?>
</a> </a>
</h2> </h2>
<nav class=""> <?php echo $this->partial('common/search-form.phtml'); ?>
<?php echo $this->partial('common/search-form.phtml'); ?>
</nav>
</aside> </aside>
</section> </section>

View File

@ -1,28 +1,27 @@
<section class="hero omeka collection-single"> <section class="hero omeka">
<main class="slides"> <main class="slides">
<section class="slide"> <section class="slide">
<figure> <figure>
<img <img class="arc-page-header-img"
title="an arc-hive project" title="an arc-hive project"
alt="collection logo" alt="collection logo" />
class="arc-page-header-img" />
</figure> </figure>
</section> </section>
</main> </main>
<aside> <aside>
<h2 class="site-title"> <h2>
<a href="<?= $this->site->url() ?>"> <a href="<?= $this->site->url() ?>">
<?= $this->site->title() ?> <?= $this->site->title() ?>
</a> </a>
</h2> </h2>
<nav class=""> <?php
<?php echo $site->publicNav()
echo $site->publicNav() ->menu()
->menu() ->setPartial('common/foundation-navigation.phtml')
->setPartial('common/foundation-navigation.phtml') ->renderPartialWithParams(['layout' => 'dropdown']);
->renderPartialWithParams(['layout' => 'dropdown']);
?>
<?php echo $this->partial('common/search-form.phtml'); ?>
?>
<?php echo $this->partial('common/search-form.phtml'); ?> </nav>
</aside> </aside>
</section> </section>

View File

@ -11,7 +11,7 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
$img_src = null; $img_src = null;
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page); $img_src = $this->getHelperPluginManager()->get('headerImage')->getImage($page);
if (!$img_src) { if (!$img_src) {
$img_src = $this->assetUrl('img/default-ARC-HIVE-hero-image.jpg'); $img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
} }
?> ?>
<style> <style>