? .DS_Store ? .patch ? dont_drupal_render_forms_0.patch ? drupal.hook-page-alter.patch ? drupal.hook-page-alter_0.patch ? head.db ? incremental_filter_access_control_29.patch ? incremental_filter_access_control_40.patch ? taxonomy_0.diff ? vertical_tabs-323112-24.patch ? vertical_tabs-323112-41.patch ? modules/.DS_Store ? sites/default/files ? sites/default/settings.php Index: misc/vertical-tabs.css =================================================================== RCS file: misc/vertical-tabs.css diff -N misc/vertical-tabs.css --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ misc/vertical-tabs.css 13 Feb 2009 05:14:06 -0000 @@ -0,0 +1,100 @@ +/* $Id */ + +.vertical-tabs-list .description { + display: block; +} + +/* Border style of tabs and content */ +div.vertical-tabs-div, +ul.vertical-tabs-list { + border: 1px solid #ccc; +} + +/* Make space for the tabs on the side */ +.vertical-tabs { + margin-left: 180px; +} + +/* Set the background image on the tabs and content */ +.vertical-tabs, +.vertical-tabs ul.vertical-tabs-list { + background: #fff; +} + +/* Position and layout of tabs container */ +.vertical-tabs ul.vertical-tabs-list { + width: 179px; + float: left; + margin: 0 0 0 -180px; + border-right: 0px; + z-index: 1; + border-bottom: 0; + list-style-type: none; + list-style-image: none; + padding: 0; +} + + +/* Reset LIs which probably have awkward layout inherited from tabs */ +.vertical-tabs ul.vertical-tabs-list li { + float: none; + margin: 0; + padding: 0; + background-image: none; +} + +/* Layout of each tab */ +.vertical-tabs ul.vertical-tabs-list a { + display: block; + margin: 0; + padding: .4em .3em .1em .6em; + background: #fafafa; + text-align: left; + font-weight: normal; + border-bottom: 1px solid #ccc; +} + +.vertical-tabs ul.vertical-tabs-list a.vertical-tabs-nodescription { + padding-bottom: .4em; +} + +.vertical-tabs ul.vertical-tabs-list .description { + padding: 0; + line-height: normal; + min-height: 0; + white-space: normal; +} + +.vertical-tabs ul.vertical-tabs-list a { + border-right: 1px solid #ccc; +} + +/* Hover state of tabs */ +.vertical-tabs ul.vertical-tabs-list a:hover { + text-decoration: none; + cursor: pointer; +} + +.vertical-tabs ul.vertical-tabs-list a:focus { + outline: none; +} + +/* Selected tab */ +.vertical-tabs ul.vertical-tabs-list li.selected a { + background: transparent none; + color: black; + border-right: 0; +} + +/* Reset some important elements of each panel */ +.vertical-tabs .vertical-tabs-div { + margin: 0; + padding: .5em; + margin-top: -1px; + margin-left: -1px; + background: transparent none; +} + +.buttons { + clear: both; +} Index: misc/vertical-tabs.js =================================================================== RCS file: misc/vertical-tabs.js diff -N misc/vertical-tabs.js --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ misc/vertical-tabs.js 13 Feb 2009 05:14:06 -0000 @@ -0,0 +1,73 @@ +// $Id$ + +/** + * Main vertical tabs behavior - create the vertical tabs. + */ +Drupal.behaviors.verticalTabs = function() { + // Make sure that the vertical tabs list hasn't already been constructed. + if (!$('.vertical-tabs-list').size()) { + // Create the first
and the