Removing Chamaleon and Marvin themes from core

This commit is contained in:
Manuel Cillero 2017-07-25 13:53:04 +02:00
parent 9e51a85be0
commit a639a18daa
17 changed files with 0 additions and 677 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 B

View file

@ -1,18 +0,0 @@
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 = 6.x
; Information added by Drupal.org packaging script on 2016-02-24
version = "6.38"
project = "drupal"
datestamp = "1456343372"

View file

@ -1,181 +0,0 @@
<?php
/**
* @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();
// 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 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
$output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"$language\" xml:lang=\"$language\" dir=\"$direction\">\n";
$output .= "<head>\n";
$output .= drupal_get_html_head();
$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_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";
$primary_links = theme('links', menu_primary_links(), array('class' => 'links', 'id' => 'navlist'));
$secondary_links = theme('links', menu_secondary_links(), array('class' => 'links', 'id' => 'subnavlist'));
if (isset($primary_links) || isset($secondary_links)) {
$output .= ' <div class="navlinks">';
if (isset($primary_links)) {
$output .= $primary_links;
}
if (isset($secondary_links)) {
$output .= $secondary_links;
}
$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, $page = 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['node_submitted'] = theme_get_setting("toggle_node_info_$node->type") ? array(
'title' => t("By !author at @date", array('!author' => theme('username', $node), '@date' => format_date($node->created, 'small'))),
'html' => TRUE) : array();
$terms = array();
if (module_exists('taxonomy')) {
$terms = taxonomy_link("taxonomy terms", $node);
}
$links = array_merge($submitted, $terms);
if (isset($node->links)) {
$links = array_merge($links, $node->links);
}
if (count($links)) {
$output .= '<div class="links">'. theme('links', $links, array('class' => 'links inline')) ."</div>\n";
}
$output .= "</div>\n";
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". ' '. $status ."\">\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($signature)) {
$output .= " <div class=\"clear-block\">";
$output .= "<div>—</div>\n";
$output .= $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 />';
}
}

View file

@ -1,18 +0,0 @@
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;
}

View file

@ -1,150 +0,0 @@
/*
** 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;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -1,13 +0,0 @@
name = Marvin
description = Boxy tabled theme in all grays.
regions[left] = Left sidebar
regions[right] = Right sidebar
version = VERSION
core = 6.x
base theme = chameleon
; Information added by Drupal.org packaging script on 2016-02-24
version = "6.38"
project = "drupal"
datestamp = "1456343372"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -1,32 +0,0 @@
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;
}

View file

@ -1,123 +0,0 @@
/*
** 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;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -1,28 +0,0 @@
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;
}

View file

@ -1,114 +0,0 @@
/*
** 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;
}