Skip to content
This repository was archived by the owner on Feb 13, 2020. It is now read-only.

Commit 8285896

Browse files
committed
Updated template element IDs
1 parent 2d991eb commit 8285896

File tree

3 files changed

+57
-57
lines changed

3 files changed

+57
-57
lines changed

media/guide/css/kodoc.css

+45-45
Original file line numberDiff line numberDiff line change
@@ -95,48 +95,48 @@ h6:hover a.permalink {
9595
}
9696

9797

98-
#header,
99-
#content,
100-
#footer { float: left; clear: both; width: 100%; }
101-
102-
#header { padding: 58px 0 2em; background: #77c244 url(../img/header.png) center top repeat-x; }
103-
#logo { display: block; float: left; }
104-
#menu { float: right; margin-top: 12px; background: #113c32; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
105-
#menu ul { float: left; margin: 0; padding: 0 0.5em 0 0; }
106-
#menu li { display: block; float: left; margin: 0; padding: 0; }
107-
#menu li.first { padding-left: 0.5em; }
108-
#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%; }
109-
#menu li.first a { border-left: 0; }
110-
#menu li.last a { border-right: 0; }
111-
#menu li a:hover { background: #164e41; border-left-color: #195a4b; color: #fff; text-shadow: #fff 0 0 1px; }
112-
113-
#content { background: #f1f8db url(../img/content.png) center top repeat-x; }
114-
#content .wrapper { min-height: 390px; padding: 1em 0; background: transparent url(../img/wrapper.png) center top no-repeat; }
115-
#content div.page-toc { float: right; margin: 1em; margin-top: 0; padding: 1em; background: #fff; border: solid 0.1em #e8efcf; border-radius: 0.6em; }
116-
#content p.intro { padding: 1em 20px; padding-left: 20px; margin: 0 -20px; font-size: 1.2em; }
117-
#content a { color: #004352; }
118-
#content a:hover { color: #00758f; }
119-
#content a:active { text-decoration: none; }
120-
121-
#breadcrumb { margin: 0 0 1em; padding: 0 0 0.5em; list-style: none; border-bottom: solid 1px #e8efcf; }
122-
#breadcrumb li { display: inline-block; margin: 0; padding: 0 0.4em 0 0; text-transform: uppercase; font-size: 11px; }
123-
#breadcrumb li:before { content: '»'; padding-right: 0.4em; }
124-
#breadcrumb li a { color: #999; text-decoration: none; }
125-
126-
#topics { }
127-
#topics ul,
128-
#topics ol { list-style-type:none; margin: 0; padding: 0;}
129-
#topics ul li,
130-
#topics ol li { margin:0; padding: 0; margin-left: 1em; }
131-
#topics ul li a.current,
132-
#topics ol li a.current { font-weight: bold; }
133-
#topics span,
134-
#topics a { display: block; padding: 0; margin: 0; }
135-
#topics span { cursor: pointer; }
136-
#topics span.toggle { display: block; float: left; width: 1em; padding-right: 0.4em; margin-left: -1.4em; text-align: center; }
137-
138-
#topics li span { cursor:pointer; }
139-
140-
#footer { padding: 1em 0; background: #00262f; color: #405c63; text-shadow: #00262f 0.1em 0.1em 1px; font-size: 0.9em; }
141-
#footer a { color: #809397; }
142-
#footer div.last { text-align: right; }
98+
#kodoc-header,
99+
#kodoc-content,
100+
#kodoc-footer { float: left; clear: both; width: 100%; }
101+
102+
#kodoc-header { padding: 58px 0 2em; background: #77c244 url(../img/header.png) center top repeat-x; }
103+
#kodoc-logo { display: block; float: left; }
104+
#kodoc-menu { float: right; margin-top: 12px; background: #113c32; -moz-border-radius: 5px; -webkit-border-radius: 5px; }
105+
#kodoc-menu ul { float: left; margin: 0; padding: 0 0.5em 0 0; }
106+
#kodoc-menu li { display: block; float: left; margin: 0; padding: 0; }
107+
#kodoc-menu li.first { padding-left: 0.5em; }
108+
#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%; }
109+
#kodoc-menu li.first a { border-left: 0; }
110+
#kodoc-menu li.last a { border-right: 0; }
111+
#kodoc-menu li a:hover { background: #164e41; border-left-color: #195a4b; color: #fff; text-shadow: #fff 0 0 1px; }
112+
113+
#kodoc-content { background: #f1f8db url(../img/content.png) center top repeat-x; }
114+
#kodoc-content .wrapper { min-height: 390px; padding: 1em 0; background: transparent url(../img/wrapper.png) center top no-repeat; }
115+
#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; }
116+
#kodoc-content p.intro { padding: 1em 20px; padding-left: 20px; margin: 0 -20px; font-size: 1.2em; }
117+
#kodoc-content a { color: #004352; }
118+
#kodoc-content a:hover { color: #00758f; }
119+
#kodoc-content a:active { text-decoration: none; }
120+
121+
#kodoc-breadcrumb { margin: 0 0 1em; padding: 0 0 0.5em; list-style: none; border-bottom: solid 1px #e8efcf; }
122+
#kodoc-breadcrumb li { display: inline-block; margin: 0; padding: 0 0.4em 0 0; text-transform: uppercase; font-size: 11px; }
123+
#kodoc-breadcrumb li:before { content: '»'; padding-right: 0.4em; }
124+
#kodoc-breadcrumb li a { color: #999; text-decoration: none; }
125+
126+
#kodoc-topics { }
127+
#kodoc-topics ul,
128+
#kodoc-topics ol { list-style-type:none; margin: 0; padding: 0;}
129+
#kodoc-topics ul li,
130+
#kodoc-topics ol li { margin:0; padding: 0; margin-left: 1em; }
131+
#kodoc-topics ul li a.current,
132+
#kodoc-topics ol li a.current { font-weight: bold; }
133+
#kodoc-topics span,
134+
#kodoc-topics a { display: block; padding: 0; margin: 0; }
135+
#kodoc-topics span { cursor: pointer; }
136+
#kodoc-topics span.toggle { display: block; float: left; width: 1em; padding-right: 0.4em; margin-left: -1.4em; text-align: center; }
137+
138+
#kodoc-topics li span { cursor:pointer; }
139+
140+
#kodoc-footer { padding: 1em 0; background: #00262f; color: #405c63; text-shadow: #00262f 0.1em 0.1em 1px; font-size: 0.9em; }
141+
#kodoc-footer a { color: #809397; }
142+
#kodoc-footer div.last { text-align: right; }

media/guide/js/kodoc.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ $(document).ready(function()
1717
$('a[href="'+ window.location.pathname +'"]').addClass('current');
1818

1919
// Breadcrumbs magic
20-
$('#breadcrumb li.last').each(function()
20+
$('#kodoc-breadcrumb li.last').each(function()
2121
{
2222
var $this = $(this);
23-
var $topics = $('#topics li').has('a.current').slice(0, -1);
23+
var $topics = $('#kodoc-topics li').has('a.current').slice(0, -1);
2424

2525
$topics.each(function()
2626
{
@@ -33,7 +33,7 @@ $(document).ready(function()
3333
});
3434

3535
// Collapsing menus
36-
$('#topics li:has(li)').each(function()
36+
$('#kodoc-topics li:has(li)').each(function()
3737
{
3838
var $this = $(this);
3939
var toggle = $('<span class="toggle"></span>');
@@ -88,7 +88,7 @@ $(document).ready(function()
8888
});
8989

9090
// "Link to this" link that appears when you hover over a header
91-
$('#body')
91+
$('#kodoc-body')
9292
.find('h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]')
9393
.append(function(){
9494
var $this = $(this);

views/userguide/template.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
</head>
1616
<body>
1717

18-
<div id="header">
18+
<div id="kodoc-header">
1919
<div class="container">
20-
<a href="http://kohanaframework.org/" id="logo">
20+
<a href="http://kohanaframework.org/" id="kodoc-logo">
2121
<img src="<?php echo Route::url('docs/media', array('file' => 'img/kohana.png')) ?>" />
2222
</a>
23-
<div id="menu">
23+
<div id="kodoc-menu">
2424
<ul>
2525
<li class="guide first">
2626
<a href="<?php echo Route::url('docs/guide') ?>"><?php echo __('User Guide') ?></a>
@@ -33,11 +33,11 @@
3333
</div>
3434
</div>
3535

36-
<div id="content">
36+
<div id="kodoc-content">
3737
<div class="wrapper">
3838
<div class="container">
3939
<div class="span-22 prefix-1 suffix-1">
40-
<ul id="breadcrumb">
40+
<ul id="kodoc-breadcrumb">
4141
<?php foreach ($breadcrumb as $link => $title): ?>
4242
<?php if (is_string($link)): ?>
4343
<li><?php echo HTML::anchor($link, $title, NULL, NULL, TRUE) ?></li>
@@ -48,11 +48,11 @@
4848
</ul>
4949
</div>
5050
<div class="span-6 prefix-1">
51-
<div id="topics">
51+
<div id="kodoc-topics">
5252
<?php echo $menu ?>
5353
</div>
5454
</div>
55-
<div id="body" class="span-16 suffix-1 last">
55+
<div id="kodoc-body" class="span-16 suffix-1 last">
5656
<?php echo $content ?>
5757

5858
<?php if (Kohana::$environment === Kohana::PRODUCTION AND empty($hide_disqus)): ?>
@@ -73,7 +73,7 @@
7373
</div>
7474
</div>
7575

76-
<div id="footer">
76+
<div id="kodoc-footer">
7777
<div class="container">
7878
<div class="span-12">
7979
<?php if (isset($copyright)): ?>

0 commit comments

Comments
 (0)