From 0c7463b66941b06ff9421002e8cf143260fa7ddb Mon Sep 17 00:00:00 2001 From: Paul Pound Date: Fri, 25 May 2012 15:37:06 -0300 Subject: [PATCH] made the islandora menu a menu normal item so it gets added to the navigation menu --- islandora.module | 4 +-- .../css/islandora_basic_collection.theme.css | 31 +++++++++---------- .../islandora_basic_image.module | 2 +- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/islandora.module b/islandora.module index cde267ab..01f92abe 100644 --- a/islandora.module +++ b/islandora.module @@ -96,10 +96,10 @@ function islandora_menu() { $items['islandora'] = array( 'title' => 'Islandora Repository', 'page callback' => 'islandora_view_default_object', - 'type' => MENU_CALLBACK, + 'type' => MENU_NORMAL_ITEM, 'access arguments' => array(FEDORA_VIEW), ); - + $items['islandora/object/%'] = array( 'title' => 'Repository', 'page callback' => 'islandora_view_object', diff --git a/islandora_basic_collection/css/islandora_basic_collection.theme.css b/islandora_basic_collection/css/islandora_basic_collection.theme.css index 780abdce..f7f2b6a0 100644 --- a/islandora_basic_collection/css/islandora_basic_collection.theme.css +++ b/islandora_basic_collection/css/islandora_basic_collection.theme.css @@ -8,30 +8,29 @@ /* islandora-basic-collection STYLES*/ .islandora-basic-collection { - width: 100%; - margin: 0 auto; - overflow: hidden; + margin: 2% auto; + overflow: hidden; + width: 96%; } dl.islandora-basic-collection-object { - width: 20%; - min-width: 100px; - text-align: center; - float: left; - margin: 2% 2% 50px 2%; + float: left; + margin: 2% 2% 50px; + width: 20%; + height: 180px; } .islandora-basic-collection-object dt img { - max-width: 100%; - *width: 100%; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; + max-width: 100%; + *width: 100%; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; } .islandora-basic-collection-object dd { - margin: 0; - padding: 0; -} + margin: 0; + padding: 0; +} \ No newline at end of file diff --git a/islandora_basic_image/islandora_basic_image.module b/islandora_basic_image/islandora_basic_image.module index 387ecf69..0ad069e4 100644 --- a/islandora_basic_image/islandora_basic_image.module +++ b/islandora_basic_image/islandora_basic_image.module @@ -38,7 +38,7 @@ function islandora_basic_image_menu() { 'page arguments' => array('islandora_basic_image_admin'), 'file' => 'admin/islandora_basic_image.admin.inc', 'type' => MENU_NORMAL_ITEM, - ); + ); /* example menu paths $items['islandora/object/%/manage/image'] = array( 'title' => 'Manage Image Types',