Compare commits

...

33 Commits

Author SHA1 Message Date
jorge 0ce8f05c6f Merge pull request 'fix issue #24 #24' (#29) from fix/site-description-summary into develop
Reviewed-on: #29
2021-09-02 13:21:35 +02:00
jorge a0352f8762 reviewd conflicts for merge 2021-09-02 13:20:44 +02:00
jorge 8bf5006643 Merge branch 'develop' into fix/site-description-summary 2021-09-02 13:18:20 +02:00
chris f26a558ff1 Merge pull request 'fix issue #20 arcHIVE-tech/fixes#20"' (#28) from fix/menu-header-collections into develop
Reviewed-on: #28
2021-09-02 11:40:21 +02:00
jorge f68954df1c removed keywords and aligned text in site description card 2021-09-02 10:36:25 +02:00
jorge b7a482a8a3 mods in header collection to hide false menu as suggested in issue arcHIVE-tech/fixes#20" 2021-09-02 10:19:54 +02:00
jorge ac6adfb403 Merge pull request 'merge to fix issue #18 fix/line-break' (#19) from fix/line-break into develop
Reviewed-on: #19
2021-08-29 14:43:39 +02:00
jorge a061cc3275 accepted changes to solve issue #18 2021-08-29 14:40:27 +02:00
jorge cbb5293728 added styles to solve issue #18 2021-08-27 10:38:48 +02:00
chris d3407f57c6 Merge pull request 'added class .contain-width to resolve issue #16' (#17) from fix/content-section-width into develop
Reviewed-on: #17
2021-07-30 13:27:03 +02:00
jorge 72b5c09f28 created default.css after merge with develop in local branch 2021-07-30 13:07:50 +02:00
jorge ae78aa260f Merge branch 'develop' into fix/content-section-width 2021-07-30 13:03:53 +02:00
jorge 990f8398b8 added class .contain-width to resolve issue #16 2021-07-30 11:01:08 +02:00
chris 323fd10438 Merge pull request 'fix/20210728' (#14) from fix/20210728 into develop
Reviewed-on: #14
2021-07-29 22:39:05 +02:00
jorge 59bc76ac9f ul margins collection card 2021-07-28 19:17:35 +02:00
jorge 43043f018b li description width styled 2021-07-28 19:16:26 +02:00
jorge 08af72a7ba styled collection cards show li properties before 2021-07-28 19:14:40 +02:00
jorge bab1d5c65d styled collection cards show li properties 2021-07-28 19:13:29 +02:00
jorge f10e176744 styled collection cards 2021-07-28 19:11:34 +02:00
jorge c99ef34eaf added default hero image for single collection in caso non pressent 2021-07-28 17:51:53 +02:00
jorge c32fcdc520 consider removing this file if no longer used 2021-07-28 17:37:00 +02:00
jorge d3580b8d75 removed abs reference to theme path so it is relative to assets location 2021-07-28 17:36:27 +02:00
jorge 74accb190f removed the automatic single collection summary/description 2021-07-28 17:21:29 +02:00
jorge 329d78f6dc added summary to header for single collection. 2021-07-28 17:19:59 +02:00
jorge e658789359 propper summary in header 2021-07-28 17:08:03 +02:00
jorge 80caa7c4c4 added summary to header for single collection. 2021-07-28 17:06:31 +02:00
jorge d08179aa3b site single colection removed menu, added description from backend 2021-07-28 17:03:57 +02:00
jorge 399dcfdcaf merged with fix/20210728 2021-07-28 16:49:14 +02:00
jorge 1e52ccf4e4 Merge branch 'fix/20210728' into fix/hero-shown 2021-07-28 16:48:09 +02:00
jorge 006aeba509 hero colection single possition higher towards header 2021-07-28 16:45:05 +02:00
jorge 9224fb9463 single collection image style covers full width 2021-07-28 15:25:32 +02:00
jorge bb99a4653f mod styles on hero aside for collection-single 2021-07-28 14:57:07 +02:00
jorge 43326144af added proper classes and nested nav inside hero partial 2021-07-28 14:44:48 +02:00
13 changed files with 125 additions and 70 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -1,3 +1,33 @@
.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,6 +82,7 @@
// 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,14 +66,17 @@ 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 $light-gray; border-top: 1px solid $body-background;
}
.break.transparent {
border-top: none;
} }
/* Styles for vertical menu layout */ /* Styles for vertical menu layout */

View File

@ -68,32 +68,25 @@ main {
} }
// //
// page category //
// .contain selector for max-width
//-------------- //--------------
.index{ .contain-width {
main { .entry-content,.omekas-entry-content {
article { @include breakpoint(small){
header {
.entry-title {
}
} }
section { @include breakpoint(medium){
max-width: 50rem;
} }
.entry-content,.omekas-entry-content { @include breakpoint(xlarge){
@include breakpoint(small){ max-width: 50rem;
}
@include breakpoint(medium){
max-width: unset;
}
@include breakpoint(xlarge){
max-width: unset;
}
} }
} }
}
} }
// //
// news category // news category
//-------------- //--------------
@ -398,12 +391,42 @@ main {
aside { aside {
background-color: $white; background-color: $white;
flex-direction: column; flex-direction: column;
align-content: center; align-items: 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,4 +1,8 @@
<?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,7 +11,8 @@ $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,14 +17,6 @@
</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"><?php echo $site->title(); ?></h1> <h1 class="site-name">
<h2 class="site-description">an integrative digital bio-art platform</h2> <?php echo $site->title(); ?>
</h1>
<h2 class="site-description">
an integrative digital bio-art platform
</h2>
</a> </a>
</main> </main>
<nav> <nav>
<menu class=""> <menu class="">
<ul> <?php //
<li> // Segun el diseño, este menu no existe
Segun el diseño, este menu no existe // ----------
</li> // echo $site->publicNav()
</ul> // ->menu()
<?php /* // ->setPartial('common/foundation-navigation.phtml')
echo $site->publicNav() // ->renderPartialWithParams(['layout' => 'dropdown']);
->menu()
->setPartial('common/foundation-navigation.phtml')
->renderPartialWithParams(['layout' => 'dropdown']);
*/
?> ?>
</menu> </menu>
</nav> </nav>

View File

@ -1,34 +1,34 @@
<section class="hero omeka"> <section class="hero omeka collections-all">
<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'); ?>"
alt="<?php echo $site->title(); ?>"
title="<?php echo $site->title(); ?>" title="<?php echo $site->title(); ?>"
alt="<?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> <h2 class="site-title">
<a href="<?= $this->site->url() ?>"> <a href="<?= $this->site->url() ?>">
<?= $this->site->title() ?> <?= $this->site->title() ?>
</a> </a>
</h2> </h2>
<?php echo $this->partial('common/search-form.phtml'); ?> <nav class="">
<?php echo $this->partial('common/search-form.phtml'); ?>
</nav>
</aside> </aside>
</section> </section>

View File

@ -1,27 +1,28 @@
<section class="hero omeka"> <section class="hero omeka collection-single">
<main class="slides"> <main class="slides">
<section class="slide"> <section class="slide">
<figure> <figure>
<img class="arc-page-header-img" <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> <h2 class="site-title">
<a href="<?= $this->site->url() ?>"> <a href="<?= $this->site->url() ?>">
<?= $this->site->title() ?> <?= $this->site->title() ?>
</a> </a>
</h2> </h2>
<?php <nav class="">
echo $site->publicNav() <?php
->menu() echo $site->publicNav()
->setPartial('common/foundation-navigation.phtml') ->menu()
->renderPartialWithParams(['layout' => 'dropdown']); ->setPartial('common/foundation-navigation.phtml')
->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/ARC-HIVE-logo.svg'); $img_src = $this->assetUrl('img/default-ARC-HIVE-hero-image.jpg');
} }
?> ?>
<style> <style>