Compare commits

..

No commits in common. "8282977921ecc3c11ccd087d8f5f52fac69b81db" and "8ea4b85d9c5ecd81bc42a8aa74c0e12e4f6216a9" have entirely different histories.

12 changed files with 72 additions and 22720 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

22644
asset/js/foundation.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -322,7 +322,7 @@ $button-border: 2px solid $button-color;//1px solid transparent;
$button-hollow-border-width: 2px;
$button-sizes: (
tiny: 0.7rem,
small: 0.9rem,
small: 0.95rem,
default: 1.6rem,
large: 2.4rem,
);

View File

@ -4,6 +4,8 @@
.accordion-title {
ul,ol {
list-style: none;
//@include flex;
//@include flex-align(justify,middle);
@include xy-grid;
}
li {

View File

@ -1,11 +1,6 @@
button,.button {
&.small{
padding: $global-padding*0.5 $global-padding*1.5;
}
&.tiny{
padding: $global-padding*0.3 $global-padding*1.1;
}
&:not(.large,.small,.tiny){
// min-width: 20rem;
}
&.primary {
color: $white;

View File

@ -43,9 +43,7 @@ main {
}
section {
padding: $global-padding $global-padding*2;
}
.omekas-entry-content {
@include xy-cell(12);
//margin: $global-margin;
}
.entry-content {
@include breakpoint(small){
@ -154,11 +152,12 @@ main {
.collections-list {
@include xy-grid;
padding:0;
width:100vw;
header,main{
@include xy-cell(12);
@include flex;
@include flex-align(center,top);
padding: $global-padding*2 0;
}
header {
margin-top: 2*$global-margin;
@ -167,15 +166,10 @@ main {
}
main {
@include xy-grid;
padding: 0;
margin: 0;
article {
article{
@include card-container();
@include xy-cell();
width: 100%;
padding: 0;
margin: 0;
@include breakpoint(small){
@include xy-cell();
font-size: $global-font-size*0.7;
}
@include breakpoint(medium){
@ -185,19 +179,18 @@ main {
}
margin-bottom:0;
}
table {
thead,tbody,tfoot {
margin: $global-padding*2;
}
}
}
.accordion-content {
padding-top: 0;
section {
@include xy-grid;
padding-top: 0;
padding-bottom: 0;
@include breakpoint(small){
figure {
@include xy-cell(12);
background-color: $light-gray;
margin-left:0;
margin-right:0;
}
p {
@include xy-cell(12);
@ -206,7 +199,6 @@ main {
@include breakpoint(medium){
figure {
@include xy-cell(3);
margin-left: 0;
}
p {
@include xy-cell(9);
@ -390,4 +382,5 @@ main {
width: 100%;
}
//end omeka specific styles

View File

@ -28,7 +28,6 @@ function serve() {
});
gulp.watch("asset/scss/*.scss", sass);
gulp.watch("asset/scss/*/*.scss", sass);
gulp.watch("*.html").on('change', browserSync.reload);
}

View File

@ -28,7 +28,6 @@ $summary = $showSummary ? $site->summary() : null;
</ul>
</a>
<aside class="accordion-content" data-tab-content>
<section>
<figure>
<?php if ($site_meta_values != null): ?>
<img src="<?= $site_meta_values['thumbnail']; ?>" />
@ -40,6 +39,5 @@ $summary = $showSummary ? $site->summary() : null;
<?php endif; ?>
<a class="button small" href="<?= $site->siteUrl() ?>">View</a>
</p>
</section>
</aside>
</li>

View File

@ -93,9 +93,8 @@ endif;
<!-- </div> -->
</content>
<script>
// $(document).foundation();
$(document).foundation();
</script>
<script src="<?php echo $this->assetUrl('js/foundation.js'); ?>"></script>
</body>
</html>

View File

@ -7,29 +7,34 @@ $itemMedia = $item->media();
$showLayout = $this->themeSetting('show_layout');
?>
<!-- arc-hive page header-image insert begins -->
<!-- arc-hive insert begins -->
<?php
$img_src = null;
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
if (!$img_src) {
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
}
?>
<style>
.arc-page-header-img {
content: url("<?= $img_src ?>");
}
</style>
<?php
//$site->pages();
// set header image
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
if (!$img_src) {
$img_src = '/themes/archive/asset/img/default-header-image.jpg';
}
if ($this->site->title() == "Collections") {
$image_height = "300px";
} else {
$image_height = "200px";
}
?>
<style>
#archive_header_img {
background: url("<?= $img_src ?>") no-repeat;
width: 100%;
height: <?= $image_height ?>;
}
</style>
<script>
<?php
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
?>
$("#archive_page_title").html('<?php echo $_html ?>');
</script>
<!-- arc-hive page header-image insert ends -->
<!-- arc-hive insert ends -->
<div class="resource-title">

View File

@ -3,28 +3,33 @@ $translate = $this->plugin('translate');
?>
<?php $this->htmlElement('body')->appendAttribute('class', 'media resource show'); ?>
<!-- arc-hive page header-image insert begins -->
<!-- arc-hive insert begins -->
<?php
$img_src = null;
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
if (!$img_src) {
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
}
?>
<style>
.arc-page-header-img {
content: url("<?= $img_src ?>");
}
</style>
<?php
//$site->pages();
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
if (!$img_src) {
$img_src = '/themes/archive/asset/img/default-header-image.jpg';
}
if ($this->site->title() == "Collections") {
$image_height = "300px";
} else {
$image_height = "200px";
}
?>
<style>
#archive_header_img {
background: url("<?= $img_src ?>") no-repeat;
width: 100%;
height: <?= $image_height ?>;
}
</style>
<script>
<?php
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
?>
$("#archive_page_title").html('<?php echo $_html ?>');
</script>
<!-- arc-hive page header-image insert ends -->
<!-- arc-hive insert ends -->
<div class="resource-title">