diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-14 16:41:30 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-03-14 16:41:30 +0000 |
commit | 38969b48ffd65d8bbf2b7c6722288c5341d7a4f6 (patch) | |
tree | 12c24fe330db341ac54d72b5dc638dae14642408 /themes/chameleon | |
parent | 78027e1a1a1d4fabd69c9806f49edd6d94a31e2d (diff) | |
download | brdo-38969b48ffd65d8bbf2b7c6722288c5341d7a4f6.tar.gz brdo-38969b48ffd65d8bbf2b7c6722288c5341d7a4f6.tar.bz2 |
#315533 by JohnAlbin and catch: Remove all core themes but Garland and Stark. Yay for making Drupal 75% more palatable to designers. These themes can be found in contrib thanks to the venerable John Wilkins. :)
Diffstat (limited to 'themes/chameleon')
-rw-r--r-- | themes/chameleon/background.png | bin | 200 -> 0 bytes | |||
-rw-r--r-- | themes/chameleon/chameleon.info | 13 | ||||
-rw-r--r-- | themes/chameleon/chameleon.theme | 190 | ||||
-rw-r--r-- | themes/chameleon/common-rtl.css | 19 | ||||
-rw-r--r-- | themes/chameleon/common.css | 151 | ||||
-rw-r--r-- | themes/chameleon/logo.png | bin | 2350 -> 0 bytes | |||
-rw-r--r-- | themes/chameleon/marvin/bullet.png | bin | 210 -> 0 bytes | |||
-rw-r--r-- | themes/chameleon/marvin/druplicon-watermark-rtl.png | bin | 2502 -> 0 bytes | |||
-rw-r--r-- | themes/chameleon/marvin/druplicon-watermark.png | bin | 2454 -> 0 bytes | |||
-rw-r--r-- | themes/chameleon/marvin/logo.png | bin | 2335 -> 0 bytes | |||
-rw-r--r-- | themes/chameleon/marvin/marvin.info | 8 | ||||
-rw-r--r-- | themes/chameleon/marvin/screenshot.png | bin | 2800 -> 0 bytes | |||
-rw-r--r-- | themes/chameleon/marvin/style-rtl.css | 33 | ||||
-rw-r--r-- | themes/chameleon/marvin/style.css | 124 | ||||
-rw-r--r-- | themes/chameleon/screenshot.png | bin | 3450 -> 0 bytes | |||
-rw-r--r-- | themes/chameleon/style-rtl.css | 29 | ||||
-rw-r--r-- | themes/chameleon/style.css | 115 |
17 files changed, 0 insertions, 682 deletions
diff --git a/themes/chameleon/background.png b/themes/chameleon/background.png Binary files differdeleted file mode 100644 index 194588a3a..000000000 --- a/themes/chameleon/background.png +++ /dev/null diff --git a/themes/chameleon/chameleon.info b/themes/chameleon/chameleon.info deleted file mode 100644 index d7c5e352f..000000000 --- a/themes/chameleon/chameleon.info +++ /dev/null @@ -1,13 +0,0 @@ -; $Id$ -name = Chameleon -description = Minimalist tabled theme with light colors. -regions[left] = Left sidebar -regions[right] = Right sidebar -features[] = logo -features[] = favicon -features[] = name -features[] = slogan -stylesheets[all][] = style.css -stylesheets[all][] = common.css -version = VERSION -core = 7.x diff --git a/themes/chameleon/chameleon.theme b/themes/chameleon/chameleon.theme deleted file mode 100644 index 31ca7df31..000000000 --- a/themes/chameleon/chameleon.theme +++ /dev/null @@ -1,190 +0,0 @@ -<?php -// $Id$ - -/** - * @file - * A slim, CSS-driven theme which does not depend on a template engine like phptemplate - */ - -/** - * Implementation of hook_theme. Auto-discover theme functions. - */ -function chameleon_theme($existing, $type, $theme, $path) { - return drupal_find_theme_functions($existing, array($theme)); -} - -function chameleon_page($content, $show_blocks = TRUE, $show_messages = TRUE) { - $language = $GLOBALS['language']->language; - $direction = $GLOBALS['language']->direction ? 'rtl' : 'ltr'; - - if (theme_get_setting('toggle_favicon')) { - drupal_set_html_head('<link rel="shortcut icon" href="' . check_url(theme_get_setting('favicon')) . '" type="image/x-icon" />'); - } - - $title = drupal_get_title(); - $rdf_namespaces = drupal_get_rdf_namespaces(); - - // Get blocks before so that they can alter the header (JavaScript, Stylesheets etc.) - $blocks_left = theme_blocks('left'); - $blocks_right = theme_blocks('right'); - - $output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML+RDFa 1.0//EN\" \"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd\">\n"; - $output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"$language\" dir=\"$direction\"\n"; - $output .= " $rdf_namespaces>\n"; - $output .= "<head profile=\"http://ns.inria.fr/grddl/rdfa/\">\n"; - $output .= " <title>" . ($title ? strip_tags($title) . " | " . variable_get("site_name", "Drupal") : variable_get("site_name", "Drupal") . " | " . variable_get("site_slogan", "")) . "</title>\n"; - $output .= drupal_get_html_head(); - $output .= drupal_get_css(); - $output .= drupal_get_js(); - $output .= "</head>"; - $output .= "<body>\n"; - $output .= " <div id=\"header\">"; - - if ($logo = theme_get_setting('logo')) { - $output .= " <a href=\"" . url() . "\" title=\"" . t('Home') . "\"><img src=\"$logo\" alt=\"" . t('Home') . "\" /></a>"; - } - if (theme_get_setting('toggle_name')) { - $output .= " <h1 class=\"site-name title\">" . l(variable_get('site_name', 'drupal'), "") . "</h1>"; - } - if (theme_get_setting('toggle_slogan')) { - $output .= " <div class=\"site-slogan\">" . variable_get('site_slogan', '') . "</div>"; - } - - $output .= "</div>\n"; - - $main_menu = theme('links', menu_main_menu(), array('class' => 'links', 'id' => 'navlist')); - $secondary_menu = theme('links', menu_secondary_menu(), array('class' => 'links', 'id' => 'subnavlist')); - if (isset($main_menu) || isset($secondary_menu)) { - $output .= ' <div class="navlinks">'; - if (isset($main_menu)) { - $output .= $main_menu; - } - if (isset($secondary_menu)) { - $output .= $secondary_menu; - } - $output .= " </div>\n"; - } - - $output .= " <table id=\"content\">\n"; - $output .= " <tr>\n"; - - if ($show_blocks && !empty($blocks_left)) { - $output .= " <td id=\"sidebar-left\">$blocks_left</td>\n"; - } - - $output .= " <td id=\"main\">\n"; - - if ($title) { - $output .= theme("breadcrumb", drupal_get_breadcrumb()); - $output .= "<h2>$title</h2>"; - } - - if ($tabs = theme('menu_local_tasks')) { - $output .= $tabs; - } - - if ($show_messages) { - $output .= theme('status_messages'); - } - - $output .= theme('help'); - - $output .= "\n<!-- begin content -->\n"; - $output .= $content; - $output .= drupal_get_feeds(); - $output .= "\n<!-- end content -->\n"; - - if ($footer = variable_get('site_footer', '')) { - $output .= " <div id=\"footer\">$footer</div>\n"; - } - - $output .= " </td>\n"; - - if ($show_blocks && !empty($blocks_right)) { - $output .= " <td id=\"sidebar-right\">$blocks_right</td>\n"; - } - - $output .= " </tr>\n"; - $output .= " </table>\n"; - - $output .= theme_closure(); - $output .= " </body>\n"; - $output .= "</html>\n"; - - return $output; -} - -function chameleon_node($node, $teaser = 0) { - - $output = "<div class=\"node" . ((!$node->status) ? ' node-unpublished' : '') . (($node->sticky) ? ' sticky' : '') . "\">\n"; - - if (!$page) { - $output .= " <h2 class=\"title\">" . ($teaser ? l($node->title, "node/$node->nid") : check_plain($node->title)) . "</h2>\n"; - } - - $output .= " <div class=\"content\">\n"; - - if ($teaser && $node->teaser) { - $output .= $node->teaser; - } - elseif (isset($node->body)) { - $output .= $node->body; - } - - $output .= " </div>\n"; - - $submitted = ''; - if (variable_get('node_submitted_' . $node->type, TRUE)) { - $submitted = t("By !author at @date", array('!author' => theme('username', $node), '@date' => format_date($node->created, 'small'))); - } - - $terms = ''; - if (!empty($node->content['links']['terms'])) { - $terms = drupal_render($node->content['links']['terms']); - } - - $links = ''; - if ($node->content['links']) { - $links = drupal_render($node->content['links']); - } - - if (!empty($terms) || !empty($links)) { - $output .= '<div class="links">' . $terms . $links . $submitted . "</div>\n"; - } - - $output .= "</div>\n"; - - if ($node->content['comments']) { - $output .= drupal_render($node->content['comments']); - } - - return $output; -} - -function chameleon_comment($comment, $node, $links = array()) { - $submitted['comment_submitted'] = array( - 'title' => t('By !author at @date', array('!author' => theme('username', $comment), '@date' => format_date($comment->timestamp, 'small'))), - 'html' => TRUE); - - $output = "<div class=\"comment\">\n"; - $output .= " <h3 class=\"title\">" . l($comment->subject, $_GET['q'], array('fragment' => "comment-$comment->cid")) . "</h3>\n"; - $output .= " <div class=\"content\">" . $comment->comment; - if (!empty($comment->signature)) { - $output .= " <div class=\"clearfix\">"; - $output .= "<div>—</div>\n"; - $output .= $comment->signature . "\n"; - $output .= " </div>\n"; - } - $output .= " </div>\n"; - $output .= " <div class=\"links\">" . theme('links', array_merge($submitted, $links)) . "</div>\n"; - $output .= "</div>\n"; - - return $output; -} - -function chameleon_help() { - if ($help = menu_get_active_help()) { - return '<div class="help">' . $help . '</div><hr />'; - } -} - diff --git a/themes/chameleon/common-rtl.css b/themes/chameleon/common-rtl.css deleted file mode 100644 index 8ce725dab..000000000 --- a/themes/chameleon/common-rtl.css +++ /dev/null @@ -1,19 +0,0 @@ -/* $Id$ */ - -body { - direction: rtl; -} -.navlinks { - padding: 0em 0em 1.5em 0.5em; -} -.primary a { - padding: 0em 0em 0em 0.5em; -} -.secondary a { - padding: 0em 0em 0em 0.5em; -} - -#header img { - float: right; - padding: 0em 0em .5em 2em; -} diff --git a/themes/chameleon/common.css b/themes/chameleon/common.css deleted file mode 100644 index 642dc48b2..000000000 --- a/themes/chameleon/common.css +++ /dev/null @@ -1,151 +0,0 @@ -/* $Id$ */ - -/* -** HTML elements -*/ -a, a:link, a:active { - font-weight: bold; - text-decoration: none; -} -a:hover { - text-decoration: underline; -} -body { - margin: 0; - padding: 3em; - font-size: .9em; - line-height: 1.3em; -} -blockquote { - font-style: italic; -} -table { - margin: 0; - padding: .5em; - border-collapse: collapse; -} -code, pre { - font-size: 1em; -} -pre { - font-size: 0.8em; - padding: 1em; - background: #eee; -} -li { - padding-bottom: .3em; -} -h1, h2, h3, h4, h5, h6 { - margin-bottom: .25em; -} -h1 { - font-size: 1.3em; -} -h2 { - font-size: 1.2em; -} -h3 { - font-size: 1.1em; -} -h4, h5, h6 { - font-size: 1em; -} -p { - margin: 0 0 .5em 0; -} -br { - line-height: 0.6em; -} - -/* -** Page layout blocks / IDs -*/ -#header { - margin-bottom: 2em; -} -#help { - font-size: 0.8em; -} -#content { - clear: both; -} -#sidebar-left, #sidebar-right { - vertical-align: top; - padding: 10px; -} -#main { - padding-left: 1em; - padding-right: 1em; - vertical-align: top; -} -#footer { - font-size: 0.8em; - padding-top: 2em; - text-align: center; -} - -/* -** Common declarations for child classes of node, comment, block, box etc -*/ -.title { - margin: 0 0 .25em 0; -} -.content { - margin: 0 0 .5em 0; -} -ul.links.inline { - font-size: 0.8em; - line-height: 1.25em; -} -.block { - width: 180px; -} -.messages { - padding: 0.3em; - margin: 0.5em 0em 0.5em 0em; -} -.status { - border: 1px solid #3a3; - color: #3a3; -} -.error, form-item input.error { - border: 1px solid red; - color: red; -} - -/* -** Common navigation links added on the admin/build/themes/settings page -*/ -.navlinks { - padding: 0em 0.5em 1.5em 0em; /* LTR */ - clear: both; -} -.primary a { - font-size: 1.0em; - padding: 0em 0.5em 0em 0em; /* LTR */ -} -.secondary a { - font-size: 0.9em; - padding: 0em 0.5em 0em 0em; /* LTR */ -} - -/* -** Logo Image Positioning -*/ -#header img { - float: left; /* LTR */ - padding: 0em 2em .5em 0em; /* LTR */ -} -#header { - clear: both; -} -/* -** Module specific styles -*/ -.form-item textarea { - font-size: 1em; -} -#aggregator .feed-source { - border: 1px solid gray; - padding: 1em; -} diff --git a/themes/chameleon/logo.png b/themes/chameleon/logo.png Binary files differdeleted file mode 100644 index b2da93d42..000000000 --- a/themes/chameleon/logo.png +++ /dev/null diff --git a/themes/chameleon/marvin/bullet.png b/themes/chameleon/marvin/bullet.png Binary files differdeleted file mode 100644 index 937c8ed05..000000000 --- a/themes/chameleon/marvin/bullet.png +++ /dev/null diff --git a/themes/chameleon/marvin/druplicon-watermark-rtl.png b/themes/chameleon/marvin/druplicon-watermark-rtl.png Binary files differdeleted file mode 100644 index 14321ea01..000000000 --- a/themes/chameleon/marvin/druplicon-watermark-rtl.png +++ /dev/null diff --git a/themes/chameleon/marvin/druplicon-watermark.png b/themes/chameleon/marvin/druplicon-watermark.png Binary files differdeleted file mode 100644 index 4f91cd380..000000000 --- a/themes/chameleon/marvin/druplicon-watermark.png +++ /dev/null diff --git a/themes/chameleon/marvin/logo.png b/themes/chameleon/marvin/logo.png Binary files differdeleted file mode 100644 index 6b1ed0e42..000000000 --- a/themes/chameleon/marvin/logo.png +++ /dev/null diff --git a/themes/chameleon/marvin/marvin.info b/themes/chameleon/marvin/marvin.info deleted file mode 100644 index 887247d1d..000000000 --- a/themes/chameleon/marvin/marvin.info +++ /dev/null @@ -1,8 +0,0 @@ -; $Id$ -name = Marvin -description = Boxy tabled theme in all grays. -regions[left] = Left sidebar -regions[right] = Right sidebar -version = VERSION -core = 7.x -base theme = chameleon diff --git a/themes/chameleon/marvin/screenshot.png b/themes/chameleon/marvin/screenshot.png Binary files differdeleted file mode 100644 index b46b21cf5..000000000 --- a/themes/chameleon/marvin/screenshot.png +++ /dev/null diff --git a/themes/chameleon/marvin/style-rtl.css b/themes/chameleon/marvin/style-rtl.css deleted file mode 100644 index 6da7ca6ba..000000000 --- a/themes/chameleon/marvin/style-rtl.css +++ /dev/null @@ -1,33 +0,0 @@ -/* $Id$ */ - -body { - background-image: url(druplicon-watermark-rtl.png); - background-position: top left; -} - -p { - margin: 0 0 1em 1em; -} - -ul.links li { - border-left: none; - border-right: 1px solid #888; -} - -/* -** Common declarations for child classes of node, comment, block, box etc -*/ -.node .submitted { - float: right; - padding: 0.5em 1em 0.5em 0; -} -.node .taxonomy { - float: left; -} -.node .content { - padding-left: 0; - padding-right: 1em; -} -.node .links { - padding: 1em 0.2em 1em 0; -} diff --git a/themes/chameleon/marvin/style.css b/themes/chameleon/marvin/style.css deleted file mode 100644 index bcd3bced9..000000000 --- a/themes/chameleon/marvin/style.css +++ /dev/null @@ -1,124 +0,0 @@ -/* $Id$ */ - -/* -** HTML elements -*/ -body { - background: #fff url(druplicon-watermark.png) no-repeat top right; /* LTR */ - font-family: arial, helvetica, sans-serif; -} -a:link { - color: #656 -} -a:visited { - color: #656 -} -a:active { - color: #ccc -} -h2 { - background-color: #eaeaea; - border: solid 1px #777; - font-size: 1.1em; - margin: 0.5em 0em 0.5em 0em; - padding: 0.5em; -} -h2.title { - background-color: #fff; - border: solid 1px #888; - margin-top: 1em; -} -p { - margin: 0 1em 1em 0; /* LTR */ - padding: 0; -} -table { - font-size: 1em; -} - -/* -** Page layout blocks / IDs -*/ -#main { - width: 80%; -} -#header .title { - padding-top: .75em; -} -#subnavlist { - font-size: 0.8em; -} -ul.links li { - border-left: 1px solid #888; /* LTR */ -} -ul.links li.first { - border: none; -} - -/* -** Common declarations for child classes of node, comment, block, box etc -*/ -.node .submitted { - color: #7c7c7c; - font-size: 0.9em; - float: left; /* LTR */ - padding: 0.5em 0em 0.5em 1em; /* LTR */ -} -.node .taxonomy { - color: #7c7c7c; - font-size: 0.9em; - float: right; /* LTR */ -} -.node .content { - clear: both; - padding-left: 1em; /* LTR */ -} -.node .links { - padding: 1em 0 1em 0.2em; /* LTR */ -} -.comment { - border: solid 1px #777; - margin: 0.5em 0; - padding: 0.5em; -} -.block { - margin-bottom: 10px; - font-size: 0.9em; -} -.block .content { - border: solid 1px #888; - border-top: none; - margin: 0; - padding: 5px; -} -.block h2.title { - margin: 0; -} - -/* -** Administration page styles -*/ -div.admin-panel .description { - color: #999; -} - -div.admin-panel .body { - background: #f4f4f4; -} - -div.admin-panel h3 { - background-color: #888; - color: #fff; - padding: 5px 8px 5px; - margin: 0; -} - -/* -** Module specific styles -*/ -.item-list ul li { - list-style-image: url(bullet.png); -} -.path, .path a, .path a:visited { - color: #888; -} diff --git a/themes/chameleon/screenshot.png b/themes/chameleon/screenshot.png Binary files differdeleted file mode 100644 index 7c8bdee4f..000000000 --- a/themes/chameleon/screenshot.png +++ /dev/null diff --git a/themes/chameleon/style-rtl.css b/themes/chameleon/style-rtl.css deleted file mode 100644 index c9c43a479..000000000 --- a/themes/chameleon/style-rtl.css +++ /dev/null @@ -1,29 +0,0 @@ -/* $Id$ */ - -body { - padding: 5em 3em 0 0; -} -/** - * Yes - right is on the left and left is on the right! - * Welcome to design by tables.. - */ -#sidebar-left { - border-right: none; - border-left: 1px solid gray; -} -#sidebar-right { - border-left: none; - border-right: 1px solid gray; -} - -ul.links li { - border-left: none; - border-right: 1px solid #000; -} -ul.links li.first { - border-left: none; - border-right: none; -} -div.links { - text-align: left; -} diff --git a/themes/chameleon/style.css b/themes/chameleon/style.css deleted file mode 100644 index 0769c0cf3..000000000 --- a/themes/chameleon/style.css +++ /dev/null @@ -1,115 +0,0 @@ -/* $Id$ */ - -/* -** HTML elements -*/ -a, a:link, a:active { - color: #930; -} -a:visited { - color: #630; -} -body { - padding: 5em 0 0 3em; /* LTR */ - background-image: url(background.png); - background-repeat: repeat-x; - font-family: trebuchet ms, tahoma, verdana, arial, helvetica; - border-top: 10px solid gray; -} -ul { - list-style-type: disc; -} - -/* -** Page layout blocks / IDs -*/ -#main { - width: 500px; -} -#sidebar-left { - border-right: 1px solid gray; /* LTR */ -} -#sidebar-right { - border-left: 1px solid gray; /* LTR */ -} - -/* -** Common declarations for child classes of node, comment, block, box etc -*/ -#header .title { - font-size: 2em; - font-weight: bold; - padding-top: .75em; -} -#header .title a, -#header .title a:link, -#header .title a:visited, -#header .title a:active { - text-decoration: none; - color: #aaa; -} -#header .title a:hover { - color: #930; -} -#header .site-slogan { - margin-top: -0.1em; - font-size: 0.8em; -} -#subnavlist { - font-size: 0.8em; -} -ul.links li { - border-left: 1px solid #000; /* LTR */ -} -ul.links li.first { - border-left: none; /* LTR */ -} -.node .title { - font-size: 1.2em; -} -.node .title a, -.node .title a:link, -.node .title a:active, -.node .title a:visited { - text-decoration: none; - font-weight: normal; -} -.node .title a:hover { - text-decoration: underline; -} -div.links { - margin: 1em 0 3em 0; - text-align: right; /* LTR */ -} -.comment .content, .block .content, .menu { - font-size: 0.9em; -} -.block { - padding-bottom: 1em; -} -.block .title { - font-size: 1em; -} - -/* -** Module specific styles -*/ -.item-list ul li { - list-style: square; -} - -/* -** Administration page styles -*/ -div.admin-panel .description { - color: #999; -} -div.admin-panel .body { - background: #eee; -} -div.admin-panel h3 { - background-color: #999; - color: #fff; - padding: 5px 8px 5px; - margin: 0; -} |