Catalyst-Helper-View-TT-Bootstrap
view release on metacpan or search on metacpan
lib/Catalyst/Helper/View/TT/Bootstrap.pm view on Meta::CPAN
~%]
__screen_css__
/* Reset styles */
body {
color: #000;
background:#FFF;
}
body,
h1, h2, h3, h4, h5, h6,
div, p, blockquote, code, pre, th, td,
ol, ul, li, dl, dt, dd,
form, fieldset, legend, input, textarea {
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
fieldset, img {
border:0;
}
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";
( run in 0.675 second using v1.01-cache-2.11-cpan-d7f47b0818f )