Custom Theme
cd /usr/share/rootsitedir
mkdir sites/all/themes/bessparent
cp -R themes/garland/* sites/all/themes/bessparent/
rm -R sites/all/themes/bessparent/minnelli
mv sites/all/themes/bessparent/garland.info sites/all/themes/bessparent/bessparent.info
nano -w sites/all/themes/bessparent/bessparent.info
- bessparent.info
name = BessParent
description = Garland clone.
version = VERSION
core = 6.x
engine = phptemplate
stylesheets[all][] = style.css
stylesheets[print][] = print.css
; Information added by drupal.org packaging script on 2012-02-29
version = "6.25"
project = "drupal"
datestamp = "1330534547"
mkdir sites/all/themes/digibess
nano -w sites/all/themes/digibess/digibess.info
- digibess.info
name = DigiBess
description = DigiBess theme.
version = VERSION
core = 6.x
base theme = bessparent
stylesheets[all][] = digibess.css
; Information added by drupal.org packaging script on 2012-02-29
;version = "6.25"
;project = "drupal"
;datestamp = "1330534547"
nano -w sites/all/themes/digibess/template.php
- template.php
<?php
function digibess_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return '<div class="breadcrumb">'. implode('>', $breadcrumb) .'</div>';
}
}
Create child
CSS to override formatting
nano -w sites/all/themes/digibess/digibess.css
- digibess.css
a:link, a:visited {
color: #0000ce;
}
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {
color: #0000ce;
font-weight: normal;
text-shadow: #0000ce 0px 0px 0px;
font-size: 1.7em;
}
#header-region {
min-height: 1em;
background: #fff;
}
#wrapper {
background: #fff;
}
#wrapper #container #center #squeeze {
background: #fff url(images/bg-content.png) repeat-x 50% 0;
position: relative;
}
#wrapper #container .sidebar .block {
margin-right: 10px;
padding-left: 5px;
}
#block-islandora_solr_search-advanced {
background: #fff url(images/bg-content.png) repeat-x 50% 0;
}
#block-islandora_solr_search-advanced h2 {
/* background: #fff url(images/bg-tabs.png) repeat-x 50% 0; */
font-size: 1.3em;
/* height: 24px; */
padding: 16px 0 0 0;
color: #000;
}
#block-islandora_solr_search-basic_facets h2 {
font-size: 1.3em;
color: #000;
background: #fff url(images/bg-tabs.png) repeat-x 50% 0;
}
#block-islandora_solr_search-basic_facets h3 {
font-size: 1em;
color: #000;
background: #fff url(images/bg-tabs.png) repeat-x 50% 0;
}
#tabs-tabset {
background: #fff;
}
#tabs-tabset ul.primary li a {
background: #eeeef6 url(images/bg-tabs.png) repeat-x 50% 0;
color: #0000ce;
}
#tabs-tabset ul.primary li a:hover {
color: #000;
}
#tabs-tabset ul.primary li.ui-tabs-selected a {
color: #000;
}
#tabs-tabset .collview {
background: transparent;
}
#tabs-tabset .collview td {
padding: 1px 1px 0px 1px;
text-align: center;
}
#tabs-tabset .collcell1 {
/* background: #fff url(images/bg-content.png) repeat-x 50% 0;*/
/* border: 5px solid #fff; */
}
#tabs-tabset .cellthumb {
background: #fff;
border: 1px solid #fff;
vertical-align: bottom;
}
#tabs-tabset .cellthumb img{
border: 1px solid #dbdbf8;
}
#tabs-tabset .cellthumb1 {
border: 1px solid #eeeef6;
vertical-align: middle;
font-size: 0.6em;
height: 150px;
}
#tabs-tabset .cellthumb1 img{
border: 0px solid #dbdbf8;
}
#tabs-tabset tbody {
border: 0px solid #fff;
}
#tabs-tabset .libromd img{
border: 1px solid #dbdbf8;
}
#tabs-tabset .celldescr {
background: #fff;
border: 1px solid #fff;
vertical-align: top;
color: #000;
}
#tabs-tabset .celldescr1 {
border: 5px solid #fff;
vertical-align: top;
height: 30px;
background: #fff url(images/bg-tabs.png) repeat-x 50% 0;
color: #000;
}
#tabs-tabset .tocnr_collection .label {
border: 3px solid #fff;
width: 10%;
height: 150px;
padding: 15px 3px 5px 5px;
text-align: center;
}
#tabs-tabset .tocnr_collection .value {
border: 3px solid #fff;
width: 90%;
background: #fff url(images/bg-content.png) repeat-x 50% 0;
vertical-align: top;
padding: 15px 5px 5px 3px;
color: #000;
}
#tabs-tabset .tocnr_collection .label img{
}
#tabs-tabset h2 {
color: #000;
}
#tabs-tabset h3, h4 {
background: #fff url(images/bg-tabs.png) repeat-x 50% 0;
color: #000;
}
#wrapper #container #center .right-corner {
background: transparent;
position: relative;
left: 10px;
}
#wrapper #container #center .right-corner .left-corner {
padding: 60px 25px 5em 35px;
background: transparent;
margin-left: -10px;
position: relative;
left: -10px;
min-height: 400px;
}
#wrapper #container .breadcrumb {
color: #909090;
}
#wrapper #container .breadcrumb a {
color: #0000ce;
}
ul.primary-links {
margin: 4.5em 0 0 0;
padding: 0;
float: right; /* LTR */
position: relative;
z-index: 4;
background: #fff;
}
ul.primary-links li {
margin: 0;
padding: 0;
float: left; /* LTR */
background-image: none;
}
ul.primary-links li a, ul.primary-links li a:link, ul.primary-links li a:visited {
display: block;
margin: 0 2px;
padding: 2px 5px 0px 5px;
color: #0000ce;
/* background: transparent url(images/bg-navigation-item.png) no-repeat 50% 0; */
background: #fff url(images/bg-tabs.png) repeat-x 50% 0;
height: 24px;
width: 100px;
text-align: center;
}
ul.primary-links li a.active {
color: #000;
/* background: transparent url(images/bg-navigation-item-hover.png) no-repeat 50% 0; */
}
ul.primary-links li a:hover {
/* background: transparent url(images/bg-navigation-item-hover.png) no-repeat 50% 0; */
text-decoration: none;
}