Compare commits
253 Commits
fix/gulpfi
...
main
Author | SHA1 | Date |
---|---|---|
|
d90e95fe23 | |
|
142f99d610 | |
|
ceeb0fd7d1 | |
|
839f7f0b9d | |
|
01ae9a2a81 | |
|
4f9887efb1 | |
|
e58647ee86 | |
|
9cc1feb76f | |
|
7e24eff9b2 | |
|
cca089d368 | |
|
4def89678e | |
|
c986e12de6 | |
|
3b526e98a7 | |
|
69401646a6 | |
|
358e6ffaaf | |
|
24afe3a03a | |
|
1ee3b85901 | |
|
b43e71754f | |
|
04f43f81a2 | |
|
1ecb8d403b | |
|
967750ff2b | |
|
084e3b1f8a | |
|
ff4ce4c91b | |
|
9d042ea0ee | |
|
92f25811e8 | |
|
59ac584be3 | |
|
5f4867d3f1 | |
|
db24442b96 | |
|
5e3148165e | |
|
f0f6e24f6a | |
|
09b0de783f | |
|
0f89feacba | |
|
a93513ff0c | |
|
3e25aaf87e | |
|
9878abd21d | |
|
40c7c26cb7 | |
|
1575eb4123 | |
|
122af63d49 | |
|
8c6cfec4e3 | |
|
5079afcdfa | |
|
589f68e954 | |
|
cf4b1bab52 | |
|
d60de419c4 | |
|
263d1a144d | |
|
bde71ecdbf | |
|
64ab42be95 | |
|
a5765b4a97 | |
|
3b1f83d4c7 | |
|
3f9aaa69a5 | |
|
90eb660a15 | |
|
d89708381d | |
|
591bca7f2b | |
|
5b2d677d17 | |
|
9d3976c1cb | |
|
f9d2d65931 | |
|
27ed8e6db5 | |
|
f79b7af69c | |
|
3657873be7 | |
|
c48a6d5709 | |
|
3f42b2f218 | |
|
41eb169bfb | |
|
e0f66c0354 | |
|
89a8e0f283 | |
|
0789c1d099 | |
|
7b7b4ed205 | |
|
b62eb95edc | |
|
c3034c2eb4 | |
|
4aef2d6def | |
|
72a07b8171 | |
|
e496fbd184 | |
|
90569410e0 | |
|
7ab2aaeec5 | |
|
1eeac2565d | |
|
1becffc86d | |
|
653702bca2 | |
|
7feb22d1d3 | |
|
4bd15a3b05 | |
|
47107fafd0 | |
|
025542eab0 | |
|
4f470ec681 | |
|
a16a30f70c | |
|
0ffc4250a0 | |
|
88ca56c0d2 | |
|
ac973671ec | |
|
02039acb15 | |
|
5293569f60 | |
|
ad3a744b31 | |
|
5ec326083f | |
|
aebea97210 | |
|
fa86141155 | |
|
3fc1bdc0b1 | |
|
4796678569 | |
|
92b5522f18 | |
|
91b6b5cac4 | |
|
75cbc81733 | |
|
45a027d465 | |
|
39756d3934 | |
|
8e7ddb6bf5 | |
|
deaf58f350 | |
|
3598879c41 | |
|
84a54b6f61 | |
|
1e4610167b | |
|
488cc5cf79 | |
|
528254875d | |
|
2fbe867757 | |
|
72a1d805bb | |
|
eb0f7c6c7e | |
|
4ccf994595 | |
|
e7bc273c02 | |
|
c102696a8d | |
|
987215a2d9 | |
|
18e6f3392d | |
|
adafaf38b9 | |
|
60eac3e67a | |
|
e951669cff | |
|
6af87367eb | |
|
efa9584e9c | |
|
0ec94a15e1 | |
|
acfb3316a0 | |
|
4cfabe9ad5 | |
|
36e1c59a9d | |
|
d2d0b5d39a | |
|
eca85816d4 | |
|
7c80fdd310 | |
|
a9d31e2942 | |
|
258ca2dca6 | |
|
702147d77f | |
|
52edb5dc9f | |
|
945e2ed094 | |
|
cd6d3f5c2c | |
|
8e19f65408 | |
|
ecf7edc65f | |
|
8796ae11a8 | |
|
d284002ae4 | |
|
a735970d9b | |
|
8b052f95ee | |
|
d6d9260c0e | |
|
dafe41912d | |
|
c56464e086 | |
|
8e1c27de2d | |
|
d7aa820113 | |
|
931e674e11 | |
|
ac591b0476 | |
|
8d0b6cceb1 | |
|
852f119de0 | |
|
c504a78e2c | |
|
6e055dd4bb | |
|
3223051b69 | |
|
54e3ee7771 | |
|
a9ea9cfce2 | |
|
0cdd3ba1cb | |
|
39855d1bb7 | |
|
c850da3421 | |
|
df6c4bcd34 | |
|
0e46b528db | |
|
53cf7f08e5 | |
|
94f496b213 | |
|
aef6eba175 | |
|
1df64ad110 | |
|
1df83b1df5 | |
|
6e9cc61485 | |
|
7765a39ae0 | |
|
b3b4e57249 | |
|
bff2eab376 | |
|
31c7edfe7b | |
|
2a56062fd3 | |
|
3b08513cfd | |
|
4cf64b4fec | |
|
bb13d9b927 | |
|
86f7d9d162 | |
|
8475bc2a9a | |
|
97f6ce8c95 | |
|
516fef1843 | |
|
f66e1fd99d | |
|
dbc027b055 | |
|
19b434b157 | |
|
92cede002c | |
|
a5261b3b50 | |
|
b6c511b708 | |
|
0aa8b78b8a | |
|
0ce8f05c6f | |
|
a0352f8762 | |
|
8bf5006643 | |
|
f26a558ff1 | |
|
ffad101b04 | |
|
19f2272b11 | |
|
f68954df1c | |
|
b7a482a8a3 | |
|
ac6adfb403 | |
|
a061cc3275 | |
|
cbb5293728 | |
|
d3407f57c6 | |
|
72b5c09f28 | |
|
ae78aa260f | |
|
990f8398b8 | |
|
323fd10438 | |
|
59bc76ac9f | |
|
43043f018b | |
|
08af72a7ba | |
|
bab1d5c65d | |
|
f10e176744 | |
|
c99ef34eaf | |
|
c32fcdc520 | |
|
d3580b8d75 | |
|
74accb190f | |
|
329d78f6dc | |
|
e658789359 | |
|
80caa7c4c4 | |
|
d08179aa3b | |
|
399dcfdcaf | |
|
1e52ccf4e4 | |
|
006aeba509 | |
|
9224fb9463 | |
|
bb99a4653f | |
|
43326144af | |
|
abb51ac63a | |
|
3ac81dd207 | |
|
12bade8fb2 | |
|
aefde4a14f | |
|
ac66b243bd | |
|
42ae15c4c4 | |
|
f4c2ec5074 | |
|
b21780c1cb | |
|
3d5081b975 | |
|
0bffead98a | |
|
d0a193e5ba | |
|
dd781f6f1d | |
|
43e95e5f98 | |
|
592bf8cb10 | |
|
f6e7d03232 | |
|
3f860c2be1 | |
|
0f8ecd621a | |
|
6e1ee18151 | |
|
456c1456e5 | |
|
326870ac1c | |
|
7bab3d1ab9 | |
|
b03719ecc0 | |
|
8282977921 | |
|
3b4c6cb0ba | |
|
58d6edbbf1 | |
|
2ee608a16b | |
|
71e6d35c2c | |
|
ff273f2274 | |
|
5196290f91 | |
|
81dff27d00 | |
|
f211fb8f41 | |
|
80d30b5369 | |
|
364d45d7fe | |
|
4291eb09e9 | |
|
0250b8f118 | |
|
b27ed67638 | |
|
8ea4b85d9c | |
|
0f90fb0c1e |
|
@ -0,0 +1 @@
|
||||||
|
default.css merge=ours
|
|
@ -3,3 +3,5 @@ bower_components
|
||||||
node_modules
|
node_modules
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
_
|
_
|
||||||
|
index*
|
||||||
|
index*.html
|
||||||
|
|
|
@ -33,6 +33,15 @@ chown -R www-data:www-data ./
|
||||||
|
|
||||||
## Arc-hive theme notes
|
## Arc-hive theme notes
|
||||||
|
|
||||||
|
### Configure
|
||||||
|
|
||||||
|
The main menu can be retrieved from a wordpress site and rendered. To configure this, edit `view/common/wordpress-menu.phtml`. Optional.
|
||||||
|
|
||||||
|
```
|
||||||
|
# Config
|
||||||
|
$wordpress_site="https://my.wordpress.site";
|
||||||
|
$wordpress_endpoint="https://my.wordpress.site/wp-json/menus/v1/menus/4";
|
||||||
|
```
|
||||||
|
|
||||||
For more advanced use, such as customizing the theme with Sass, you'll need to install the tools with [NodeJS](https://nodejs.org/en/) (0.12 or greater). Navigate to your theme directory and run `npm install`.
|
For more advanced use, such as customizing the theme with Sass, you'll need to install the tools with [NodeJS](https://nodejs.org/en/) (0.12 or greater). Navigate to your theme directory and run `npm install`.
|
||||||
|
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
/* .archive-logo {
|
|
||||||
width: 80px;
|
|
||||||
}
|
|
||||||
.archive-page-title {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
._expand_site_item {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
._expand_site_item:hover {
|
|
||||||
background: #3374C2;
|
|
||||||
}
|
|
||||||
.end_of_page_button {
|
|
||||||
cursor: pointer;
|
|
||||||
text-transform: uppercase;
|
|
||||||
font-size: 2em;
|
|
||||||
margin-top: 2em;
|
|
||||||
border: double;
|
|
||||||
}
|
|
||||||
.go_to_site_button {
|
|
||||||
cursor: pointer;
|
|
||||||
text-transform: uppercase;
|
|
||||||
border: double;
|
|
||||||
} */
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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: 897 KiB |
Binary file not shown.
After Width: | Height: | Size: 288 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,8 +1,18 @@
|
||||||
(function($) {
|
|
||||||
$(document).ready(function() {
|
$(function(){
|
||||||
$('._expand_site_item').click(function() {
|
$("#site-list").on( "click", ".accordion-title", function() {
|
||||||
$(this).next('tr').toggle();
|
var title = this
|
||||||
|
var content = $(this).closest('.accordion-item')
|
||||||
|
.find('.accordion-content')
|
||||||
|
if ($(content).is(':visible')) {
|
||||||
|
$(content).slideUp('fast')
|
||||||
|
$(this).closest('.accordion-item').removeClass('is-active')
|
||||||
|
$(title).attr('aria-expanded', false)
|
||||||
|
} else {
|
||||||
|
$(content).slideDown('fast')
|
||||||
|
$(this).closest('.accordion-item').addClass('is-active')
|
||||||
|
$(title).attr('aria-expanded', true)
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
});
|
})
|
||||||
})(jQuery)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -250,14 +250,14 @@ $input-error-font-weight: $global-weight-bold;
|
||||||
// ------------
|
// ------------
|
||||||
|
|
||||||
$accordion-background: $white;
|
$accordion-background: $white;
|
||||||
$accordion-plusminus: true;
|
$accordion-plusminus: false;
|
||||||
$accordion-plus-content: '\002B';
|
$accordion-plus-content: '\002B';
|
||||||
$accordion-minus-content: '\2013';
|
$accordion-minus-content: '\2013';
|
||||||
$accordion-title-font-size: $global-font-size;//rem-calc(12);
|
$accordion-title-font-size: $global-font-size;//rem-calc(12);
|
||||||
$accordion-item-color: $body-font-color;
|
$accordion-item-color: $body-font-color;
|
||||||
$accordion-item-background-hover: none;
|
$accordion-item-background-hover: none;
|
||||||
$accordion-item-padding: $global-padding*1.5 0;
|
$accordion-item-padding: $global-padding*1.5 0;
|
||||||
$accordion-content-background: $white;
|
$accordion-content-background: transparent;
|
||||||
$accordion-content-border: none;
|
$accordion-content-border: none;
|
||||||
$accordion-content-color: $body-font-color;
|
$accordion-content-color: $body-font-color;
|
||||||
$accordion-content-padding: $global-padding*1.5 0;
|
$accordion-content-padding: $global-padding*1.5 0;
|
||||||
|
@ -322,7 +322,7 @@ $button-border: 2px solid $button-color;//1px solid transparent;
|
||||||
$button-hollow-border-width: 2px;
|
$button-hollow-border-width: 2px;
|
||||||
$button-sizes: (
|
$button-sizes: (
|
||||||
tiny: 0.7rem,
|
tiny: 0.7rem,
|
||||||
small: 0.95rem,
|
small: 0.9rem,
|
||||||
default: 1.6rem,
|
default: 1.6rem,
|
||||||
large: 2.4rem,
|
large: 2.4rem,
|
||||||
);
|
);
|
||||||
|
@ -425,16 +425,16 @@ $dropdown-sizes: (
|
||||||
// -----------------
|
// -----------------
|
||||||
|
|
||||||
$dropdownmenu-arrows: true;
|
$dropdownmenu-arrows: true;
|
||||||
$dropdownmenu-arrow-color: $anchor-color;
|
$dropdownmenu-arrow-color: $body-font-color;//$anchor-color;
|
||||||
$dropdownmenu-arrow-size: 6px;
|
$dropdownmenu-arrow-size: 6px;
|
||||||
$dropdownmenu-arrow-padding: 1.5rem;
|
$dropdownmenu-arrow-padding: 1.5rem;
|
||||||
$dropdownmenu-min-width: 200px;
|
$dropdownmenu-min-width: 100%;//200px;
|
||||||
$dropdownmenu-background: null;
|
$dropdownmenu-background: null;
|
||||||
$dropdownmenu-submenu-background: $white;
|
$dropdownmenu-submenu-background: $dropdown-background;
|
||||||
$dropdownmenu-padding: $global-menu-padding;
|
$dropdownmenu-padding: $global-menu-padding;
|
||||||
$dropdownmenu-nested-margin: 0;
|
$dropdownmenu-nested-margin: 0;
|
||||||
$dropdownmenu-submenu-padding: $dropdownmenu-padding;
|
$dropdownmenu-submenu-padding: $dropdownmenu-padding;
|
||||||
$dropdownmenu-border: 1px solid $medium-gray;
|
$dropdownmenu-border: none; //1px solid $medium-gray;
|
||||||
$dropdown-menu-item-color-active: get-color(primary);
|
$dropdown-menu-item-color-active: get-color(primary);
|
||||||
$dropdown-menu-item-background-active: transparent;
|
$dropdown-menu-item-background-active: transparent;
|
||||||
|
|
||||||
|
@ -521,6 +521,7 @@ $menu-centered-back-compat: true;
|
||||||
$menu-icons-back-compat: true;
|
$menu-icons-back-compat: true;
|
||||||
$menu-anchor-color: $black;
|
$menu-anchor-color: $black;
|
||||||
$menu-anchor-color-hover: $anchor-color;
|
$menu-anchor-color-hover: $anchor-color;
|
||||||
|
|
||||||
// 24. Meter
|
// 24. Meter
|
||||||
// ---------
|
// ---------
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,32 @@
|
||||||
.accordion-item {
|
.accordion-item {
|
||||||
border-bottom: $global-border-archive;
|
border-bottom: $global-border-archive;
|
||||||
|
&:first-of-type {
|
||||||
|
max-height: 5rem;
|
||||||
|
.is-active{
|
||||||
|
max-height: 5rem;
|
||||||
|
padding:0;
|
||||||
|
}
|
||||||
|
.accordion-title::before{
|
||||||
|
content:'';
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: black;
|
||||||
|
&:hover,&:active,&:focus{
|
||||||
|
color: black;
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.accordion-title {
|
.accordion-title {
|
||||||
ul,ol {
|
ul,ol {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
//@include flex;
|
|
||||||
//@include flex-align(justify,middle);
|
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
}
|
}
|
||||||
li {
|
li {
|
||||||
display:inline;
|
|
||||||
@include xy-cell(3);
|
@include xy-cell(3);
|
||||||
|
display:inline;
|
||||||
text-align:left;
|
text-align:left;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
|
button {
|
||||||
|
@extend .button;
|
||||||
|
}
|
||||||
button,.button {
|
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){
|
&:not(.large,.small,.tiny){
|
||||||
// min-width: 20rem;
|
|
||||||
}
|
}
|
||||||
&.primary {
|
&.primary {
|
||||||
color: $white;
|
color: $white;
|
||||||
|
@ -18,6 +26,14 @@ button,.button {
|
||||||
&.secondary {
|
&.secondary {
|
||||||
border-color: $secondary-color;
|
border-color: $secondary-color;
|
||||||
}
|
}
|
||||||
|
&.inactive {
|
||||||
|
color: $light-gray;
|
||||||
|
border-color: $light-gray;
|
||||||
|
cursor: not-allowed ;
|
||||||
|
&:hover {
|
||||||
|
background-color: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.hero {
|
.hero {
|
||||||
button,.button {
|
button,.button {
|
||||||
|
@ -45,3 +61,22 @@ button,.button {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.load_more {
|
||||||
|
button,.button {
|
||||||
|
font-size: $global-font-size;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.end_of_page_button {
|
||||||
|
// @extend .button.small;
|
||||||
|
@extend .button;
|
||||||
|
display: flex;
|
||||||
|
margin: $global-margin auto;
|
||||||
|
//padding: $global-padding*0.5 $global-padding*5;
|
||||||
|
font-size: $global-font-size;
|
||||||
|
}
|
||||||
|
.accordion-item.is-active {
|
||||||
|
& button, & .button {
|
||||||
|
// @extend .button;
|
||||||
|
background-color: $input-background;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,25 +1,50 @@
|
||||||
|
//search block size in content
|
||||||
|
article,.omekas-entry-content {
|
||||||
.search{
|
.search{
|
||||||
.input-group * {
|
@include xy-grid();
|
||||||
margin: 0;
|
.input-group {
|
||||||
|
@include breakpoint(small){
|
||||||
|
@include xy-cell (12);
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
@include breakpoint(medium){
|
||||||
|
@include xy-cell (6);
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
@include breakpoint(large){
|
||||||
|
@include xy-cell (4);
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// search elements
|
||||||
|
.search{
|
||||||
.input-group {
|
.input-group {
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 4rem;
|
border-radius: $global-padding*4;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
.appear {
|
||||||
.input-group .appear {
|
|
||||||
right: 0;
|
right: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 0.3rem 1rem;
|
padding: $global-padding*0.3 $global-padding;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.input-group * {
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
.button{
|
.button{
|
||||||
border-color: $primary-color;
|
border-color: $primary-color;
|
||||||
}
|
}
|
||||||
.appear{
|
.appear{
|
||||||
display:none;
|
display:none;
|
||||||
|
font-size: $global-font-size;
|
||||||
}
|
}
|
||||||
input{
|
input{
|
||||||
&:active{
|
&:active{
|
||||||
|
@ -34,11 +59,10 @@
|
||||||
border:none;
|
border:none;
|
||||||
background-color: $input-background-focus;
|
background-color: $input-background-focus;
|
||||||
position: relative;
|
position: relative;
|
||||||
right: 2rem;
|
padding-right: $global-padding * 9;
|
||||||
+ .appear {
|
+ .appear {
|
||||||
display: block;
|
display: block;
|
||||||
color: $primary-color;
|
background-color: scale-color($input-background-focus, $lightness: -20%);
|
||||||
background-color: $input-background-focus;
|
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $white;
|
color: $white;
|
||||||
|
@ -51,7 +75,7 @@
|
||||||
.hollow {
|
.hollow {
|
||||||
border-color: $primary-color;
|
border-color: $primary-color;
|
||||||
color: $primary-color;
|
color: $primary-color;
|
||||||
&::after {
|
&:after {
|
||||||
}
|
}
|
||||||
&::placeholder {
|
&::placeholder {
|
||||||
color: scale-color($primary-color, $lightness: -20%);
|
color: scale-color($primary-color, $lightness: -20%);
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
@include breakpoint(small) {
|
||||||
|
dl {
|
||||||
|
.property {
|
||||||
|
display:flex;
|
||||||
|
flex-direction:column;
|
||||||
|
dt {
|
||||||
|
min-width: unset;
|
||||||
|
max-width: unset;
|
||||||
|
width: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
dl {
|
||||||
|
.property {
|
||||||
|
display:flex;
|
||||||
|
flex-direction:row;
|
||||||
|
dt {
|
||||||
|
min-width: 14rem;
|
||||||
|
max-width: 14rem;
|
||||||
|
width: 14rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
.site-name,.site-description {
|
.site-name,.site-description {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
&::before {
|
&:before {
|
||||||
content: '';
|
content: '';
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
margin-top:-$global-padding;
|
// margin-top:-$global-padding;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: $global-padding*5;
|
height: $global-padding*5;
|
||||||
background-size: contain;
|
background-size: contain;
|
||||||
|
@ -31,6 +31,15 @@
|
||||||
&.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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.arc-hive-off.site-brand{
|
||||||
|
//hack needed for omeka
|
||||||
|
margin-bottom: -$global-padding*0.5;
|
||||||
|
&:before{
|
||||||
|
margin-top: -$global-padding;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,6 @@
|
||||||
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Paged_Media
|
||||||
|
//
|
||||||
|
@media print {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -19,26 +19,3 @@
|
||||||
font-face: worksans-mediumitalic, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
font-face: worksans-mediumitalic, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
|
||||||
// mods on fonts and typography
|
|
||||||
// not in foundation variables
|
|
||||||
// -----------------------------
|
|
||||||
|
|
||||||
//h1,h2,h3,h4,h5,h6,
|
|
||||||
//.h1,.h2,.h3,.h4,.h4,.h5,.h6,
|
|
||||||
//button,.button,
|
|
||||||
//header nav,
|
|
||||||
//.hero .claim
|
|
||||||
//{
|
|
||||||
// font-variant:all-small-caps;
|
|
||||||
//}
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//h1,h2,h3,h4,h5,h6,
|
|
||||||
//.h1,.h2,.h3,.h4,.h4,.h5,.h6 {
|
|
||||||
// a {
|
|
||||||
// color: $black;
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
|
@ -15,6 +15,23 @@ header nav {
|
||||||
color: $body-font-color;
|
color: $body-font-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* https://fontawesome.com/v5.0/icons */
|
||||||
|
a[href$=".pdf"]:after {
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
display: inline-block;
|
||||||
|
font-style: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
text-rendering: auto;
|
||||||
|
line-height: 1;
|
||||||
|
font-family: 'Font Awesome 5 Free';
|
||||||
|
font-weight: 900;
|
||||||
|
margin-left: .5rem;
|
||||||
|
content: "\f1c1";
|
||||||
|
}
|
||||||
|
|
||||||
.excerpt,.post-excerpt{
|
.excerpt,.post-excerpt{
|
||||||
a {
|
a {
|
||||||
color: $body-font-color;
|
color: $body-font-color;
|
||||||
|
@ -41,25 +58,79 @@ main {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.entry-content {
|
section {
|
||||||
|
// padding: $global-padding $global-padding*2;
|
||||||
|
}
|
||||||
|
.entry-content,.omekas-entry-content {
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
@include xy-cell(12);
|
@include xy-cell(12);
|
||||||
padding: $global-padding*2 ;
|
padding: $global-padding*2 $global-padding/2 ;
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
}
|
}
|
||||||
@include breakpoint(medium){
|
@include breakpoint(medium){
|
||||||
@include xy-cell(12);
|
@include xy-cell(12);
|
||||||
padding: $global-padding*2 $global-padding*3;
|
padding: $global-padding*2 $global-padding*3;
|
||||||
max-width: 50rem;
|
max-width: 60rem;
|
||||||
margin:0 auto;
|
margin:0 auto;
|
||||||
}
|
}
|
||||||
|
@include breakpoint(xxlarge){
|
||||||
|
// @include xy-cell(12);
|
||||||
|
// padding: $global-padding*2 $global-padding*3;
|
||||||
|
// margin: 0 auto;
|
||||||
|
max-width: 70rem;
|
||||||
|
p {
|
||||||
|
font-size: $global-font-size*1.2;
|
||||||
|
line-height: $paragraph-lineheight*1.15;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
aside {
|
||||||
|
@include xy-grid;
|
||||||
|
nav {
|
||||||
|
@include xy-cell(12);
|
||||||
|
display:flex;
|
||||||
|
align-content: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding-bottom: $global-padding * 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// .index max-width
|
||||||
|
//--------------
|
||||||
|
.index {
|
||||||
|
.entry-content,.omekas-entry-content {
|
||||||
|
@include breakpoint(small){
|
||||||
|
}
|
||||||
|
@include breakpoint(medium){
|
||||||
|
max-width: unset;
|
||||||
|
}
|
||||||
@include breakpoint(xlarge){
|
@include breakpoint(xlarge){
|
||||||
@include xy-cell(12);
|
max-width: unset;
|
||||||
max-width: 50rem;
|
|
||||||
padding: $global-padding*2 $global-padding*3;
|
|
||||||
font-size: $global-font-size*1.2;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
|
@include breakpoint(xxlarge){
|
||||||
|
max-width: 60 rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// .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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -148,56 +219,174 @@ main {
|
||||||
|
|
||||||
.collections-list {
|
.collections-list {
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
width:100vw;
|
padding:0;
|
||||||
header,main{
|
header,main{
|
||||||
@include xy-cell(12);
|
@include xy-cell(12);
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align(center,top);
|
@include flex-align(center,top);
|
||||||
padding: $global-padding*2 0;
|
|
||||||
}
|
}
|
||||||
header {
|
header {
|
||||||
margin-top: 2*$global-margin;
|
display: none;
|
||||||
border-top: 1px solid $body-font-color;
|
|
||||||
padding: $global-padding*2 0;
|
|
||||||
}
|
}
|
||||||
main {
|
main {
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
article {
|
article {
|
||||||
@include card-container();
|
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
|
@include card-container();
|
||||||
@include xy-cell();
|
@include xy-cell();
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
font-size: $global-font-size*0.7;
|
font-size: $global-font-size*0.7;
|
||||||
|
overflow: visible;
|
||||||
}
|
}
|
||||||
@include breakpoint(medium){
|
@include breakpoint(medium){
|
||||||
font-size: $global-font-size*1;
|
font-size: $global-font-size*1;
|
||||||
}
|
}
|
||||||
@include breakpoint(large){
|
@include breakpoint(large){
|
||||||
}
|
}
|
||||||
margin-bottom:0;
|
|
||||||
}
|
}
|
||||||
table {
|
|
||||||
thead,tbody,tfoot {
|
|
||||||
margin: $global-padding*2;
|
|
||||||
}
|
}
|
||||||
|
.load_more {
|
||||||
|
display:flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: $global-margin * 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
// accordion for colletions list
|
||||||
|
.accordion-item {
|
||||||
|
margin: 0 -5rem;//make lines screen width in collections view
|
||||||
|
padding: 0 5rem;
|
||||||
|
&.title {
|
||||||
|
.accordion-title {
|
||||||
|
@include breakpoint(small){
|
||||||
|
li {
|
||||||
|
@include xy-cell(3);
|
||||||
|
@include xy-cell-offset(0);
|
||||||
|
&.title,&.curator,&.collection-name,&.date {
|
||||||
|
&::before {content: none;}
|
||||||
|
}
|
||||||
|
&.date {
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
.ascToggle{
|
||||||
|
position:absolute;
|
||||||
|
padding-left: 0.21rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@include breakpoint(medium){
|
||||||
|
li {
|
||||||
|
&.title {
|
||||||
|
@include xy-cell(4);
|
||||||
|
}
|
||||||
|
&.curator {
|
||||||
|
@include xy-cell(4);
|
||||||
|
}
|
||||||
|
&.collection-name {
|
||||||
|
@include xy-cell(2);
|
||||||
|
}
|
||||||
|
&.date {
|
||||||
|
@include xy-cell(shrink);
|
||||||
|
margin-left: auto; //aligns to right
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:not(.title){
|
||||||
|
&.is-active {
|
||||||
|
background-color:$input-background;
|
||||||
|
}
|
||||||
|
.accordion-title {
|
||||||
|
@include breakpoint(small){
|
||||||
|
li {
|
||||||
|
&.title,
|
||||||
|
&.curator,
|
||||||
|
&.collection-name,
|
||||||
|
&.date {
|
||||||
|
@include xy-cell(10);
|
||||||
|
@include xy-cell-offset(2);
|
||||||
|
min-height: 1rem;
|
||||||
|
&::before {
|
||||||
|
display: inline-block;
|
||||||
|
color: $medium-gray;
|
||||||
|
position: absolute;
|
||||||
|
left:0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.title::before {content:"Title";}
|
||||||
|
&.curator::before {content:"Artist";}
|
||||||
|
&.collection-name::before {content:"Collection";}
|
||||||
|
&.date::before {content:"Date";}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@include breakpoint(medium){
|
||||||
|
li {
|
||||||
|
&.title,
|
||||||
|
&.curator,
|
||||||
|
&.collection-name,
|
||||||
|
&.date {
|
||||||
|
min-height:unset;
|
||||||
|
&::before {
|
||||||
|
content: none;
|
||||||
|
// content:"";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&.title {
|
||||||
|
@include xy-cell(4);
|
||||||
|
}
|
||||||
|
&.curator {
|
||||||
|
@include xy-cell(4);
|
||||||
|
}
|
||||||
|
&.collection-name {
|
||||||
|
@include xy-cell(2);
|
||||||
|
}
|
||||||
|
&.date {
|
||||||
|
@include xy-cell(shrink);
|
||||||
|
margin-left: auto; //aligns to right
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.accordion-title {
|
||||||
|
ul,ol {
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.accordion-content {
|
.accordion-content {
|
||||||
|
padding-top: 0;
|
||||||
section {
|
section {
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
|
padding: 0;
|
||||||
figure {
|
figure {
|
||||||
@include xy-cell(12);
|
@include xy-cell(12);
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
@include xy-cell(12);
|
@include xy-cell(12);
|
||||||
|
position: relative;
|
||||||
|
padding-top: $global-padding * 1;
|
||||||
|
padding-bottom: $global-padding * 3;
|
||||||
|
.button {
|
||||||
|
position:absolute;
|
||||||
|
right:0;
|
||||||
|
margin-top: $global-padding * 3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(medium){
|
@include breakpoint(medium){
|
||||||
figure {
|
figure {
|
||||||
@include xy-cell(3);
|
@include xy-cell(4);
|
||||||
|
@include xy-gutters;
|
||||||
}
|
}
|
||||||
p {
|
p {
|
||||||
@include xy-cell(9);
|
@include xy-cell(8);
|
||||||
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(large){
|
@include breakpoint(large){
|
||||||
|
@ -205,6 +394,7 @@ main {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// end collections category
|
// end collections category
|
||||||
|
|
||||||
// partners
|
// partners
|
||||||
|
@ -250,11 +440,13 @@ main {
|
||||||
@include xy-grid();
|
@include xy-grid();
|
||||||
.slide {
|
.slide {
|
||||||
@include xy-grid;
|
@include xy-grid;
|
||||||
justify-content: center;
|
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: $global-padding * 3;
|
justify-content: center;
|
||||||
|
color: $white;
|
||||||
.textwidget {
|
.textwidget {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -269,9 +461,9 @@ main {
|
||||||
@include breakpoint(large){
|
@include breakpoint(large){
|
||||||
width: 50%;
|
width: 50%;
|
||||||
height: calc((50vw*9)/16);
|
height: calc((50vw*9)/16);
|
||||||
padding: 0;
|
//padding: 0;
|
||||||
margin: 0;
|
//margin: 0;
|
||||||
overflow:hidden;
|
//overflow:hidden;
|
||||||
a {
|
a {
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align (center,middle);
|
@include flex-align (center,middle);
|
||||||
|
@ -301,7 +493,6 @@ main {
|
||||||
background-color: $primary-color;
|
background-color: $primary-color;
|
||||||
font-variant:all-small-caps;
|
font-variant:all-small-caps;
|
||||||
}
|
}
|
||||||
color: $white;
|
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
@include breakpoint(medium){
|
@include breakpoint(medium){
|
||||||
|
@ -317,10 +508,28 @@ main {
|
||||||
@include xy-cell(auto);
|
@include xy-cell(auto);
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align(spaced,middle);
|
@include flex-align(spaced,middle);
|
||||||
min-height: 6rem;
|
@include breakpoint(small) {
|
||||||
|
flex-direction: column;
|
||||||
|
min-height: unset;
|
||||||
|
padding: $global-padding;
|
||||||
|
.menu, .menu.horizontal {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@include breakpoint(large) {
|
||||||
|
flex-direction: row;
|
||||||
|
min-height: $global-padding * 6;
|
||||||
padding: $global-padding 0 ;
|
padding: $global-padding 0 ;
|
||||||
|
.menu, .menu.horizontal {
|
||||||
|
justify-content: unset;
|
||||||
|
}
|
||||||
|
}
|
||||||
a {
|
a {
|
||||||
color: $body-font-color;
|
color: $body-font-color;
|
||||||
|
&:hover {
|
||||||
|
// color: $anchor-color;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.button {
|
.button {
|
||||||
justify-content:center;
|
justify-content:center;
|
||||||
|
@ -344,10 +553,11 @@ main {
|
||||||
.slides {
|
.slides {
|
||||||
background-color: $secondary-color;
|
background-color: $secondary-color;
|
||||||
.slide {
|
.slide {
|
||||||
|
height: 10rem;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
margin: $global-margin auto;
|
margin: 0 auto;
|
||||||
&:first-child {
|
&:first-child {
|
||||||
color: unset;
|
color: unset;
|
||||||
background-color: unset;
|
background-color: unset;
|
||||||
|
@ -359,24 +569,70 @@ main {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.image-background {
|
||||||
|
width: 100%;
|
||||||
|
background-color: rgb(250,250,220);
|
||||||
|
background-image: url("../img/header_collections.jpg");
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center 75%;
|
||||||
|
}
|
||||||
|
&.collections-all{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
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 {
|
||||||
|
//like .omekas-entry-content .sub-menu.wide
|
||||||
|
@include flex-align(justify,middle);
|
||||||
|
width: 100vw;
|
||||||
|
border-top: $global-border-archive;
|
||||||
|
border-bottom: $global-border-archive;
|
||||||
|
margin: 0;
|
||||||
|
@include breakpoint(small) {
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
padding-left: $global-padding * 3;
|
||||||
|
padding-right: $global-padding * 3;
|
||||||
|
}
|
||||||
|
@include breakpoint(xxlarge) {
|
||||||
|
padding-left: $global-padding * 8;
|
||||||
|
padding-right: $global-padding * 8;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//end hero
|
//end hero
|
||||||
|
|
||||||
// omeka specific styles
|
|
||||||
#user-bar {
|
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//end omeka specific styles
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
footer {
|
footer {
|
||||||
|
margin-top: $global-margin;
|
||||||
background-color: $secondary-color;
|
background-color: $secondary-color;
|
||||||
a {
|
a {
|
||||||
color: $body-font-color;
|
color: $body-font-color;
|
||||||
|
@ -24,7 +25,7 @@ footer {
|
||||||
.logo {
|
.logo {
|
||||||
}
|
}
|
||||||
.site-brand,.brand-logo {
|
.site-brand,.brand-logo {
|
||||||
&.archive{
|
&.archive,&.arc-hive{
|
||||||
&::before {
|
&::before {
|
||||||
margin-top:unset;
|
margin-top:unset;
|
||||||
}
|
}
|
||||||
|
@ -32,7 +33,6 @@ footer {
|
||||||
&.eu {
|
&.eu {
|
||||||
&::before {
|
&::before {
|
||||||
@include breakpoint(small) {
|
@include breakpoint(small) {
|
||||||
// background-image: url('../img/eu_flag_creative_europe_co_funded_black_right.svg');
|
|
||||||
background-position-x: right;
|
background-position-x: right;
|
||||||
max-width: 50vw;
|
max-width: 50vw;
|
||||||
margin-top:unset;
|
margin-top:unset;
|
||||||
|
@ -59,7 +59,6 @@ footer {
|
||||||
padding: $global-padding;
|
padding: $global-padding;
|
||||||
font-size: $global-font-size * 0.8;
|
font-size: $global-font-size * 0.8;
|
||||||
&:first-child {
|
&:first-child {
|
||||||
//padding-top: $global-padding*3;
|
|
||||||
}
|
}
|
||||||
.co-founded {
|
.co-founded {
|
||||||
text-align:right;
|
text-align:right;
|
||||||
|
|
|
@ -6,15 +6,13 @@
|
||||||
@include breakpoint(small){
|
@include breakpoint(small){
|
||||||
@include xy-cell(12);
|
@include xy-cell(12);
|
||||||
@include flex-align(center, middle);
|
@include flex-align(center, middle);
|
||||||
|
padding: $global-padding $global-padding;
|
||||||
|
min-width: 14rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
@include breakpoint (medium) {
|
|
||||||
padding: $global-padding*2 $global-padding;
|
|
||||||
}
|
|
||||||
@include breakpoint(large){
|
@include breakpoint(large){
|
||||||
@include xy-cell(shrink);
|
@include xy-cell(shrink);
|
||||||
@include flex-align(left, middle);
|
@include flex-align(left, middle);
|
||||||
// min-width: 14rem;
|
|
||||||
text-align: unset;
|
text-align: unset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,6 +21,7 @@
|
||||||
@include xy-cell(12);
|
@include xy-cell(12);
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align(center, middle);
|
@include flex-align(center, middle);
|
||||||
|
padding-bottom: $global-padding*2;
|
||||||
a, button {
|
a, button {
|
||||||
color: $black;
|
color: $black;
|
||||||
&:hover {
|
&:hover {
|
||||||
|
@ -32,27 +31,71 @@
|
||||||
menu {
|
menu {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 0.8rem;
|
|
||||||
}
|
}
|
||||||
.menu {
|
.menu {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
a {
|
a {
|
||||||
padding: $global-padding*0.7 $global-padding*0.5;
|
padding: $global-padding*0.7 $global-padding*0.5;
|
||||||
}
|
}
|
||||||
|
&.dropdown {
|
||||||
|
justify-content:center;
|
||||||
|
li,.button {
|
||||||
|
min-width: unset;
|
||||||
|
margin:0;
|
||||||
|
padding:0;
|
||||||
|
font-size: $global-font-size*0.9;//$header-menu-font-size;
|
||||||
|
}
|
||||||
|
.button {
|
||||||
|
margin-left: $global-margin;
|
||||||
|
background-color:$input-background;
|
||||||
|
}
|
||||||
|
.is-dropdown-submenu {
|
||||||
|
font-size: $dropdown-font-size * 0.95;
|
||||||
|
min-width: 10rem;
|
||||||
|
box-shadow: 0 3px 5px 3px rgba(200, 200, 200, 0.1);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@include breakpoint(medium) {
|
@include breakpoint(medium) {
|
||||||
menu {
|
|
||||||
font-size: $global-font-size*1.5;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@include breakpoint(large) {
|
|
||||||
@include xy-cell(auto);
|
@include xy-cell(auto);
|
||||||
@include flex;
|
@include flex;
|
||||||
@include flex-align(right, middle);
|
//@include flex-align(right, middle);
|
||||||
|
//padding-bottom: 0;//$global-padding;
|
||||||
menu {
|
menu {
|
||||||
margin: inherit;
|
margin: inherit;
|
||||||
padding: inherit;
|
padding: inherit;
|
||||||
|
.menu {
|
||||||
|
&.dropdown {
|
||||||
|
li,.button {
|
||||||
|
font-size: $global-font-size*1.4;//$header-menu-font-size;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.button {
|
||||||
|
margin-left: $global-margin/2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@include breakpoint(xlarge) {
|
||||||
|
// @include xy-cell(auto);
|
||||||
|
// @include flex;
|
||||||
|
@include flex-align(right, middle);
|
||||||
|
padding-bottom: 0;//$global-padding;
|
||||||
|
menu {
|
||||||
|
// margin: inherit;
|
||||||
|
// padding: inherit;
|
||||||
|
.menu {
|
||||||
|
&.dropdown {
|
||||||
|
justify-content: end;
|
||||||
|
li,.button {
|
||||||
|
font-size: $global-font-size*1.4;//$header-menu-font-size;
|
||||||
|
}
|
||||||
|
.button {
|
||||||
|
margin-left: $global-margin;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,3 +6,78 @@
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.hero {
|
||||||
|
@include breakpoint(small) {
|
||||||
|
// nav {
|
||||||
|
// .dropdown.menu > li > a {
|
||||||
|
// padding: $global-menu-padding/2 $global-menu-padding/2;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
@include breakpoint(medium) {
|
||||||
|
// aside {
|
||||||
|
// nav {
|
||||||
|
// .dropdown.menu > li > a {
|
||||||
|
// padding: $global-menu-padding;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
@include breakpoint(large) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
header {
|
||||||
|
menu {
|
||||||
|
a[href$="/join-us/"],a[href$="/login"] {
|
||||||
|
color: $black;
|
||||||
|
background-color: $input-background;
|
||||||
|
border: none;
|
||||||
|
border-radius: $global-radius-archive;
|
||||||
|
padding: $global-padding/2 $global-padding;
|
||||||
|
margin-left: $global-margin;
|
||||||
|
&:hover {
|
||||||
|
color: $anchor-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#site-list {
|
||||||
|
nav {
|
||||||
|
margin-bottom: 3rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// a[href^="http://"] {
|
||||||
|
// /* fully valid URL, likely external link */
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// a[href="http://google.com"] {
|
||||||
|
// /* link to specific website */
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// a[href^="/"], a[href^=".."] {
|
||||||
|
// /* internal relative link */
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// a[href^="mailto:"] {
|
||||||
|
// /* email link */
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// a[href$=".pdf"] {
|
||||||
|
// /* PDF file */
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// a[href$=".doc"] {
|
||||||
|
// /* Microsoft Word document */
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// a[href$=".mp3"] {
|
||||||
|
// /* Music file */
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// a[href$=".zip"] {
|
||||||
|
// /* Archive file */
|
||||||
|
// }
|
||||||
|
|
387
index.html
387
index.html
|
@ -5,166 +5,251 @@
|
||||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Foundation for Sites</title>
|
<title>Foundation for Sites</title>
|
||||||
<link rel="stylesheet" href="asset/css/app.css">
|
<link rel="stylesheet" href="asset/css/default.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="page index dropdown-menu">
|
||||||
<div class="grid-container">
|
<content class="">
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-12 cell">
|
<header>
|
||||||
<h1>Welcome to Foundation</h1>
|
<main class="">
|
||||||
</div>
|
<!-- <a href="/s/collections" class="site-brand arc-hive-off"> -->
|
||||||
|
<a href="/" class="site-brand arc-hive-off">
|
||||||
|
<img src="asset/img/ARC-HIVE-logo.svg?v=2.0.0" class="logo" title="an arc-hive project" alt="arc-hive logo">
|
||||||
|
<h1 class="site-name">Collections</h1>
|
||||||
|
<h2 class="site-description">an integrative digital bio-art platform</h2>
|
||||||
|
</a>
|
||||||
|
</main>
|
||||||
|
<nav>
|
||||||
|
<menu class="">
|
||||||
|
|
||||||
|
<ul id="" class="dropdown menu" data-dropdown-menu="dropdown-menu" role="menubar">
|
||||||
|
<li id="" class="" role="none">
|
||||||
|
<a role="menuitem" href="https://dev.arc-hive.zone">Project</a>
|
||||||
|
</li>
|
||||||
|
<li id="" class="" role="none">
|
||||||
|
<a role="menuitem" href="https://dev.arc-hive.zone/resources/">Resources</a>
|
||||||
|
</li>
|
||||||
|
<li id="" class="" role="none">
|
||||||
|
<a role="menuitem" href="https://dev.arc-hive.zone/category/how-to/">How-to</a>
|
||||||
|
</li>
|
||||||
|
<li id="" class="is-dropdown-submenu-parent opens-right" role="none" aria-haspopup="true" aria-label="About">
|
||||||
|
<a role="menuitem" href="#">About</a>
|
||||||
|
<ul class="dropdown menu vertical submenu is-dropdown-submenu first-sub" data-toggle="" data-submenu="" role="menubar">
|
||||||
|
<li id="" class="is-submenu-item is-dropdown-submenu-item" role="none">
|
||||||
|
<a role="menuitem" href="https://dev.arc-hive.zone/arc-hive-presentation/">Presentation</a>
|
||||||
|
</li>
|
||||||
|
<li id="" class="is-submenu-item is-dropdown-submenu-item" role="none">
|
||||||
|
<a role="menuitem" href="https://dev.arc-hive.zone/partners/">Partners</a>
|
||||||
|
</li>
|
||||||
|
<li id="" class="is-submenu-item is-dropdown-submenu-item" role="none">
|
||||||
|
<a role="menuitem" href="https://dev.arc-hive.zone/contact/">Contact</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li id="" class="" role="none">
|
||||||
|
<a role="menuitem" href="https://dev.arc-hive.zone/join-us/">Join us</a>
|
||||||
|
</li>
|
||||||
|
<li id="" class="" role="none">
|
||||||
|
<a role="menuitem" href="/login">Login</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</menu>
|
||||||
|
</nav>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<section class="hero omeka collections-all">
|
||||||
|
<main class="slides">
|
||||||
|
<section class="slide image-backgroud">
|
||||||
|
</section>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
<aside>
|
||||||
|
<h2 class="site-title">
|
||||||
|
<a href="/s/collections">
|
||||||
|
Collections </a>
|
||||||
|
</h2>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<article>
|
||||||
|
<section class="omekas-entry-content">
|
||||||
|
|
||||||
|
|
||||||
|
<!-- arc-hive page header-image insert begins -->
|
||||||
|
<style>
|
||||||
|
.arc-page-header-img {
|
||||||
|
content: url("asset/img/default-ARC-HIVE-hero-image.jpg?v=2.0.0");
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<!-- arc-hive page header-image insert ends -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!--
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- archive menu -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div id="blocks" class="blocks">
|
||||||
|
|
||||||
|
|
||||||
|
<div id="site-list">
|
||||||
|
<div data-v-abbdcac0=""><nav data-v-abbdcac0=""><form class="search"><div class="input-group"><input type="text" name="fulltext_search" placeholder="Search" aria-label="Search" class="input-group-fieldbutton hollow"> <button type="submit" class="appear button">
|
||||||
|
Search
|
||||||
|
</button></div></form></nav> <section data-v-abbdcac0="" class="collections-list"><header data-v-abbdcac0=""><h2 data-v-abbdcac0="">Latest in collections</h2></header> <main data-v-abbdcac0=""><article data-v-abbdcac0=""><ul data-v-abbdcac0="" class="accordion"><li data-v-abbdcac0="" data-accordion-item="" disabled="disabled" class="accordion-item title"><div data-v-abbdcac0="" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
|
||||||
|
Title
|
||||||
|
<span data-v-abbdcac0="" class="ascToggle"></span></li> <li data-v-abbdcac0="" class="curator">
|
||||||
|
Artist
|
||||||
|
<span data-v-abbdcac0="" class="ascToggle"></span></li> <li data-v-abbdcac0="" class="collection-name">
|
||||||
|
Collection
|
||||||
|
<span data-v-abbdcac0="" class="ascToggle"></span></li> <li data-v-abbdcac0="" class="date">
|
||||||
|
Date
|
||||||
|
<span data-v-abbdcac0="" class="ascToggle activeColumn"></span></li></ul></div></li> <li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
|
||||||
|
Hangar
|
||||||
|
</li> <li data-v-abbdcac0="" class="curator">
|
||||||
|
|
||||||
|
</li> <li data-v-abbdcac0="" class="collection-name">
|
||||||
|
|
||||||
|
</li> <li data-v-abbdcac0="" class="date">
|
||||||
|
|
||||||
|
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0=""></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0=""></span> <a data-v-abbdcac0="" href="/s/hangar" class="button small">
|
||||||
|
View
|
||||||
|
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
|
||||||
|
Trees and cells
|
||||||
|
</li> <li data-v-abbdcac0="" class="curator">
|
||||||
|
|
||||||
|
</li> <li data-v-abbdcac0="" class="collection-name">
|
||||||
|
|
||||||
|
</li> <li data-v-abbdcac0="" class="date">
|
||||||
|
|
||||||
|
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0=""></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">Here, some footnotes of structural imagination</span> <a data-v-abbdcac0="" href="/s/trees-and-cells" class="button small">
|
||||||
|
View
|
||||||
|
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
|
||||||
|
VideoReplication
|
||||||
|
</li> <li data-v-abbdcac0="" class="curator">
|
||||||
|
|
||||||
|
</li> <li data-v-abbdcac0="" class="collection-name">
|
||||||
|
|
||||||
|
</li> <li data-v-abbdcac0="" class="date">
|
||||||
|
|
||||||
|
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0=""></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0=""></span> <a data-v-abbdcac0="" href="/s/videoreplication" class="button small">
|
||||||
|
View
|
||||||
|
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
|
||||||
|
Werewolves
|
||||||
|
</li> <li data-v-abbdcac0="" class="curator">
|
||||||
|
Antonio + Chris
|
||||||
|
</li> <li data-v-abbdcac0="" class="collection-name">
|
||||||
|
Hangar people
|
||||||
|
</li> <li data-v-abbdcac0="" class="date">
|
||||||
|
2021-03-02
|
||||||
|
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://dev-archive.hangar.org/files/large/89/scary-werewolf.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">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.</span> <a data-v-abbdcac0="" href="/s/Werewolves" class="button small">
|
||||||
|
View
|
||||||
|
</a></p></section></aside></li><li data-v-abbdcac0="" data-accordion-item="" class="accordion-item"><div data-v-abbdcac0="" role="tab" aria-expanded="false" aria-selected="false" class="accordion-title"><ul data-v-abbdcac0=""><li data-v-abbdcac0="" class="title">
|
||||||
|
Modules
|
||||||
|
</li> <li data-v-abbdcac0="" class="curator">
|
||||||
|
Chris
|
||||||
|
</li> <li data-v-abbdcac0="" class="collection-name">
|
||||||
|
Hangar people
|
||||||
|
</li> <li data-v-abbdcac0="" class="date">
|
||||||
|
2021-03-09
|
||||||
|
</li></ul></div> <aside data-v-abbdcac0="" class="accordion-content"><section data-v-abbdcac0=""><figure data-v-abbdcac0=""><img data-v-abbdcac0="" src="https://dev-archive.hangar.org/files/large/81/3D-Panoramic-Landscape-Image-768x288.jpg"></figure> <p data-v-abbdcac0=""><span data-v-abbdcac0="">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.</span> <a data-v-abbdcac0="" href="/s/modules" class="button small">
|
||||||
|
View
|
||||||
|
</a></p></section></aside></li></ul> <!----></article></main> <aside data-v-abbdcac0=""><nav data-v-abbdcac0=""></nav></aside></section></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-12 cell">
|
<script src="/themes/archive/asset/js/archive-list.js"></script>
|
||||||
<div class="callout">
|
|
||||||
<h3>We’re stoked you want to try Foundation! </h3>
|
|
||||||
<p>To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
|
|
||||||
<p>Once you've exhausted the fun in this document, you should check out:</p>
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-4 medium-4 cell">
|
|
||||||
<p><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</p>
|
|
||||||
</div>
|
|
||||||
<div class="large-4 medium-4 cell">
|
|
||||||
<p><a href="http://zurb.com/university/code-skills">Foundation Code Skills</a><br />These online courses offer you a chance to better understand how Foundation works and how you can master it to create awesome projects.</p>
|
|
||||||
</div>
|
|
||||||
<div class="large-4 medium-4 cell">
|
|
||||||
<p><a href="http://foundation.zurb.com/forum">Foundation Forum</a><br />Join the Foundation community to ask a question or show off your knowlege.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-4 medium-4 medium-push-2 cell">
|
|
||||||
<p><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</p>
|
|
||||||
</div>
|
|
||||||
<div class="large-4 medium-4 medium-pull-2 cell">
|
|
||||||
<p><a href="https://twitter.com/ZURBfoundation">@zurbfoundation</a><br />Ping us on Twitter if you have questions. When you build something with this we'd love to see it (and send you a totally boss sticker).</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-8 medium-8 cell">
|
|
||||||
<h5>Here’s your basic grid:</h5>
|
|
||||||
<!-- Grid Example -->
|
|
||||||
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-12 cell">
|
|
||||||
<div class="primary callout">
|
|
||||||
<p><strong>This is a twelve cell section in a grid-x.</strong> Each of these includes a div.callout element so you can see where the cell are - it's not required at all for the grid.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-6 medium-6 cell">
|
|
||||||
<div class="primary callout">
|
|
||||||
<p>Six cell</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="large-6 medium-6 cell">
|
|
||||||
<div class="primary callout">
|
|
||||||
<p>Six cell</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-4 medium-4 small-4 cell">
|
|
||||||
<div class="primary callout">
|
|
||||||
<p>Four cell</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="large-4 medium-4 small-4 cell">
|
|
||||||
<div class="primary callout">
|
|
||||||
<p>Four cell</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="large-4 medium-4 small-4 cell">
|
|
||||||
<div class="primary callout">
|
|
||||||
<p>Four cell</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr />
|
|
||||||
|
|
||||||
<h5>We bet you’ll need a form somewhere:</h5>
|
|
||||||
<form>
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-12 cell">
|
|
||||||
<label>Input Label</label>
|
|
||||||
<input type="text" placeholder="large-12.cell" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-4 medium-4 cell">
|
|
||||||
<label>Input Label</label>
|
|
||||||
<input type="text" placeholder="large-4.cell" />
|
|
||||||
</div>
|
|
||||||
<div class="large-4 medium-4 cell">
|
|
||||||
<label>Input Label</label>
|
|
||||||
<input type="text" placeholder="large-4.cell" />
|
|
||||||
</div>
|
|
||||||
<div class="large-4 medium-4 cell">
|
|
||||||
<div class="grid-x">
|
|
||||||
<label>Input Label</label>
|
|
||||||
<div class="input-group">
|
|
||||||
<input type="text" placeholder="small-9.cell" class="input-group-field" />
|
|
||||||
<span class="input-group-label">.com</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-12 cell">
|
|
||||||
<label>Select Box</label>
|
|
||||||
<select>
|
|
||||||
<option value="husker">Husker</option>
|
|
||||||
<option value="starbuck">Starbuck</option>
|
|
||||||
<option value="hotdog">Hot Dog</option>
|
|
||||||
<option value="apollo">Apollo</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-6 medium-6 cell">
|
|
||||||
<label>Choose Your Favorite</label>
|
|
||||||
<input type="radio" name="pokemon" value="Red" id="pokemonRed"><label for="pokemonRed">Radio 1</label>
|
|
||||||
<input type="radio" name="pokemon" value="Blue" id="pokemonBlue"><label for="pokemonBlue">Radio 2</label>
|
|
||||||
</div>
|
|
||||||
<div class="large-6 medium-6 cell">
|
|
||||||
<label>Check these out</label>
|
|
||||||
<input id="checkbox1" type="checkbox"><label for="checkbox1">Checkbox 1</label>
|
|
||||||
<input id="checkbox2" type="checkbox"><label for="checkbox2">Checkbox 2</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="grid-x grid-padding-x">
|
|
||||||
<div class="large-12 cell">
|
|
||||||
<label>Textarea Label</label>
|
|
||||||
<textarea placeholder="small-12.cell"></textarea>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="large-4 medium-4 cell">
|
</section>
|
||||||
<h5>Try one of these buttons:</h5>
|
</article>
|
||||||
<p><a href="#" class="button">Simple Button</a><br/>
|
<aside>
|
||||||
<a href="#" class="success button">Success Btn</a><br/>
|
</aside>
|
||||||
<a href="#" class="alert button">Alert Btn</a><br/>
|
</main>
|
||||||
<a href="#" class="secondary button">Secondary Btn</a></p>
|
|
||||||
<div class="callout">
|
|
||||||
<h5>So many components, girl!</h5>
|
|
||||||
<p>A whole kitchen sink of goodies comes with Foundation. Check out the docs to see them all, along with details on making them your own.</p>
|
|
||||||
<a href="http://foundation.zurb.com/sites/docs/" class="small button">Go to Foundation Docs</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script src="node_modules/jquery/dist/jquery.js"></script>
|
<footer class="">
|
||||||
<script src="node_modules/what-input/dist/what-input.js"></script>
|
|
||||||
<script src="node_modules/foundation-sites/dist/js/foundation.js"></script>
|
<section class="subsection">
|
||||||
<script src="js/app.js"></script>
|
<aside class="site-brand arc-hive">
|
||||||
|
<a href="/s/collections" rel="home" class="">
|
||||||
|
<h1 class="site-name">
|
||||||
|
Collections </h1>
|
||||||
|
<h2 class="site-description">
|
||||||
|
an integrative digital bio-art platform
|
||||||
|
</h2>
|
||||||
|
</a>
|
||||||
|
</aside>
|
||||||
|
<aside class="double newsletter">
|
||||||
|
<p> Subscribe to our <br>
|
||||||
|
<span class="h4"><a href="https://arc-hive.zone/newsletter/">newsletter</a></span>
|
||||||
|
</p>
|
||||||
|
</aside>
|
||||||
|
<aside class="newsletter">
|
||||||
|
<p> Follow us on <br>
|
||||||
|
<span class="h4"><a href="https://www.facebook.com/arc.hive.platform/">facebook</a></span>
|
||||||
|
-
|
||||||
|
<span class="h4"><a href="https://www.instagram.com/arc.hive.zone/">instagram</a></span>
|
||||||
|
</p>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="subsection">
|
||||||
|
<aside class="contact">
|
||||||
|
<p><a href="mailto:info@arc-hive.zone">info@arc-hive.zone</a></p>
|
||||||
|
<p class="h5"><a href="https://arc-hive.zone/contact/">CONTACT</a></p>
|
||||||
|
</aside>
|
||||||
|
<aside class="double partners">
|
||||||
|
<p>ARC-HIVE partners are:</p>
|
||||||
|
<ul>
|
||||||
|
<li class="h5"> <a href="https://bioartsociety.fi/">Bioart Society</a></li>
|
||||||
|
<li class="h5"> <a href="https://cultivamoscultura.com/">Cultivamos Cultura</a></li>
|
||||||
|
<li class="h5"> <a href="https://hangar.org/">Hangar</a></li>
|
||||||
|
<li class="clear clearfix"></li>
|
||||||
|
<li class="h5"> <a href="https://kersnikova.org/">Kersnikova</a></li>
|
||||||
|
<li class="h5"> <a href="https://www.kontejner.org/">Kontejner</a></li>
|
||||||
|
<li class="h5"> <a href="https://www.naturalsciences.be/">RBINS</a></li>
|
||||||
|
</ul>
|
||||||
|
</aside>
|
||||||
|
<aside class="co-founded">
|
||||||
|
<a href="#" class="brand-logo eu">
|
||||||
|
<h1 class="site-name">Co-Funded bye the Creative Europe Programme of the European Union</h1>
|
||||||
|
</a>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
<section class="subsection">
|
||||||
|
<aside class="copyright">
|
||||||
|
Hosted, maintained and coded by <a href="https://hangar.org">Hangar</a>
|
||||||
|
</aside>
|
||||||
|
<aside class="double copyright">
|
||||||
|
Powered by Omeka S </aside>
|
||||||
|
<aside class="legal-credits">
|
||||||
|
Visual identity by <a href="http://oficinadedisseny.net/">Oficina de disseny</a>
|
||||||
|
</aside>
|
||||||
|
</section>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- end off-canvas-content -->
|
||||||
|
<!-- </div> -->
|
||||||
|
</content>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<script type="text/javascript" src="asssets/js/archive-list.js"></script>
|
||||||
|
<script type="text/javascript" src="asssets/js/browse.js"></script>
|
||||||
|
<script type="text/javascript" src="asssets/js/expand-site-list.js"></script>
|
||||||
|
<script type="text/javascript" src="asssets/js/foundation.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -924,9 +924,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"caniuse-lite": {
|
"caniuse-lite": {
|
||||||
"version": "1.0.30001236",
|
"version": "1.0.30001312",
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001236.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001312.tgz",
|
||||||
"integrity": "sha512-o0PRQSrSCGJKCPZcgMzl5fUaj5xHe8qA2m4QRvnyY4e1lITqoNkr7q/Oh1NcpGSy0Th97UZ35yoKcINPoq7YOQ==",
|
"integrity": "sha512-Wiz1Psk2MEK0pX3rUzWaunLTZzqS2JYZFzNKqAiJGiuxIjRPLgV6+VDPOg6lQOUxmDwhTlh198JsTTi8Hzw6aQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"caseless": {
|
"caseless": {
|
||||||
|
|
|
@ -2,55 +2,41 @@
|
||||||
$archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
|
$archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section class="collections-list">
|
<?php
|
||||||
|
$collections = $archiveSiteHelper->getCollections();
|
||||||
|
$projects = [];
|
||||||
|
foreach($sites as $site){
|
||||||
|
$site_data = $archiveSiteHelper->getSiteMetaValues($site);
|
||||||
|
$site_data['id'] = $site->id();
|
||||||
|
$site_data['url'] = $site->siteUrl();
|
||||||
|
$site_data['title'] = $site->title();
|
||||||
|
if (isset($site_data['collection'])) {
|
||||||
|
$site_data['collection'] = $collections[$site_data['collection']];
|
||||||
|
} else {
|
||||||
|
$site_data['collection'] = "";
|
||||||
|
}
|
||||||
|
$site_data['summary'] = nl2br($this->escapeHtml($site->summary()));
|
||||||
|
if (!isset($site_data['currator'])) {
|
||||||
|
$site_data['currator'] = "";
|
||||||
|
}
|
||||||
|
if (isset($site_data['project_date'])) {
|
||||||
|
$site_data['project_date'] = substr($site_data['project_date'], 0, 4);
|
||||||
|
}
|
||||||
|
array_push($projects, $site_data);
|
||||||
|
}
|
||||||
|
//$collections = json_encode($collections, JSON_UNESCAPED_SLASHES);
|
||||||
|
//$collections = json_encode($collections, JSON_HEX_APOS);
|
||||||
|
//$collections = htmlspecialchars(json_encode($collections), ENT_QUOTES, 'UTF-8');
|
||||||
|
$projects = htmlentities(json_encode($projects, JSON_HEX_QUOT), ENT_QUOTES, 'UTF-8');
|
||||||
|
?>
|
||||||
|
|
||||||
<header>
|
<div id="site-list">
|
||||||
<h2> Latest in collections</h2>
|
<div
|
||||||
</header>
|
data-vue-component="archive-list"
|
||||||
<main class="">
|
data-collections='<?= $projects ?>'
|
||||||
<article class="">
|
data-page_size=20>
|
||||||
<ul class="accordion" data-responsive-accordion-tabs="accordion small-accordion" data-multi-expand="true" data-allow-all-closed="true" data-deep-link="true">
|
</div>
|
||||||
<li class="accordion-item title" data-accordion-item disabled>
|
|
||||||
<a href="#" class="accordion-title">
|
|
||||||
<ul class="">
|
|
||||||
<li class="title">Title</li>
|
|
||||||
<li class="curator">Artist</li>
|
|
||||||
<li class="collection-name">Collection</li>
|
|
||||||
<li class="date">Date</li>
|
|
||||||
</ul>
|
|
||||||
</a>
|
|
||||||
<div class="accordion-content" data-tab-content>
|
|
||||||
<figure>
|
|
||||||
</figure>
|
|
||||||
<p>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
// read each omeka site to publish
|
<script src="/themes/archive/asset/js/archive-list.js"></script>
|
||||||
foreach($sites as $site):
|
|
||||||
$site_meta_values = $archiveSiteHelper->getSiteMetaValues($site);
|
|
||||||
// table body build file
|
|
||||||
echo $this->partial('common/site-list-entry', [
|
|
||||||
'site' => $site,
|
|
||||||
'showSummary' => $summaries,
|
|
||||||
'site_meta_values' => $site_meta_values,
|
|
||||||
'archive_collections' => $archiveSiteHelper->getCollections(),
|
|
||||||
]);
|
|
||||||
endforeach;
|
|
||||||
?>
|
|
||||||
</ul>
|
|
||||||
</article>
|
|
||||||
</main>
|
|
||||||
<aside>
|
|
||||||
<nav>
|
|
||||||
<?php
|
|
||||||
if (1 == 0):
|
|
||||||
//if ($pagination):
|
|
||||||
echo $this->pagination();
|
|
||||||
endif;
|
|
||||||
?>
|
|
||||||
</nav>
|
|
||||||
</aside>
|
|
||||||
</section>
|
|
||||||
|
|
|
@ -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(); ?>
|
||||||
|
|
||||||
|
|
|
@ -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">
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
Hosted, maintained and coded by <a href="https://hangar.org">Hangar</a>
|
Hosted, maintained and coded by <a href="https://hangar.org">Hangar</a>
|
||||||
</aside>
|
</aside>
|
||||||
<aside class="double copyright">
|
<aside class="double copyright">
|
||||||
<?php echo $this->translate('Powered by Omeka S'); ?>
|
Powered by <a href="https://omeka.org/">Omeka</a>
|
||||||
</aside>
|
</aside>
|
||||||
<aside class="legal-credits">
|
<aside class="legal-credits">
|
||||||
Visual identity by <a href="http://oficinadedisseny.net/">Oficina de disseny</a>
|
Visual identity by <a href="http://oficinadedisseny.net/">Oficina de disseny</a>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<main class="">
|
<main class="">
|
||||||
<a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off">
|
<!-- <a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off"> -->
|
||||||
|
<a href="https://arc-hive.zone/" class="site-brand arc-hive-off">
|
||||||
<?php if ($this->themeSetting('logo')): ?>
|
<?php if ($this->themeSetting('logo')): ?>
|
||||||
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
|
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
|
||||||
alt="<?php echo $site->title(); ?>"
|
alt="<?php echo $site->title(); ?>"
|
||||||
|
@ -17,20 +18,13 @@
|
||||||
</main>
|
</main>
|
||||||
<nav>
|
<nav>
|
||||||
<menu class="">
|
<menu class="">
|
||||||
<ul>
|
|
||||||
<li>
|
<?php
|
||||||
Este menu no lo genera Omeka.
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
Creo que emula el menu del wordpress.
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<?php /*
|
|
||||||
echo $site->publicNav()
|
echo $site->publicNav()
|
||||||
->menu()
|
->menu()
|
||||||
->setPartial('common/foundation-navigation.phtml')
|
->setPartial('common/wordpress-menu.phtml')
|
||||||
->renderPartialWithParams(['layout' => 'dropdown']);
|
->renderPartialWithParams(['layout' => 'dropdown']);
|
||||||
*/
|
|
||||||
?>
|
?>
|
||||||
</menu>
|
</menu>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -1,5 +1,25 @@
|
||||||
|
|
||||||
|
|
||||||
|
<!-- arc-hive header-image insert begins -->
|
||||||
|
<?php
|
||||||
|
$img_src = null;
|
||||||
|
$img_src = $this->getHelperPluginManager()->get('headerImage')->getImage();
|
||||||
|
if (!$img_src) {
|
||||||
|
$img_src = $this->assetUrl('img/default-ARC-HIVE-hero-image.jpg');
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
<style>
|
||||||
|
.arc-page-header-img {
|
||||||
|
content: url("<?= $img_src ?>");
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<?php
|
||||||
|
?>
|
||||||
|
<!-- arc-hive header-image insert ends -->
|
||||||
|
|
||||||
<main class="">
|
<main class="">
|
||||||
<a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off">
|
<!-- <a href="<?php echo $site->url(); ?>" class="site-brand arc-hive-off"> -->
|
||||||
|
<a href="https://arc-hive.zone/" class="site-brand arc-hive-off">
|
||||||
<?php if ($this->themeSetting('logo')): ?>
|
<?php if ($this->themeSetting('logo')): ?>
|
||||||
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
|
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
|
||||||
alt="<?php echo $site->title(); ?>"
|
alt="<?php echo $site->title(); ?>"
|
||||||
|
@ -11,23 +31,21 @@
|
||||||
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
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<?php /*
|
|
||||||
echo $site->publicNav()
|
echo $site->publicNav()
|
||||||
->menu()
|
->menu()
|
||||||
->setPartial('common/foundation-navigation.phtml')
|
->setPartial('common/wordpress-menu.phtml')
|
||||||
->renderPartialWithParams(['layout' => 'dropdown']);
|
->renderPartialWithParams(['layout' => 'dropdown']);
|
||||||
*/
|
|
||||||
?>
|
?>
|
||||||
</menu>
|
</menu>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -1,34 +1,19 @@
|
||||||
<section class="hero omeka">
|
<section class="hero omeka collections-all">
|
||||||
<main class="slides">
|
<main class="slides">
|
||||||
<?php if ($this->themeSetting('logo')): ?>
|
<section class="slide image-background">
|
||||||
<section class="slide">
|
<!-- <figure> -->
|
||||||
<figure>
|
<!-- <img src=""
|
||||||
<img src="<?php echo $this->themeSettingAssetUrl('logo'); ?>"
|
|
||||||
alt="<?php echo $site->title(); ?>"
|
|
||||||
title="<?php echo $site->title(); ?>"
|
|
||||||
class="logo" />
|
|
||||||
</figure>
|
|
||||||
</section>
|
|
||||||
<?php else: ?>
|
|
||||||
<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>
|
|
||||||
<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"
|
||||||
</figure>
|
class="logo" /-->
|
||||||
|
<!-- </figure> -->
|
||||||
</section>
|
</section>
|
||||||
<?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'); ?>
|
|
||||||
|
|
||||||
</aside>
|
</aside>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,19 +1,21 @@
|
||||||
<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>
|
||||||
|
<nav class="">
|
||||||
<?php
|
<?php
|
||||||
echo $site->publicNav()
|
echo $site->publicNav()
|
||||||
->menu()
|
->menu()
|
||||||
|
@ -21,7 +23,6 @@
|
||||||
->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>
|
||||||
|
|
|
@ -28,6 +28,7 @@ $summary = $showSummary ? $site->summary() : null;
|
||||||
</ul>
|
</ul>
|
||||||
</a>
|
</a>
|
||||||
<aside class="accordion-content" data-tab-content>
|
<aside class="accordion-content" data-tab-content>
|
||||||
|
<section>
|
||||||
<figure>
|
<figure>
|
||||||
<?php if ($site_meta_values != null): ?>
|
<?php if ($site_meta_values != null): ?>
|
||||||
<img src="<?= $site_meta_values['thumbnail']; ?>" />
|
<img src="<?= $site_meta_values['thumbnail']; ?>" />
|
||||||
|
@ -39,5 +40,6 @@ $summary = $showSummary ? $site->summary() : null;
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<a class="button small" href="<?= $site->siteUrl() ?>">View</a>
|
<a class="button small" href="<?= $site->siteUrl() ?>">View</a>
|
||||||
</p>
|
</p>
|
||||||
|
</section>
|
||||||
</aside>
|
</aside>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -0,0 +1,108 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
# Config
|
||||||
|
# uncoment below for production main branch and comment for development
|
||||||
|
$wordpress_site="https://arc-hive.zone";
|
||||||
|
$wordpress_endpoint="https://arc-hive.zone/wp-json/menus/v1/menus/4";
|
||||||
|
# coment below for production main branch and uncomment for development
|
||||||
|
#$wordpress_site="https://dev.arc-hive.zone";
|
||||||
|
#$wordpress_endpoint="https://dev.arc-hive.zone/wp-json/menus/v1/menus/4";
|
||||||
|
|
||||||
|
use Zend\Http\Client;
|
||||||
|
|
||||||
|
$items = new ArrayObject;
|
||||||
|
$items[0] = new ArrayObject(); // top level menu items go here
|
||||||
|
|
||||||
|
if ($wordpress_endpoint) {
|
||||||
|
try {
|
||||||
|
$client = new Client($wordpress_endpoint);
|
||||||
|
$client->setOptions(array("timeout"=>2));
|
||||||
|
$response = $client->send();
|
||||||
|
}
|
||||||
|
catch (exception $e) {
|
||||||
|
$response = null;
|
||||||
|
}
|
||||||
|
if ($response) {
|
||||||
|
$response_data = json_decode($response->getBody());
|
||||||
|
if (!$response->isClientError() && $response_data) {
|
||||||
|
foreach ($response_data as $menu_item) {
|
||||||
|
$lowered_title = strtolower($menu_item->title);
|
||||||
|
$item_url = $menu_item->url;
|
||||||
|
if ($lowered_title == 'login') {
|
||||||
|
// manipulate login url
|
||||||
|
$item_url = "/login";
|
||||||
|
}
|
||||||
|
$item_title = $menu_item->title;
|
||||||
|
/*
|
||||||
|
if ($lowered_title == 'collections') {
|
||||||
|
if ($wordpress_site) {
|
||||||
|
// change Collections item
|
||||||
|
$item_title = "Project";
|
||||||
|
$item_url = $wordpress_site;
|
||||||
|
} else {
|
||||||
|
continue; // do not render the Collections item
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
$item = [
|
||||||
|
"id" => $menu_item->ID,
|
||||||
|
"title" => $item_title,
|
||||||
|
"url" => $item_url
|
||||||
|
];
|
||||||
|
if (!isset($items[$menu_item->menu_item_parent])) {
|
||||||
|
$items[$menu_item->menu_item_parent] = new ArrayObject();
|
||||||
|
}
|
||||||
|
$items[$menu_item->menu_item_parent][$menu_item->ID] =$item;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (count($items[0]) == 0) {
|
||||||
|
// we did not retrieve a menu from the wordpress site
|
||||||
|
// let's create a default menu
|
||||||
|
if ($wordpress_site) {
|
||||||
|
$collections_item = [
|
||||||
|
"id" => 1,
|
||||||
|
"title" => "Collections",
|
||||||
|
"url" => "/"
|
||||||
|
];
|
||||||
|
$items[0][1] = $collections_item;
|
||||||
|
}
|
||||||
|
$login_item = [
|
||||||
|
"id" => 2,
|
||||||
|
"title" => "Login",
|
||||||
|
"url" => "/login"
|
||||||
|
];
|
||||||
|
$items[0][2] = $login_item;
|
||||||
|
}
|
||||||
|
//print_r($items);
|
||||||
|
|
||||||
|
if (!function_exists('render_menu')) {
|
||||||
|
function render_menu($items, $level_id) {
|
||||||
|
if ($level_id == 0) {
|
||||||
|
echo '<ul id="" class="dropdown menu" data-dropdown-menu="dropdown-menu" role="menubar">'.
|
||||||
|
PHP_EOL;
|
||||||
|
} else {
|
||||||
|
echo '<ul class="dropdown menu vertical submenu is-dropdown-submenu first-sub" data-toggle="" data-submenu="" role="">'.
|
||||||
|
PHP_EOL;
|
||||||
|
}
|
||||||
|
foreach ($items[$level_id] as $menu_item) {
|
||||||
|
if ($level_id == 0) {
|
||||||
|
echo '<li id="" class="" role="">'.PHP_EOL;
|
||||||
|
} else {
|
||||||
|
echo '<li id="" class="is-submenu-item is-dropdown-submenu-item" role="">'.PHP_EOL;
|
||||||
|
}
|
||||||
|
echo '<a role="" href="'.$menu_item['url'].'">'.$menu_item['title'].'</a>'.PHP_EOL;
|
||||||
|
if (isset($items[$menu_item['id']])) {
|
||||||
|
render_menu($items, $menu_item['id']); // render sub menu
|
||||||
|
}
|
||||||
|
echo '</li>' . PHP_EOL;
|
||||||
|
}
|
||||||
|
echo '</ul>' . PHP_EOL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
render_menu($items, 0);
|
||||||
|
|
||||||
|
?>
|
|
@ -93,8 +93,9 @@ endif;
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
</content>
|
</content>
|
||||||
<script>
|
<script>
|
||||||
$(document).foundation();
|
// $(document).foundation();
|
||||||
</script>
|
</script>
|
||||||
|
<script src="<?php echo $this->assetUrl('js/foundation.js'); ?>"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -40,7 +40,7 @@ $form->prepare();
|
||||||
<div id="new-block" class="active sidebar" data-url="<?php echo $this->url('admin/site/slug/page/default', ['action' => 'block'], true); ?>">
|
<div id="new-block" class="active sidebar" data-url="<?php echo $this->url('admin/site/slug/page/default', ['action' => 'block'], true); ?>">
|
||||||
<h3><?php echo $translate('Add new block'); ?></h3>
|
<h3><?php echo $translate('Add new block'); ?></h3>
|
||||||
<?php foreach ($this->blockLayout()->getLayouts() as $layout): ?>
|
<?php foreach ($this->blockLayout()->getLayouts() as $layout): ?>
|
||||||
<?php if ($layout == "html") { continue; } ?>
|
<?php /* if ($layout == "html") { continue; } */ ?>
|
||||||
<?php /* if ($layout == "tableOfContents") { continue; } */ ?>
|
<?php /* if ($layout == "tableOfContents") { continue; } */ ?>
|
||||||
<?php if ($layout == "searchingForm") { continue; } ?>
|
<?php if ($layout == "searchingForm") { continue; } ?>
|
||||||
<button type="button" value="<?php echo $escape($layout); ?>" class="option">
|
<button type="button" value="<?php echo $escape($layout); ?>" class="option">
|
||||||
|
|
|
@ -0,0 +1,53 @@
|
||||||
|
<?php
|
||||||
|
$translate = $this->plugin('translate');
|
||||||
|
$hyperlink = $this->plugin('hyperlink');
|
||||||
|
$url = $this->plugin('url');
|
||||||
|
$this->htmlElement('body')->appendAttribute('class', 'index search');
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php echo $this->pageTitle(sprintf($translate('Search results for “%s”'), $query)); ?>
|
||||||
|
|
||||||
|
<?php if (empty($results)): ?>
|
||||||
|
<p><?php echo $translate('No result found'); ?></p>
|
||||||
|
<?php else: ?>
|
||||||
|
<?php
|
||||||
|
$resourceLabels = [
|
||||||
|
'site_pages' => 'Site pages', // @translate
|
||||||
|
'items' => 'Items', // @translate
|
||||||
|
'item_sets' => 'Item sets', // @translate
|
||||||
|
'media' => 'Media', // @translate
|
||||||
|
];
|
||||||
|
$resourceControllers = [
|
||||||
|
'site_pages' => 'page',
|
||||||
|
'items' => 'item',
|
||||||
|
'item_sets' => 'item-set',
|
||||||
|
'media' => 'media',
|
||||||
|
];
|
||||||
|
?>
|
||||||
|
<?php foreach ($results as $resourceName => $result): ?>
|
||||||
|
<div class="<?php echo $resourceName; ?> results">
|
||||||
|
<h2><?php echo $translate($resourceLabels[$resourceName]); ?></h2>
|
||||||
|
|
||||||
|
<?php $titleMethod = $resourceName === 'site_pages' ? 'title' : 'displayTitle'; ?>
|
||||||
|
<ul>
|
||||||
|
<?php foreach ($result['resources'] as $resource): ?>
|
||||||
|
<li>
|
||||||
|
<?php echo $resource->link($resource->$titleMethod()); ?>
|
||||||
|
</li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
<!-- removes 'view all results' from site search -->
|
||||||
|
<!--
|
||||||
|
<?php echo $hyperlink(
|
||||||
|
sprintf($translate('View all results (%s total)'), $result['total']),
|
||||||
|
$url(
|
||||||
|
'site/resource',
|
||||||
|
['controller' => $resourceControllers[$resourceName], 'action' => 'browse'],
|
||||||
|
['query' => ['fulltext_search' => $query]],
|
||||||
|
true
|
||||||
|
)
|
||||||
|
); ?>
|
||||||
|
-->
|
||||||
|
</div>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php endif; ?>
|
|
@ -1,97 +1,4 @@
|
||||||
<?php
|
|
||||||
$translate = $this->plugin('translate');
|
|
||||||
$escape = $this->plugin('escapeHtml');
|
|
||||||
$this->headScript()->appendFile($this->assetUrl('js/browse.js'));
|
|
||||||
$this->htmlElement('body')->appendAttribute('class', 'item resource browse');
|
|
||||||
|
|
||||||
$query = $this->params()->fromQuery();
|
<script>
|
||||||
$itemSetShow = isset($itemSet);
|
window.location.replace("<?= $this->site->url() ?>");
|
||||||
if ($itemSetShow):
|
</script>
|
||||||
$this->htmlElement('body')->appendAttribute('class', 'item-set');
|
|
||||||
$query['item_set_id'] = $itemSet->id();
|
|
||||||
endif;
|
|
||||||
|
|
||||||
$layoutSetting = $this->themeSetting('browse_layout');
|
|
||||||
$gridState = ($layoutSetting == 'togglegrid') ? 'disabled' : '';
|
|
||||||
$listState = ($layoutSetting == 'togglelist') ? 'disabled': '';
|
|
||||||
$isGrid = (!isset($layoutSetting) || strpos($layoutSetting, 'grid') !== false) ? true : false;
|
|
||||||
$headingTerm = $this->siteSetting('browse_heading_property_term');
|
|
||||||
$bodyTerm = $this->siteSetting('browse_body_property_term');
|
|
||||||
$bodyTruncate = $this->themeSetting('truncate_body_property');
|
|
||||||
|
|
||||||
$sortHeadings = [
|
|
||||||
[
|
|
||||||
'label' => $translate('Title'),
|
|
||||||
'value' => 'dcterms:title'
|
|
||||||
],
|
|
||||||
[
|
|
||||||
'label' => $translate('Identifier'),
|
|
||||||
'value' => 'dcterms:identifier'
|
|
||||||
],
|
|
||||||
[
|
|
||||||
'label' => $translate('Class'),
|
|
||||||
'value' => 'resource_class_label'
|
|
||||||
],
|
|
||||||
[
|
|
||||||
'label' => $translate('Created'),
|
|
||||||
'value' => 'created'
|
|
||||||
],
|
|
||||||
];
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php if ($itemSetShow): ?>
|
|
||||||
<?php echo $this->pageTitle($itemSet->displayTitle(), 2); ?>
|
|
||||||
<h3><?php echo $translate('Item set'); ?></h3>
|
|
||||||
<div class="metadata">
|
|
||||||
<?php echo $itemSet->displayValues(); ?>
|
|
||||||
</div>
|
|
||||||
<div class="item-set-items">
|
|
||||||
<?php echo '<h3>' . $escape($translate('Items')) . '</h3>'; ?>
|
|
||||||
<?php else: ?>
|
|
||||||
<?php echo $this->pageTitle($translate('Items'), 2); ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php echo $this->searchFilters(); ?>
|
|
||||||
<div class="browse-control-mobile">
|
|
||||||
<button type="button" class="browse-toggle closed">Tools</button>
|
|
||||||
</div>
|
|
||||||
<div class="browse-controls closed">
|
|
||||||
<?php echo $this->pagination(); ?>
|
|
||||||
<?php if (strpos($layoutSetting, 'toggle') !== false): ?>
|
|
||||||
<div class="layout-toggle">
|
|
||||||
<button type="button" aria-label="<?php echo $translate('Grid'); ?>" class="grid o-icon-grid" <?php echo $gridState; ?>></button>
|
|
||||||
<button type="button" aria-label="<?php echo $translate('List'); ?>" class="list o-icon-list" <?php echo $listState; ?>></button>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php echo $this->hyperlink($translate('Advanced search'), $this->url('site/resource', ['controller' => 'item', 'action' => 'search'], ['query' => $query], true), ['class' => 'advanced-search']); ?>
|
|
||||||
<?php echo $this->sortSelector($sortHeadings); ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php $this->trigger('view.browse.before'); ?>
|
|
||||||
<ul class="resources <?php echo ($isGrid) ? 'resource-grid' : 'resource-list'; ?>">
|
|
||||||
<?php
|
|
||||||
foreach ($items as $item):
|
|
||||||
$heading = $headingTerm ? $item->value($headingTerm, ['default' => $translate('[Untitled]')]) : $item->displayTitle();
|
|
||||||
$body = $bodyTerm ? $item->value($bodyTerm) : $item->displayDescription();
|
|
||||||
?>
|
|
||||||
<li class="item resource <?php echo ($isGrid) ? '' : 'media-object'; ?>">
|
|
||||||
<?php if ($thumbnail = $this->thumbnail($item, 'medium')): ?>
|
|
||||||
<div class="resource-image <?php echo ($isGrid) ? '' : 'media-object-section'; ?>">
|
|
||||||
<?php echo $item->linkRaw($thumbnail, null, ['class' => 'thumbnail']); ?>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<div class="resource-meta <?php echo ($isGrid) ? '' : 'media-object-section'; ?>">
|
|
||||||
<h4><?php echo $item->link($heading); ?></h4>
|
|
||||||
<?php if ($body): ?>
|
|
||||||
<div class="description <?php echo ($bodyTruncate) ? $bodyTruncate : ''; ?>"><?php echo $body; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
<?php echo ($itemSetShow) ? '</div>' : ''; ?>
|
|
||||||
<?php $this->trigger('view.browse.after'); ?>
|
|
||||||
|
|
||||||
<div class="browse-controls">
|
|
||||||
<?php echo $this->pagination(); ?>
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -7,34 +7,28 @@ $itemMedia = $item->media();
|
||||||
$showLayout = $this->themeSetting('show_layout');
|
$showLayout = $this->themeSetting('show_layout');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- arc-hive insert begins -->
|
<!-- arc-hive page header-image insert begins -->
|
||||||
<?php
|
<?php
|
||||||
//$site->pages();
|
$img_src = null;
|
||||||
// set header image
|
|
||||||
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
||||||
if (!$img_src) {
|
if (!$img_src) {
|
||||||
$img_src = '/themes/archive/asset/img/default-header-image.jpg';
|
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
||||||
}
|
|
||||||
if ($this->site->title() == "Collections") {
|
|
||||||
$image_height = "300px";
|
|
||||||
} else {
|
|
||||||
$image_height = "200px";
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
#archive_header_img {
|
.arc-page-header-img {
|
||||||
background: url("<?= $img_src ?>") no-repeat;
|
content: url("<?= $img_src ?>");
|
||||||
width: 100%;
|
|
||||||
height: <?= $image_height ?>;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<?php
|
||||||
|
?>
|
||||||
<script>
|
<script>
|
||||||
<?php
|
<?php
|
||||||
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||||
?>
|
?>
|
||||||
$("#archive_page_title").html('<?php echo $_html ?>');
|
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||||
</script>
|
</script>
|
||||||
<!-- arc-hive insert ends -->
|
<!-- arc-hive page header-image insert ends -->
|
||||||
|
|
||||||
|
|
||||||
<div class="resource-title">
|
<div class="resource-title">
|
||||||
|
@ -53,10 +47,25 @@ $("#archive_page_title").html('<?php echo $_html ?>');
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<!-- code to link directly to media
|
||||||
|
<div class="resource">
|
||||||
|
<a class="resource-link" href="< ?= $media->originalUrl(); ?>">
|
||||||
|
<img src="< ?= $media->thumbnailUrl("square"); ?>" />
|
||||||
|
<span class="resource-name">
|
||||||
|
< ?= $media->displayTitle(); ?>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
<?php if (!$embedMedia && $itemMedia): ?>
|
<?php if (!$embedMedia && $itemMedia): ?>
|
||||||
<div class="media-list">
|
<div class="media-list" style="display: flex;">
|
||||||
<?php foreach ($itemMedia as $media): ?>
|
<?php foreach ($itemMedia as $media): ?>
|
||||||
|
<div class="resource">
|
||||||
<?php echo $media->linkPretty(); ?>
|
<?php echo $media->linkPretty(); ?>
|
||||||
|
<!-- include code to link directly to media here -->
|
||||||
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
|
@ -1,35 +1,37 @@
|
||||||
|
|
||||||
|
<!--
|
||||||
|
We have modified omkeka/site/item/show.phtml to render a link to the original
|
||||||
|
files intead of the media page (this page).
|
||||||
|
That means that this page is not (in theory) used.
|
||||||
|
-->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$translate = $this->plugin('translate');
|
$translate = $this->plugin('translate');
|
||||||
?>
|
?>
|
||||||
<?php $this->htmlElement('body')->appendAttribute('class', 'media resource show'); ?>
|
<?php $this->htmlElement('body')->appendAttribute('class', 'media resource show'); ?>
|
||||||
|
|
||||||
<!-- arc-hive insert begins -->
|
<!-- arc-hive page header-image insert begins -->
|
||||||
<?php
|
<?php
|
||||||
//$site->pages();
|
$img_src = null;
|
||||||
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
$img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site);
|
||||||
if (!$img_src) {
|
if (!$img_src) {
|
||||||
$img_src = '/themes/archive/asset/img/default-header-image.jpg';
|
$img_src = $this->assetUrl('img/ARC-HIVE-logo.svg');
|
||||||
}
|
|
||||||
if ($this->site->title() == "Collections") {
|
|
||||||
$image_height = "300px";
|
|
||||||
} else {
|
|
||||||
$image_height = "200px";
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<style>
|
<style>
|
||||||
#archive_header_img {
|
.arc-page-header-img {
|
||||||
background: url("<?= $img_src ?>") no-repeat;
|
content: url("<?= $img_src ?>");
|
||||||
width: 100%;
|
|
||||||
height: <?= $image_height ?>;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<?php
|
||||||
|
?>
|
||||||
<script>
|
<script>
|
||||||
<?php
|
<?php
|
||||||
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
$_html = '<a href="'.$this->site->url().'">'.$this->site->title().'</a>';
|
||||||
?>
|
?>
|
||||||
$("#archive_page_title").html('<?php echo $_html ?>');
|
$("#archive_page_title").html('<?php echo $_html ?>');
|
||||||
</script>
|
</script>
|
||||||
<!-- arc-hive insert ends -->
|
<!-- arc-hive page header-image insert ends -->
|
||||||
|
|
||||||
|
|
||||||
<div class="resource-title">
|
<div class="resource-title">
|
||||||
|
|
|
@ -5,13 +5,16 @@ $showPagePagination = $this->siteSetting('show_page_pagination', true);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- arc-hive page header-image insert begins -->
|
<!-- arc-hive page header-image insert begins -->
|
||||||
<?php
|
<?php
|
||||||
|
/*
|
||||||
|
$img_src has already been set at view/common/header-default.phtml
|
||||||
|
We override it here because a page may have it's own header image
|
||||||
|
*/
|
||||||
$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>
|
||||||
|
@ -21,7 +24,6 @@ $img_src = null;
|
||||||
</style>
|
</style>
|
||||||
<?php
|
<?php
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- arc-hive page header-image insert ends -->
|
<!-- arc-hive page header-image insert ends -->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -62,8 +64,8 @@ if ($activePage):
|
||||||
<?php if ($activePage): ?>
|
<?php if ($activePage): ?>
|
||||||
<?php if ($this->displayNavigation && $activePage['page']->hasPages()): ?>
|
<?php if ($this->displayNavigation && $activePage['page']->hasPages()): ?>
|
||||||
<nav class="sub-menu wide" data-sticky-container>
|
<nav class="sub-menu wide" data-sticky-container>
|
||||||
<div class="sticky" data-sticky data-anchor="blocks">
|
<div class="no-sticky" no-data-sticky no-data-anchor="blocks">
|
||||||
<?php echo $nav->menu()->setUlClass('vertical menu')->renderSubMenu(); ?>
|
<?php echo $nav->menu()->setUlClass('horizontal menu')->renderSubMenu(); ?>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
Loading…
Reference in New Issue