diff --git a/README.md b/README.md index dd14396..dbfe3d6 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,21 @@ # Foundation S -This is an Omeka S theme based on ZURB Foundation Sites. It currently comes with a default stylesheet for prototyping as well as 3 other style options. +This is an Omeka S theme based on [Omeka Foundation S theme]. ## Installation -For basic out-of-the-box use of the theme, follow the [Omeka S User Manual instructions for installing themes](https://omeka.org/s/docs/user-manual/sites/site_theme/#installing-themes). +For basic out-of-the-box use of the theme, follow the [Omeka S User Manual instructions for installing themes](https://omeka.org/s/docs/user-manual/sites/site_theme/#installing-themes). + +``` +cd themes +https://git.hangar.org/arcHIVE-tech/Arc-hive-omeka-theme/archive/main.zip +unzip main.zip +mv arc-hive-omeka-theme archive +``` + + +## Omeka Foundation S theme notes + 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`. @@ -56,7 +67,7 @@ Foundation S comes with the Default theme, as well as 3 other customized stylesh // Sea Foam Settings $topbar-background: $primary-color; - + $thumbnail-border: 4px solid $secondary-color; $thumbnail-shadow: none; $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5); @@ -72,10 +83,10 @@ header a { } ``` -Much of the customizability within the theme lies in managing its settings variables. ZURB Foundation's default global variables from their original `_settings.scss` all sit in `_globals-default.scss`. Many of these variables are used throughout the rest of `_settings.scss`, so it was necessary to separate them out into their own file if the theme writer wants to set their own global variables. Here all the overrides live in `_globals-seafoam.scss`, and so all overridden values will be appropriately updated for use throughout the rest of `_settings.scss`. +Much of the customizability within the theme lies in managing its settings variables. ZURB Foundation's default global variables from their original `_settings.scss` all sit in `_globals-default.scss`. Many of these variables are used throughout the rest of `_settings.scss`, so it was necessary to separate them out into their own file if the theme writer wants to set their own global variables. Here all the overrides live in `_globals-seafoam.scss`, and so all overridden values will be appropriately updated for use throughout the rest of `_settings.scss`. -Any non-global setting variable overrides should come after the import for `_settings.scss` and before their usagee in the rule files, `_foundation-core.scss`, and `_omeka.scss`. +Any non-global setting variable overrides should come after the import for `_settings.scss` and before their usagee in the rule files, `_foundation-core.scss`, and `_omeka.scss`. ZURB Foundation's default style rules are all managed in `_foundation-core.scss`. All style rules specific to Omeka S are contained within `_omeka.scss`. -After all those imports come all style rules specific to the theme. \ No newline at end of file +After all those imports come all style rules specific to the theme. diff --git a/asset/img/default-header-image.jpg b/asset/img/default-header-image.jpg new file mode 100644 index 0000000..8ede09c Binary files /dev/null and b/asset/img/default-header-image.jpg differ diff --git a/view/common/cross-site-search/results.phtml b/view/common/cross-site-search/results.phtml index 1902b29..195c883 100644 --- a/view/common/cross-site-search/results.phtml +++ b/view/common/cross-site-search/results.phtml @@ -3,11 +3,16 @@ $fulltextSearch = $this->params()->fromQuery('fulltext_search'); $hasResults = false; ?> + + pages(); +//$site->pages(); // set header image $img_src = $this->getHelperPluginManager()->get('archiveSiteMeta')->getSiteImage($site); -if ($img_src) { +if (!$img_src) { + $img_src = '/themes/archive/asset/img/default-header-image.jpg'; +} + ?> - - - +?> +$("#archive_page_title").html(''); + +