Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated template element IDs

  • Loading branch information...
commit 8285896e608b00b97a7d0e3c178b74a89b340669 1 parent 2d991eb
@czukowski czukowski authored
View
90 media/guide/css/kodoc.css
@@ -95,48 +95,48 @@ h6:hover a.permalink {
}
-#header,
-#content,
-#footer { float: left; clear: both; width: 100%; }
-
-#header { padding: 58px 0 2em; background: #77c244 url(../img/header.png) center top repeat-x; }
- #logo { display: block; float: left; }
- #menu { float: right; margin-top: 12px; background: #113c32; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
- #menu ul { float: left; margin: 0; padding: 0 0.5em 0 0; }
- #menu li { display: block; float: left; margin: 0; padding: 0; }
- #menu li.first { padding-left: 0.5em; }
- #menu li a { display: block; height: 32px; line-height: 32px; padding: 0 0.8em; border-right: solid 1px #0f362d; border-left: solid 1px #144539; letter-spacing: 0.05em; text-decoration: none; text-transform: uppercase; color: #efefef; font-size: 90%; }
- #menu li.first a { border-left: 0; }
- #menu li.last a { border-right: 0; }
- #menu li a:hover { background: #164e41; border-left-color: #195a4b; color: #fff; text-shadow: #fff 0 0 1px; }
-
-#content { background: #f1f8db url(../img/content.png) center top repeat-x; }
- #content .wrapper { min-height: 390px; padding: 1em 0; background: transparent url(../img/wrapper.png) center top no-repeat; }
- #content div.page-toc { float: right; margin: 1em; margin-top: 0; padding: 1em; background: #fff; border: solid 0.1em #e8efcf; border-radius: 0.6em; }
- #content p.intro { padding: 1em 20px; padding-left: 20px; margin: 0 -20px; font-size: 1.2em; }
- #content a { color: #004352; }
- #content a:hover { color: #00758f; }
- #content a:active { text-decoration: none; }
-
-#breadcrumb { margin: 0 0 1em; padding: 0 0 0.5em; list-style: none; border-bottom: solid 1px #e8efcf; }
- #breadcrumb li { display: inline-block; margin: 0; padding: 0 0.4em 0 0; text-transform: uppercase; font-size: 11px; }
- #breadcrumb li:before { content: '»'; padding-right: 0.4em; }
- #breadcrumb li a { color: #999; text-decoration: none; }
-
-#topics { }
- #topics ul,
- #topics ol { list-style-type:none; margin: 0; padding: 0;}
- #topics ul li,
- #topics ol li { margin:0; padding: 0; margin-left: 1em; }
- #topics ul li a.current,
- #topics ol li a.current { font-weight: bold; }
- #topics span,
- #topics a { display: block; padding: 0; margin: 0; }
- #topics span { cursor: pointer; }
- #topics span.toggle { display: block; float: left; width: 1em; padding-right: 0.4em; margin-left: -1.4em; text-align: center; }
-
- #topics li span { cursor:pointer; }
-
-#footer { padding: 1em 0; background: #00262f; color: #405c63; text-shadow: #00262f 0.1em 0.1em 1px; font-size: 0.9em; }
- #footer a { color: #809397; }
- #footer div.last { text-align: right; }
+#kodoc-header,
+#kodoc-content,
+#kodoc-footer { float: left; clear: both; width: 100%; }
+
+#kodoc-header { padding: 58px 0 2em; background: #77c244 url(../img/header.png) center top repeat-x; }
+ #kodoc-logo { display: block; float: left; }
+ #kodoc-menu { float: right; margin-top: 12px; background: #113c32; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
+ #kodoc-menu ul { float: left; margin: 0; padding: 0 0.5em 0 0; }
+ #kodoc-menu li { display: block; float: left; margin: 0; padding: 0; }
+ #kodoc-menu li.first { padding-left: 0.5em; }
+ #kodoc-menu li a { display: block; height: 32px; line-height: 32px; padding: 0 0.8em; border-right: solid 1px #0f362d; border-left: solid 1px #144539; letter-spacing: 0.05em; text-decoration: none; text-transform: uppercase; color: #efefef; font-size: 90%; }
+ #kodoc-menu li.first a { border-left: 0; }
+ #kodoc-menu li.last a { border-right: 0; }
+ #kodoc-menu li a:hover { background: #164e41; border-left-color: #195a4b; color: #fff; text-shadow: #fff 0 0 1px; }
+
+#kodoc-content { background: #f1f8db url(../img/content.png) center top repeat-x; }
+ #kodoc-content .wrapper { min-height: 390px; padding: 1em 0; background: transparent url(../img/wrapper.png) center top no-repeat; }
+ #kodoc-content div.page-toc { float: right; margin: 1em; margin-top: 0; padding: 1em; background: #fff; border: solid 0.1em #e8efcf; border-radius: 0.6em; }
+ #kodoc-content p.intro { padding: 1em 20px; padding-left: 20px; margin: 0 -20px; font-size: 1.2em; }
+ #kodoc-content a { color: #004352; }
+ #kodoc-content a:hover { color: #00758f; }
+ #kodoc-content a:active { text-decoration: none; }
+
+#kodoc-breadcrumb { margin: 0 0 1em; padding: 0 0 0.5em; list-style: none; border-bottom: solid 1px #e8efcf; }
+ #kodoc-breadcrumb li { display: inline-block; margin: 0; padding: 0 0.4em 0 0; text-transform: uppercase; font-size: 11px; }
+ #kodoc-breadcrumb li:before { content: '»'; padding-right: 0.4em; }
+ #kodoc-breadcrumb li a { color: #999; text-decoration: none; }
+
+#kodoc-topics { }
+ #kodoc-topics ul,
+ #kodoc-topics ol { list-style-type:none; margin: 0; padding: 0;}
+ #kodoc-topics ul li,
+ #kodoc-topics ol li { margin:0; padding: 0; margin-left: 1em; }
+ #kodoc-topics ul li a.current,
+ #kodoc-topics ol li a.current { font-weight: bold; }
+ #kodoc-topics span,
+ #kodoc-topics a { display: block; padding: 0; margin: 0; }
+ #kodoc-topics span { cursor: pointer; }
+ #kodoc-topics span.toggle { display: block; float: left; width: 1em; padding-right: 0.4em; margin-left: -1.4em; text-align: center; }
+
+ #kodoc-topics li span { cursor:pointer; }
+
+#kodoc-footer { padding: 1em 0; background: #00262f; color: #405c63; text-shadow: #00262f 0.1em 0.1em 1px; font-size: 0.9em; }
+ #kodoc-footer a { color: #809397; }
+ #kodoc-footer div.last { text-align: right; }
View
8 media/guide/js/kodoc.js
@@ -17,10 +17,10 @@ $(document).ready(function()
$('a[href="'+ window.location.pathname +'"]').addClass('current');
// Breadcrumbs magic
- $('#breadcrumb li.last').each(function()
+ $('#kodoc-breadcrumb li.last').each(function()
{
var $this = $(this);
- var $topics = $('#topics li').has('a.current').slice(0, -1);
+ var $topics = $('#kodoc-topics li').has('a.current').slice(0, -1);
$topics.each(function()
{
@@ -33,7 +33,7 @@ $(document).ready(function()
});
// Collapsing menus
- $('#topics li:has(li)').each(function()
+ $('#kodoc-topics li:has(li)').each(function()
{
var $this = $(this);
var toggle = $('<span class="toggle"></span>');
@@ -88,7 +88,7 @@ $(document).ready(function()
});
// "Link to this" link that appears when you hover over a header
- $('#body')
+ $('#kodoc-body')
.find('h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]')
.append(function(){
var $this = $(this);
View
16 views/userguide/template.php
@@ -15,12 +15,12 @@
</head>
<body>
- <div id="header">
+ <div id="kodoc-header">
<div class="container">
- <a href="http://kohanaframework.org/" id="logo">
+ <a href="http://kohanaframework.org/" id="kodoc-logo">
<img src="<?php echo Route::url('docs/media', array('file' => 'img/kohana.png')) ?>" />
</a>
- <div id="menu">
+ <div id="kodoc-menu">
<ul>
<li class="guide first">
<a href="<?php echo Route::url('docs/guide') ?>"><?php echo __('User Guide') ?></a>
@@ -33,11 +33,11 @@
</div>
</div>
- <div id="content">
+ <div id="kodoc-content">
<div class="wrapper">
<div class="container">
<div class="span-22 prefix-1 suffix-1">
- <ul id="breadcrumb">
+ <ul id="kodoc-breadcrumb">
<?php foreach ($breadcrumb as $link => $title): ?>
<?php if (is_string($link)): ?>
<li><?php echo HTML::anchor($link, $title, NULL, NULL, TRUE) ?></li>
@@ -48,11 +48,11 @@
</ul>
</div>
<div class="span-6 prefix-1">
- <div id="topics">
+ <div id="kodoc-topics">
<?php echo $menu ?>
</div>
</div>
- <div id="body" class="span-16 suffix-1 last">
+ <div id="kodoc-body" class="span-16 suffix-1 last">
<?php echo $content ?>
<?php if (Kohana::$environment === Kohana::PRODUCTION AND empty($hide_disqus)): ?>
@@ -73,7 +73,7 @@
</div>
</div>
- <div id="footer">
+ <div id="kodoc-footer">
<div class="container">
<div class="span-12">
<?php if (isset($copyright)): ?>
Please sign in to comment.
Something went wrong with that request. Please try again.