Catalyst-Helper-View-TT-Bootstrap

 view release on metacpan or  search on metacpan

lib/Catalyst/Helper/View/TT/Bootstrap.pm  view on Meta::CPAN

}
strong, em, code, th, td {
    font-style: normal;
    font-weight: normal;
}
li {
    list-style: none;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

/* Layout style */
.content {
    width: 750px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}
.float_container {
    overflow: hidden;
}
.main_column {
    width: 425px;
}
.support_column {
    width: 300px;
}
.column {
    width: 365px;
}

/* Miscellaneous useful styles */
.hide  { display: none !important }
.left  { display: inline; float: left }
.right { display: inline; float: right }
.clear { clear: both }

/* cursor styles */
.clickable   { cursor: pointer; cursor: hand; }
.unclickable { cursor: default !important; }
.movable     { cursor: move; }
__nav_default_css__
/* Define the style for the default site navigation here */
#nav {
    width: 750px;
    margin: 0 auto 1.2em;
    border-bottom: 1px solid #4d3c4b;
    overflow: hidden;
}   
#nav li {
    float: left;
    margin-right: -10px;
}   
#nav li a {
    display: block;
    background: url(../images/catalyst_logo.png) no-repeat right top;
    padding-right: 25px;
    color: #900;
    font: bold small-caps 120% Trebuchet MS, Arial Black, Arial, sans-serif;
}
#nav li a span {
    display: block;
    background: url(../images/catalyst_logo.png) no-repeat -10px 0;
    padding: 25px 0 .2em 15px;
}
#nav li.active a {
    background-position: -10px 0;
    padding: 0 0 0 15px;
    color: #555;
    text-decoration: none;
}
#nav li.active a span {
    background-position: right top;
    padding: 25px 25px .2em 0;
}
__site_wrapper__
[%~ TAGS star ~%]
[%~
# Process the appropriate layout
IF page.layout == 'partial';
    content;
ELSE;
    IF page.layout == 'none';
        content WRAPPER site/html.tt;
    ELSE;
        content WRAPPER site/html.tt + "site/layout/${page.layout}.tt";
    END;
END;
~%]
__site_html__
[%~ TAGS star ~%]
[%~ 

IF c.debug && debug_init.defined; $debug_init; END;

IF page.header && page.header != 'none';
    header = PROCESS "site/header/${page.header}.tt";
END;

IF page.footer && page.header != 'none';
    footer = PROCESS "site/footer/${page.footer}.tt";
END;

~%]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="[% page.language %]">
 <head>
  <title>[% page.title %]</title>
  <meta http-equiv="Content-Language" content="[% page.language %]">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="[% static( 'css/screen.css', 1 ) %]" media="screen"/>
  <link rel="stylesheet" href="[% static( 'css/nav_' _ page.nav _ '.css' ) %]" media="screen"/>
[%
# Add all javascript refs in page.head.scripts (see page.body.scripts)
page.head.scripts = page.head.scripts.unique;
FOREACH script IN page.head.scripts;
    NEXT UNLESS script;
    script = script.match('^https?://') ?
                    script :



( run in 0.504 second using v1.01-cache-2.11-cpan-39bf76dae61 )