Compare commits

...

175 Commits

Author SHA1 Message Date
jorge d90e95fe23 Merge pull request 'make lines 100% screen width in collections view' (#68) from develop into main
Reviewed-on: #68
2022-05-03 10:35:16 +02:00
jorge 142f99d610 make lines 100% screen width in collections view 2022-05-03 10:32:25 +02:00
jorge ceeb0fd7d1 Merge pull request 'merge from develop to fix header nav view' (#67) from develop into main
Reviewed-on: #67
2022-05-03 10:13:01 +02:00
jorge 839f7f0b9d added space in small, medium and large screen below header nav menu 2022-05-03 10:11:16 +02:00
jorge 01ae9a2a81 added space in small screen below header nav menu 2022-05-03 09:56:02 +02:00
jorge 4f9887efb1 merged dev and changed call into import of wp menu to use the https://arc-hive.zone url 2022-04-29 10:07:31 +02:00
jorge e58647ee86 Merge branch 'main' into develop 2022-04-29 10:05:02 +02:00
jorge 9cc1feb76f mods for wp menu in omeka depending in production or development 2022-04-29 09:58:28 +02:00
jorge 7e24eff9b2 Merge pull request 'fix js issue with main view' (#66) from develop into main
Reviewed-on: #66
2022-04-28 19:46:23 +02:00
buttle cca089d368 fixes collection index ordering 2022-04-28 19:43:37 +02:00
buttle 4def89678e Merge branch 'develop' of ssh://git.hangar.org:21036/arcHIVE-tech/Arc-hive-omeka-theme into develop 2022-04-28 19:14:14 +02:00
buttle c986e12de6 display collection menu item when wordpress api timeout 2022-04-28 19:13:23 +02:00
chris 3b526e98a7 Merge pull request 'Last minute pre production changes' (#65) from develop into main
Reviewed-on: #65
2022-04-28 19:05:29 +02:00
jorge 69401646a6 added image typo in css 2022-04-28 19:02:27 +02:00
jorge 358e6ffaaf added image background in conllections-all 2022-04-28 18:57:34 +02:00
buttle 24afe3a03a fixes show only year in collections index 2022-04-28 18:54:54 +02:00
jorge 1ee3b85901 added collections image in background 2022-04-28 18:45:26 +02:00
jorge b43e71754f added collections image in background 2022-04-28 18:40:45 +02:00
jorge 04f43f81a2 added collections image in background 2022-04-28 18:39:07 +02:00
buttle 1ecb8d403b fixes omeka link 2022-04-28 18:35:47 +02:00
buttle 967750ff2b adds link to omeka in footer 2022-04-28 18:34:01 +02:00
buttle 084e3b1f8a changes collection header image 2022-04-28 18:23:18 +02:00
jorge ff4ce4c91b modified the height in main collections banner image, added more time when retreiving the wp menu 2022-04-28 18:15:44 +02:00
buttle 9d042ea0ee displays only the year in collections index items 2022-04-28 17:59:02 +02:00
buttle 92f25811e8 fixes menu and logo link 2022-04-28 17:23:07 +02:00
jorge 59ac584be3 Merge pull request 'merge develop into main issues #9 list' (#64) from develop into main
Reviewed-on: #64

only css changes and a minor html class change
2022-04-27 14:50:49 +02:00
jorge 5f4867d3f1 button _collection index_ same size as load more 2022-04-27 14:44:04 +02:00
jorge db24442b96 links in collections navigation menu and submenu underline in hover 2022-04-27 14:29:21 +02:00
jorge 5e3148165e collection-single hero nav as submenu, margins to left and right´ 2022-04-27 14:11:12 +02:00
jorge f0f6e24f6a reduced button size of search and loadmore to match the rest of font-sizes 2022-04-27 13:44:18 +02:00
jorge 09b0de783f controlled spaces around in omeka content submenu screen media sizes 2022-04-25 14:21:57 +02:00
jorge 0f89feacba controlled spaces around in omeka content submenu 2022-04-25 14:19:27 +02:00
jorge a93513ff0c removed sticky to omeka content submenu 2022-04-25 14:15:49 +02:00
jorge 3e25aaf87e submenu stucked inside content proper possition and backgroudn 2022-04-25 14:11:03 +02:00
jorge 9878abd21d submenu inside omeka-entry-content possition 2022-04-25 14:02:59 +02:00
jorge 40c7c26cb7 modified submenu in page item so it is horizontal 2022-04-25 13:35:58 +02:00
jorge 1575eb4123 increased space around loadmore in collections home 2022-04-25 13:25:16 +02:00
jorge 122af63d49 increased space around loadmore in collections home 2022-04-25 13:05:02 +02:00
jorge 8c6cfec4e3 added space in navigation site-items 2022-04-25 04:14:09 +02:00
jorge 5079afcdfa top menu as wordpress with rouded buttons 2022-04-25 03:50:35 +02:00
jorge 589f68e954 increased width in items 2022-04-25 03:19:45 +02:00
jorge cf4b1bab52 mods in header and menus 2022-04-25 03:12:12 +02:00
jorge d60de419c4 in header logo size and possition 2022-04-25 01:47:24 +02:00
jorge 263d1a144d ordered the scss forms file definitions 2022-04-25 00:49:03 +02:00
chris bde71ecdbf Merge pull request 'develop' (#63) from develop into main
Reviewed-on: #63
2022-04-23 21:10:16 +02:00
jorge 64ab42be95 commited this change as is implemented in the server but not commited in git, so we need it here to be on track 2022-03-29 19:15:09 +02:00
jorge a5765b4a97 added app js 2022-03-29 18:33:59 +02:00
buttle 3b1f83d4c7 Merge branch 'develop' of ssh://git.hangar.org:21036/arcHIVE-tech/Arc-hive-omeka-theme into develop 2022-03-25 13:20:02 +01:00
buttle 3f9aaa69a5 fixes array key bug 2022-03-25 13:17:33 +01:00
chris 90eb660a15 Merge pull request 'wordpress-menu' (#56) from wordpress-menu into develop
Reviewed-on: #56
2022-03-25 13:12:27 +01:00
buttle d89708381d adds menu css 2022-03-25 13:09:53 +01:00
buttle 591bca7f2b does not render Collections items when wordpress url is missing 2022-03-25 12:42:39 +01:00
buttle 5b2d677d17 renders a default menu when wordpress api fails 2022-03-25 12:07:14 +01:00
buttle 9d3976c1cb fixes back button rerender error 2022-03-25 11:52:10 +01:00
buttle f9d2d65931 improves item title comparisons 2022-03-25 11:25:32 +01:00
buttle 27ed8e6db5 does not render empty menu 2022-03-25 11:21:23 +01:00
buttle f79b7af69c adds config, and config instructions. 2022-03-25 10:58:33 +01:00
buttle 3657873be7 adds request timeout and error detection 2022-03-25 10:20:12 +01:00
buttle c48a6d5709 improves menu item iteration 2022-03-25 10:00:24 +01:00
buttle 3f42b2f218 renders wordpress menu in <ul> 2022-03-24 22:42:29 +01:00
jorge 41eb169bfb Merge pull request 'fix/issue53-backgrond-collections' (#55) from fix/issue53-backgrond-collections into main
Reviewed-on: #55
2022-03-22 19:57:20 +01:00
jorge e0f66c0354 Merge branch 'main' into fix/issue53-backgrond-collections 2022-03-22 19:54:18 +01:00
jorge 89a8e0f283 changed gitignore 2022-03-22 19:50:55 +01:00
jorge 0789c1d099 styled accordion content 2022-03-22 19:43:17 +01:00
jorge 7b7b4ed205 styled accordion content 2022-03-22 19:42:06 +01:00
jorge b62eb95edc styled accordion content 2022-03-22 19:35:51 +01:00
jorge c3034c2eb4 styled accordion content 2022-03-22 19:28:56 +01:00
jorge 4aef2d6def styled accordion content 2022-03-22 19:22:31 +01:00
jorge 72a07b8171 styled list collections accordion in mobile 2022-03-22 19:09:41 +01:00
jorge e496fbd184 styled list collections accordion in mobile 2022-03-22 19:01:48 +01:00
jorge 90569410e0 styled list collections accordion in mobile 2022-03-22 18:58:46 +01:00
jorge 7ab2aaeec5 styled list collections accordion in mobile 2022-03-22 18:40:50 +01:00
jorge 1eeac2565d styled list collections accordion in mobile 2022-03-22 18:20:29 +01:00
jorge 1becffc86d styled list collections accordion in mobile 2022-03-22 18:09:06 +01:00
jorge 653702bca2 styled list collections accordion in mobile 2022-03-22 17:51:15 +01:00
jorge 7feb22d1d3 styled list collections accordion in mobile 2022-03-22 17:45:13 +01:00
jorge 4bd15a3b05 styled list collections accordion in mobile 2022-03-22 17:38:55 +01:00
jorge 47107fafd0 styled list collections accordion in mobile 2022-03-22 17:33:57 +01:00
jorge 025542eab0 styled list collections accordion in mobile 2022-03-22 17:26:37 +01:00
jorge 4f470ec681 styled list collections accordion in mobile 2022-03-22 17:20:14 +01:00
jorge a16a30f70c mod list collections accordion in mobile 2022-03-22 17:12:16 +01:00
jorge 0ffc4250a0 collections view in small screens 2022-03-22 16:51:30 +01:00
jorge 88ca56c0d2 deleted uneded css files 2022-03-22 16:47:22 +01:00
jorge ac973671ec Merge pull request 'fix/issue53-backgrond-collections' (#54) from fix/issue53-backgrond-collections into main
Reviewed-on: #54
2022-03-22 10:28:49 +01:00
jorge 02039acb15 Merge branch 'main' into fix/issue53-backgrond-collections 2022-03-21 14:34:45 +01:00
jorge 5293569f60 let spaces controlled but alignt date to right 2022-03-21 14:33:40 +01:00
jorge ad3a744b31 distributed spaces of items in title 2022-03-21 14:21:46 +01:00
jorge 5ec326083f distributed spaces of items in title 2022-03-21 14:20:29 +01:00
jorge aebea97210 date space shrinked 2022-03-21 14:16:47 +01:00
jorge fa86141155 distributed p list items 2022-03-21 14:14:05 +01:00
jorge 3fc1bdc0b1 distributed list items, moved styles to its _content.scss 2022-03-21 14:12:25 +01:00
jorge 4796678569 distributed list items 2022-03-21 14:00:55 +01:00
jorge 92b5522f18 distributed list items and remove + - symbol 2022-03-21 13:58:10 +01:00
jorge 91b6b5cac4 applied style to buttons in active accordions 2022-03-21 13:48:38 +01:00
jorge 75cbc81733 removed white background in active accordion buttons 2022-03-21 13:44:40 +01:00
jorge 45a027d465 avoid title in accordion to have background color 2022-03-21 13:39:11 +01:00
jorge 39756d3934 added blue background issue #53 2022-03-21 13:20:12 +01:00
chris 8e7ddb6bf5 Merge pull request 'updates collection list vue component' (#51) from develop into main
Reviewed-on: #51
2022-03-17 15:12:16 +01:00
buttle deaf58f350 updates collection list vue component 2022-03-17 15:10:15 +01:00
jorge 3598879c41 Merge pull request 'Item to media link. CSS fixes' (#50) from develop into main
Reviewed-on: #50
2022-03-16 11:44:07 +01:00
buttle 84a54b6f61 fixes item to media link. adds CSS class=resource to div 2022-03-15 19:27:25 +01:00
jorge 1e4610167b spaced menu smallscreen view 2022-03-01 16:36:34 +01:00
jorge 488cc5cf79 in small screesn: reduced space around menu items, wider container 2022-03-01 16:27:24 +01:00
jorge 528254875d Merge branch 'main' into develop 2022-03-01 14:32:27 +01:00
jorge 2fbe867757 edited view for media so it has classes and not styles 2022-03-01 14:29:05 +01:00
jorge 72a1d805bb added space around in media, changed view for small screens 2022-03-01 14:23:38 +01:00
chris eb0f7c6c7e Merge pull request 'fixes mail logo url' (#49) from develop into main
Reviewed-on: #49
2022-02-25 13:50:42 +01:00
buttle 4ccf994595 changes main logo url 2022-02-25 13:04:18 +01:00
buttle e7bc273c02 'browse items' page redirects to sites main page 2021-12-02 11:42:02 +01:00
jorge c102696a8d Merge pull request 'update main branch' (#47) from develop into main
Reviewed-on: #47
2021-12-01 11:20:12 +01:00
buttle 987215a2d9 item page renders links to original media url
lists media in flexbox
2021-11-25 12:08:24 +01:00
buttle 18e6f3392d removes 'view all results' from site search 2021-11-25 10:48:20 +01:00
buttle adafaf38b9 updates vue component 2021-11-24 15:34:30 +01:00
buttle 60eac3e67a ensures all site data is present 2021-11-24 13:21:57 +01:00
buttle e951669cff recovers accordion aria attributes 2021-11-24 11:22:01 +01:00
buttle 6af87367eb uses custom jquery to handle accordion 2021-11-24 11:02:30 +01:00
jorge efa9584e9c Merge pull request 'fix/search-issue-45' (#46) from fix/search-issue-45 into develop
Reviewed-on: #46
2021-11-19 16:59:59 +01:00
jorge 0ec94a15e1 reordered scss delarations to make code readable 2021-11-19 16:57:36 +01:00
jorge acfb3316a0 proper separation between block presentation and element construtio in search block 2021-11-19 16:48:57 +01:00
jorge 4cfabe9ad5 Merge pull request 'fix/pdf-icon-issue-34' (#43) from fix/pdf-icon-issue-34 into develop
Reviewed-on: #43
2021-11-19 16:12:56 +01:00
jorge 36e1c59a9d added space between letters and icon 2021-11-19 16:00:54 +01:00
jorge d2d0b5d39a added pdf icon when a pdf is in the link URL 2021-11-19 15:54:04 +01:00
jorge eca85816d4 added pdf icon when a pdf is in the link URL 2021-11-19 15:49:12 +01:00
jorge 7c80fdd310 Merge pull request 'fix/index-sites-items-issue-35' (#41) from fix/index-sites-items-issue-35 into develop
Reviewed-on: #41
2021-11-19 15:29:15 +01:00
jorge a9d31e2942 Merge branch 'develop' into fix/index-sites-items-issue-35 2021-11-19 15:26:23 +01:00
jorge 258ca2dca6 searh input contend padded for reading purposes 2021-11-19 15:20:09 +01:00
jorge 702147d77f search in conllections centered 2021-11-19 15:17:04 +01:00
jorge 52edb5dc9f search in conllections centered 2021-11-19 15:08:36 +01:00
jorge 945e2ed094 search in conllections centered 2021-11-19 15:07:25 +01:00
jorge cd6d3f5c2c search in conllections centered 2021-11-19 15:04:10 +01:00
jorge 8e19f65408 rescaled button search 2021-11-19 14:49:24 +01:00
jorge ecf7edc65f removed possition of placeholder 2021-11-18 14:16:31 +01:00
jorge 8796ae11a8 removed class .hero for search button fields 2021-11-18 14:09:26 +01:00
buttle d284002ae4 adds page_size attribute to collection list component 2021-11-10 14:18:27 +01:00
chris a735970d9b Merge pull request 'List collections with vue component' (#40) from collection-list into develop
Reviewed-on: #40
2021-11-10 13:59:26 +01:00
buttle 8b052f95ee updates vue component 2021-11-10 13:55:14 +01:00
buttle d6d9260c0e adds site->id to search text results 2021-11-03 23:07:21 +01:00
buttle dafe41912d loads component with sites via prop 2021-10-29 11:21:26 +02:00
buttle c56464e086 replaces php site list with vue component 2021-10-26 12:22:55 +02:00
jorge 8e1c27de2d changed EU logo back to blue as requested by mail on 18th 10 2021 2021-10-19 09:11:49 +02:00
buttle d7aa820113 adds header image by default
Closes #1
2021-10-13 14:50:01 +02:00
buttle 931e674e11 comments HTML block exclusion 2021-10-13 12:04:53 +02:00
jorge ac591b0476 Merge pull request 'fix menu header small screens' (#39) from fix/header into develop
Reviewed-on: #39
2021-10-13 10:49:00 +02:00
jorge 8d0b6cceb1 fixin header menu vew in small screens 2021-10-13 10:39:23 +02:00
jorge 852f119de0 fixin header menu vew in small screens 2021-10-13 10:34:51 +02:00
jorge c504a78e2c Merge pull request 'fix/header image issue #37' (#38) from fix/header into develop
Reviewed-on: #38
2021-10-13 09:58:52 +02:00
jorge 6e055dd4bb removed padding in header slide img 2021-10-13 09:56:28 +02:00
jorge 3223051b69 removed padding in header img 2021-10-13 09:54:10 +02:00
jorge 54e3ee7771 mods to fix presetantion of article image inside header when small-screen view 2021-10-13 09:44:15 +02:00
chris a9ea9cfce2 Merge pull request 'fix/index-sites-items-issue-35' (#36) from fix/index-sites-items-issue-35 into develop
Reviewed-on: #36
2021-10-08 12:17:36 +02:00
jorge 0cdd3ba1cb reduced header sizes in results view 2021-10-08 00:13:54 +02:00
jorge 39855d1bb7 hide search form on top of search results title, it is redundant 2021-10-08 00:08:04 +02:00
jorge c850da3421 reduced to h3 the search results for and added class 2021-10-07 23:06:10 +02:00
jorge df6c4bcd34 item image each link is a box, each img is a row so description goes beneath 2021-10-07 22:54:26 +02:00
jorge 0e46b528db item presentation images removed background 2021-10-07 22:51:55 +02:00
jorge 53cf7f08e5 item presentation images and resource name in rows 2021-10-07 22:50:29 +02:00
jorge 94f496b213 cleaned up omeka scss and added pannemmul styles 2021-10-07 22:02:15 +02:00
jorge aef6eba175 increased global margin for `collection index` button 2021-10-07 21:42:36 +02:00
jorge 1df64ad110 added lists to scss files 2021-10-07 21:40:16 +02:00
jorge 1df83b1df5 item properties presented as list tabbed horizontally 2021-10-07 21:38:54 +02:00
jorge 6e9cc61485 increased space around text `collection index` in page view 2021-10-07 21:07:41 +02:00
jorge 7765a39ae0 styled link to `technical documentation` aligned to the lefts as other elements 2021-10-07 21:02:02 +02:00
jorge b3b4e57249 styled link to `technical documentation` as button with small font size and narrower padding 2021-10-07 21:00:16 +02:00
jorge bff2eab376 styled link to `technical documentation` as small button 2021-10-07 20:39:47 +02:00
jorge 31c7edfe7b button possitioned proportional to <p> padding 2021-10-07 20:33:07 +02:00
jorge 2a56062fd3 styled the page descripton technical documentation as button 2021-10-07 20:27:16 +02:00
jorge 3b08513cfd positioned the view button right and lower 2021-10-07 19:59:40 +02:00
jorge 4cf64b4fec changed EU Creative Europe as required 2021-10-01 14:03:58 +02:00
jorge bb13d9b927 center button on page template end button 2021-09-14 16:58:10 +02:00
jorge 86f7d9d162 Merge pull request 'fix/buttons-media-item-page' (#33) from fix/buttons-media-item-page into develop
Reviewed-on: #33
2021-09-14 16:40:10 +02:00
jorge 8475bc2a9a added styles for smaller buttons in media, item and page view 2021-09-07 11:42:11 +02:00
jorge 97f6ce8c95 merged fix/print-pdf-css into fis/line-break to avoid npm error lacking file definition into default.scss 2021-09-07 10:35:42 +02:00
jorge 516fef1843 Merge branch 'fix/print-pdf-css' into fix/line-break 2021-09-07 10:34:33 +02:00
jorge dbc027b055 Merge branch 'develop' into fix/line-break 2021-09-07 10:30:12 +02:00
jorge 92cede002c fixes line-break and block margins below arcHIVE-tech/fixes#18 2021-09-06 19:33:18 +02:00
42 changed files with 1151 additions and 1518 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ bower_components
node_modules
npm-debug.log
_
index*
index*.html

View File

@ -33,6 +33,15 @@ chown -R www-data:www-data ./
## 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`.

View File

@ -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: 897 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 KiB

1
asset/js/app.js.map Normal file

File diff suppressed because one or more lines are too long

2
asset/js/archive-list.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,18 @@
(function($) {
$(document).ready(function() {
$('._expand_site_item').click(function() {
$(this).next('tr').toggle();
return false;
});
});
})(jQuery)
$(function(){
$("#site-list").on( "click", ".accordion-title", function() {
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;
});
})

View File

@ -250,14 +250,14 @@ $input-error-font-weight: $global-weight-bold;
// ------------
$accordion-background: $white;
$accordion-plusminus: true;
$accordion-plusminus: false;
$accordion-plus-content: '\002B';
$accordion-minus-content: '\2013';
$accordion-title-font-size: $global-font-size;//rem-calc(12);
$accordion-item-color: $body-font-color;
$accordion-item-background-hover: none;
$accordion-item-padding: $global-padding*1.5 0;
$accordion-content-background: $white;
$accordion-content-background: transparent;
$accordion-content-border: none;
$accordion-content-color: $body-font-color;
$accordion-content-padding: $global-padding*1.5 0;
@ -425,16 +425,16 @@ $dropdown-sizes: (
// -----------------
$dropdownmenu-arrows: true;
$dropdownmenu-arrow-color: $anchor-color;
$dropdownmenu-arrow-color: $body-font-color;//$anchor-color;
$dropdownmenu-arrow-size: 6px;
$dropdownmenu-arrow-padding: 1.5rem;
$dropdownmenu-min-width: 200px;
$dropdownmenu-min-width: 100%;//200px;
$dropdownmenu-background: null;
$dropdownmenu-submenu-background: $white;
$dropdownmenu-submenu-background: $dropdown-background;
$dropdownmenu-padding: $global-menu-padding;
$dropdownmenu-nested-margin: 0;
$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-background-active: transparent;
@ -521,6 +521,7 @@ $menu-centered-back-compat: true;
$menu-icons-back-compat: true;
$menu-anchor-color: $black;
$menu-anchor-color-hover: $anchor-color;
// 24. Meter
// ---------

View File

@ -24,8 +24,8 @@
@include xy-grid;
}
li {
display:inline;
@include xy-cell(3);
display:inline;
text-align:left;
}
}

View File

@ -1,3 +1,6 @@
button {
@extend .button;
}
button,.button {
&.small{
padding: $global-padding*0.5 $global-padding*1.5;
@ -58,3 +61,22 @@ button,.button {
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;
}
}

View File

@ -27,6 +27,14 @@
display:inline;
width: 0;
}
&.tech-document-link {
a {
@include button;
padding: $global-padding*0.5 $global-padding*1.5;
margin-left: 0;
font-size: $small-font-size;
}
}
}
}
}

View File

@ -1,67 +1,90 @@
.hero{
//search block size in content
article,.omekas-entry-content {
.search{
.input-group * {
margin: 0;
}
@include xy-grid();
.input-group {
position: relative;
border-radius: 4rem;
overflow: hidden;
padding: 0;
margin: 0;
}
.input-group .appear {
right: 0;
position: absolute;
height: 100%;
padding: 0.3rem 1rem;
}
.button{
border-color: $primary-color;
}
.appear{
display:none;
}
input{
&:active{
border-color: $primary-color;
background-color: $input-background-focus;
@include breakpoint(small){
@include xy-cell (12);
margin-left: auto;
margin-right: auto;
}
&:focus,&:focus-within{
border-color: $primary-color;
background-color: $input-background;
@include breakpoint(medium){
@include xy-cell (6);
margin-left: auto;
margin-right: auto;
}
&:not(:placeholder-shown) {
border:none;
background-color: $input-background-focus;
position: relative;
right: 2rem;
+ .appear {
display: block;
background-color: scale-color($input-background-focus, $lightness: -20%);
z-index: 2;
&:hover {
color: $white;
background-color: $primary-color;
}
}
}
}
.hollow {
border-color: $primary-color;
color: $primary-color;
&::after {
}
&::placeholder {
color: scale-color($primary-color, $lightness: -20%);
}
&:hover {
background-color: scale-color($primary-color, $lightness: 95%);
}
&:active {
background-color: scale-color($primary-color, $lightness: 85%);
@include breakpoint(large){
@include xy-cell (4);
margin-left: auto;
margin-right: auto;
}
}
}
}
// search elements
.search{
.input-group {
position: relative;
border-radius: $global-padding*4;
overflow: hidden;
padding: 0;
margin: 0;
.appear {
right: 0;
position: absolute;
height: 100%;
padding: $global-padding*0.3 $global-padding;
}
}
.input-group * {
margin: 0;
}
.button{
border-color: $primary-color;
}
.appear{
display:none;
font-size: $global-font-size;
}
input{
&:active{
border-color: $primary-color;
background-color: $input-background-focus;
}
&:focus,&:focus-within{
border-color: $primary-color;
background-color: $input-background;
}
&:not(:placeholder-shown) {
border:none;
background-color: $input-background-focus;
position: relative;
padding-right: $global-padding * 9;
+ .appear {
display: block;
background-color: scale-color($input-background-focus, $lightness: -20%);
z-index: 2;
&:hover {
color: $white;
background-color: $primary-color;
}
}
}
}
.hollow {
border-color: $primary-color;
color: $primary-color;
&:after {
}
&::placeholder {
color: scale-color($primary-color, $lightness: -20%);
}
&:hover {
background-color: scale-color($primary-color, $lightness: 95%);
}
&:active {
background-color: scale-color($primary-color, $lightness: 85%);
}
}
}

View File

@ -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;
}
}
}
}

View File

@ -108,6 +108,7 @@
@import "components/buttons";
@import "components/accordion";
@import "components/tables";
@import "components/lists";
// Templates

View File

@ -2,10 +2,10 @@
.site-name,.site-description {
display: none;
}
&::before {
&:before {
content: '';
display:inline-block;
margin-top:-$global-padding;
// margin-top:-$global-padding;
width: 100%;
height: $global-padding*5;
background-size: contain;
@ -31,6 +31,15 @@
&.eu{
&::before {
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

View File

@ -14,31 +14,8 @@
@mixin font-worksans-medium {
font-face: worksans-medium, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
font-weight: normal;
}
}
@mixin font-worksans-mediumitalic {
font-face: worksans-mediumitalic, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
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;
// }
//}
}

View File

@ -15,6 +15,23 @@ header nav {
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{
a {
color: $body-font-color;
@ -42,29 +59,42 @@ main {
}
}
section {
padding: $global-padding $global-padding*2;
// padding: $global-padding $global-padding*2;
}
.entry-content,.omekas-entry-content {
@include breakpoint(small){
@include xy-cell(12);
padding: $global-padding*2 ;
padding: $global-padding*2 $global-padding/2 ;
margin:0 auto;
}
@include breakpoint(medium){
@include xy-cell(12);
padding: $global-padding*2 $global-padding*3;
max-width: 50rem;
max-width: 60rem;
margin:0 auto;
}
@include breakpoint(xlarge){
@include xy-cell(12);
max-width: 50rem;
padding: $global-padding*2 $global-padding*3;
font-size: $global-font-size*1.2;
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;
}
}
}
@ -100,7 +130,7 @@ main {
max-width: 50rem;
}
@include breakpoint(xlarge){
max-width: 50rem;
// max-width: 50rem;
}
}
}
@ -197,61 +227,173 @@ main {
}
header {
display: none;
// margin-top: 2*$global-margin;
// border-top: 1px solid $body-font-color;
// padding: $global-padding*2 0;
}
main {
@include xy-grid;
padding: 0;
margin: 0;
article {
@include card-container();
@include breakpoint(small){
@include card-container();
@include xy-cell();
width: 100%;
padding: 0;
margin: 0;
@include breakpoint(small){
font-size: $global-font-size*0.7;
overflow: visible;
}
@include breakpoint(medium){
font-size: $global-font-size*1;
}
@include breakpoint(large){
}
margin-bottom:0;
}
}
.accordion-content {
padding-top: 0;
section {
@include xy-grid;
.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 {
padding-top: 0;
padding-bottom: 0;
@include breakpoint(small){
figure {
@include xy-cell(12);
margin-left:0;
margin-right:0;
section {
@include xy-grid;
@include breakpoint(small){
padding: 0;
figure {
@include xy-cell(12);
}
p {
@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;
}
}
}
p {
@include xy-cell(12);
@include breakpoint(medium){
figure {
@include xy-cell(4);
@include xy-gutters;
}
p {
@include xy-cell(8);
padding-top: 0;
}
}
}
@include breakpoint(medium){
figure {
@include xy-cell(3);
margin-left: 0;
@include breakpoint(large){
}
p {
@include xy-cell(9);
}
}
@include breakpoint(large){
}
}
}
}
}
// end collections category
@ -298,11 +440,13 @@ main {
@include xy-grid();
.slide {
@include xy-grid;
justify-content: center;
@include breakpoint(small){
width: 100vw;
overflow: hidden;
padding: 0;
margin: 0;
padding: $global-padding * 3;
justify-content: center;
color: $white;
.textwidget {
}
}
@ -317,9 +461,9 @@ main {
@include breakpoint(large){
width: 50%;
height: calc((50vw*9)/16);
padding: 0;
margin: 0;
overflow:hidden;
//padding: 0;
//margin: 0;
//overflow:hidden;
a {
@include flex;
@include flex-align (center,middle);
@ -349,7 +493,6 @@ main {
background-color: $primary-color;
font-variant:all-small-caps;
}
color: $white;
.logo {
@include breakpoint(medium){
@ -365,10 +508,28 @@ main {
@include xy-cell(auto);
@include flex;
@include flex-align(spaced,middle);
min-height: 6rem;
padding: $global-padding 0 ;
@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 ;
.menu, .menu.horizontal {
justify-content: unset;
}
}
a {
color: $body-font-color;
&:hover {
// color: $anchor-color;
text-decoration: underline;
}
}
.button {
justify-content:center;
@ -392,10 +553,11 @@ main {
.slides {
background-color: $secondary-color;
.slide {
height: 10rem;
flex-direction: column;
align-content: center;
align-self: center;
margin: $global-margin auto;
margin: 0 auto;
&:first-child {
color: unset;
background-color: unset;
@ -407,6 +569,16 @@ main {
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 {
@ -441,19 +613,26 @@ main {
}
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;
}
}
}