Compare commits

..

55 Commits

Author SHA1 Message Date
chris a9ea9cfce2 Merge pull request 'fix/index-sites-items-issue-35' (#36) from fix/index-sites-items-issue-35 into develop
Reviewed-on: #36
2021-10-08 12:17:36 +02:00
jorge 0cdd3ba1cb reduced header sizes in results view 2021-10-08 00:13:54 +02:00
jorge 39855d1bb7 hide search form on top of search results title, it is redundant 2021-10-08 00:08:04 +02:00
jorge c850da3421 reduced to h3 the search results for and added class 2021-10-07 23:06:10 +02:00
jorge df6c4bcd34 item image each link is a box, each img is a row so description goes beneath 2021-10-07 22:54:26 +02:00
jorge 0e46b528db item presentation images removed background 2021-10-07 22:51:55 +02:00
jorge 53cf7f08e5 item presentation images and resource name in rows 2021-10-07 22:50:29 +02:00
jorge 94f496b213 cleaned up omeka scss and added pannemmul styles 2021-10-07 22:02:15 +02:00
jorge aef6eba175 increased global margin for `collection index` button 2021-10-07 21:42:36 +02:00
jorge 1df64ad110 added lists to scss files 2021-10-07 21:40:16 +02:00
jorge 1df83b1df5 item properties presented as list tabbed horizontally 2021-10-07 21:38:54 +02:00
jorge 6e9cc61485 increased space around text `collection index` in page view 2021-10-07 21:07:41 +02:00
jorge 7765a39ae0 styled link to `technical documentation` aligned to the lefts as other elements 2021-10-07 21:02:02 +02:00
jorge b3b4e57249 styled link to `technical documentation` as button with small font size and narrower padding 2021-10-07 21:00:16 +02:00
jorge bff2eab376 styled link to `technical documentation` as small button 2021-10-07 20:39:47 +02:00
jorge 31c7edfe7b button possitioned proportional to <p> padding 2021-10-07 20:33:07 +02:00
jorge 2a56062fd3 styled the page descripton technical documentation as button 2021-10-07 20:27:16 +02:00
jorge 3b08513cfd positioned the view button right and lower 2021-10-07 19:59:40 +02:00
jorge 4cf64b4fec changed EU Creative Europe as required 2021-10-01 14:03:58 +02:00
jorge bb13d9b927 center button on page template end button 2021-09-14 16:58:10 +02:00
jorge 86f7d9d162 Merge pull request 'fix/buttons-media-item-page' (#33) from fix/buttons-media-item-page into develop
Reviewed-on: #33
2021-09-14 16:40:10 +02:00
jorge 8475bc2a9a added styles for smaller buttons in media, item and page view 2021-09-07 11:42:11 +02:00
jorge 97f6ce8c95 merged fix/print-pdf-css into fis/line-break to avoid npm error lacking file definition into default.scss 2021-09-07 10:35:42 +02:00
jorge 516fef1843 Merge branch 'fix/print-pdf-css' into fix/line-break 2021-09-07 10:34:33 +02:00
jorge f66e1fd99d Merge branch 'develop' into fix/print-pdf-css 2021-09-07 10:31:43 +02:00
jorge dbc027b055 Merge branch 'develop' into fix/line-break 2021-09-07 10:30:12 +02:00
jorge 19b434b157 firs declarations to print css 2021-09-06 19:39:38 +02:00
jorge 92cede002c fixes line-break and block margins below arcHIVE-tech/fixes#18 2021-09-06 19:33:18 +02:00
chris a5261b3b50 Merge pull request 'fix/index-collections-issues-21-22' (#30) from fix/index-collections-issues-21-22 into develop
Reviewed-on: #30
2021-09-02 14:07:24 +02:00
jorge b6c511b708 compiled css to check changes for issues 21 and 22 2021-09-02 13:29:16 +02:00
jorge 0aa8b78b8a Merge branch 'develop' into fix/index-collections-issues-21-22 2021-09-02 13:27:15 +02:00
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 ffad101b04 hide text latest in collections in index page 2021-09-02 11:10:28 +02:00
jorge 19f2272b11 modified max-width in index collections 2021-09-02 11:00:56 +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
16 changed files with 155 additions and 1021 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

View File

@ -1,3 +1,6 @@
button {
@extend .button;
}
button,.button { button,.button {
&.small{ &.small{
padding: $global-padding*0.5 $global-padding*1.5; padding: $global-padding*0.5 $global-padding*1.5;
@ -58,3 +61,9 @@ button,.button {
border: none; border: none;
} }
} }
.end_of_page_button {
@extend .button.small;
display: flex;
margin: $global-margin auto;
padding: $global-padding*0.5 $global-padding*5;
}

View File

@ -1,3 +1,41 @@
.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;
}
&.tech-document-link {
a {
@include button;
padding: $global-padding*0.5 $global-padding*1.5;
margin-left: 0;
font-size: $small-font-size;
}
}
}
}
}
}

View File

@ -0,0 +1,9 @@
dl {
.property {
display:flex;
dt {
width: 14rem;
max-width: 14rem;
}
}
}

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";
@ -107,6 +108,7 @@
@import "components/buttons"; @import "components/buttons";
@import "components/accordion"; @import "components/accordion";
@import "components/tables"; @import "components/tables";
@import "components/lists";
// Templates // Templates

View File

@ -30,7 +30,8 @@
} }
&.eu{ &.eu{
&::before { &::before {
background-image: url('../img/eu_flag_creative_europe_co_funded_left.svg'); // background-image: url('../img/eu_flag_creative_europe_co_funded_left.svg');
background-image: url('../img/rechts_co-funded-by-the-creative-europe-media-programme-of-the-european-union-flag.png');
} }
} }
} }

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,6 @@
// https://developer.mozilla.org/en-US/docs/Web/CSS/Paged_Media
//
@media print {
}

View File

@ -68,32 +68,44 @@ main {
} }
// //
// page category // .index max-width
//-------------- //--------------
.index{ .index {
main { .entry-content,.omekas-entry-content {
article { @include breakpoint(small){
header { }
.entry-title { @include breakpoint(medium){
} max-width: unset;
} }
section { @include breakpoint(xlarge){
} max-width: unset;
.entry-content,.omekas-entry-content { }
@include breakpoint(small){ @include breakpoint(xxlarge){
} max-width: 60 rem;
@include breakpoint(medium){
max-width: unset;
}
@include breakpoint(xlarge){
max-width: unset;
}
}
} }
} }
} }
//
//
// .contain selector for max-width
//--------------
.contain-width {
.entry-content,.omekas-entry-content {
@include breakpoint(small){
}
@include breakpoint(medium){
max-width: 50rem;
}
@include breakpoint(xlarge){
max-width: 50rem;
}
}
}
// //
// news category // news category
//-------------- //--------------
@ -184,9 +196,11 @@ main {
@include flex-align(center,top); @include flex-align(center,top);
} }
header { header {
margin-top: 2*$global-margin; display: none;
border-top: 1px solid $body-font-color;
padding: $global-padding*2 0; // margin-top: 2*$global-margin;
// border-top: 1px solid $body-font-color;
// padding: $global-padding*2 0;
} }
main { main {
@include xy-grid; @include xy-grid;
@ -223,6 +237,14 @@ main {
} }
p { p {
@include xy-cell(12); @include xy-cell(12);
position: relative;
padding: $global-padding;
padding-bottom: $global-padding * 3;
.button {
position:absolute;
right:0;
margin-top: $global-padding * 3;
}
} }
} }
@include breakpoint(medium){ @include breakpoint(medium){

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

@ -5,7 +5,7 @@
['class' => 'advanced-search'] ['class' => 'advanced-search']
); ?> ); ?>
<h2><?php echo sprintf($this->translate('Item set results for "%s"'), $fulltextSearch); ?></h2> <h3 class="item-set-resutls-title"><?php echo sprintf($this->translate('Item set results for "%s"'), $fulltextSearch); ?></h3>
<?php echo $this->pagination(); ?> <?php echo $this->pagination(); ?>

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";
@ -34,7 +35,7 @@ $("#archive_page_title").html('<?php echo $_html ?>');
</script> </script>
<!-- arc-hive insert ends --> <!-- arc-hive insert ends -->
<h2><?php echo sprintf($this->translate('Search results for “%s”'), $fulltextSearch); ?></h2> <h3 class="search-results-for-title"><?php echo sprintf($this->translate('Search results for “%s”'), $fulltextSearch); ?></h3>
<div class="results"> <div class="results">

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,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>