Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated template element IDs

  • Loading branch information...
commit 8285896e608b00b97a7d0e3c178b74a89b340669 1 parent 2d991eb
Korney Czukowski authored June 07, 2011
90  media/guide/css/kodoc.css
@@ -95,48 +95,48 @@ h6:hover a.permalink {
95 95
 }
96 96
 
97 97
 
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; }
8  media/guide/js/kodoc.js
@@ -17,10 +17,10 @@ $(document).ready(function()
17 17
 	$('a[href="'+ window.location.pathname +'"]').addClass('current');
18 18
 
19 19
 	// Breadcrumbs magic
20  
-	$('#breadcrumb li.last').each(function()
  20
+	$('#kodoc-breadcrumb li.last').each(function()
21 21
 	{
22 22
 		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);
24 24
 
25 25
 		$topics.each(function()
26 26
 		{
@@ -33,7 +33,7 @@ $(document).ready(function()
33 33
 	});
34 34
 
35 35
 	// Collapsing menus
36  
-	$('#topics li:has(li)').each(function()
  36
+	$('#kodoc-topics li:has(li)').each(function()
37 37
 	{
38 38
 		var $this = $(this);
39 39
 		var toggle = $('<span class="toggle"></span>');
@@ -88,7 +88,7 @@ $(document).ready(function()
88 88
 	});
89 89
 
90 90
 	// "Link to this" link that appears when you hover over a header
91  
-	$('#body')
  91
+	$('#kodoc-body')
92 92
 		.find('h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]')
93 93
 		.append(function(){
94 94
 			var $this = $(this);
16  views/userguide/template.php
@@ -15,12 +15,12 @@
15 15
 </head>
16 16
 <body>
17 17
 
18  
-	<div id="header">
  18
+	<div id="kodoc-header">
19 19
 		<div class="container">
20  
-			<a href="http://kohanaframework.org/" id="logo">
  20
+			<a href="http://kohanaframework.org/" id="kodoc-logo">
21 21
 				<img src="<?php echo Route::url('docs/media', array('file' => 'img/kohana.png')) ?>" />
22 22
 			</a>
23  
-			<div id="menu">
  23
+			<div id="kodoc-menu">
24 24
 				<ul>
25 25
 					<li class="guide first">
26 26
 						<a href="<?php echo Route::url('docs/guide') ?>"><?php echo __('User Guide') ?></a>
@@ -33,11 +33,11 @@
33 33
 		</div>
34 34
 	</div>
35 35
 
36  
-	<div id="content">
  36
+	<div id="kodoc-content">
37 37
 		<div class="wrapper">
38 38
 			<div class="container">
39 39
 				<div class="span-22 prefix-1 suffix-1">
40  
-					<ul id="breadcrumb">
  40
+					<ul id="kodoc-breadcrumb">
41 41
 						<?php foreach ($breadcrumb as $link => $title): ?>
42 42
 							<?php if (is_string($link)): ?>
43 43
 							<li><?php echo HTML::anchor($link, $title, NULL, NULL, TRUE) ?></li>
@@ -48,11 +48,11 @@
48 48
 					</ul>
49 49
 				</div>
50 50
 				<div class="span-6 prefix-1">
51  
-					<div id="topics">
  51
+					<div id="kodoc-topics">
52 52
 						<?php echo $menu ?>
53 53
 					</div>
54 54
 				</div>
55  
-				<div id="body" class="span-16 suffix-1 last">
  55
+				<div id="kodoc-body" class="span-16 suffix-1 last">
56 56
 					<?php echo $content ?>
57 57
 
58 58
 					<?php if (Kohana::$environment === Kohana::PRODUCTION AND empty($hide_disqus)): ?>
@@ -73,7 +73,7 @@
73 73
 		</div>
74 74
 	</div>
75 75
 
76  
-	<div id="footer">
  76
+	<div id="kodoc-footer">
77 77
 		<div class="container">
78 78
 			<div class="span-12">
79 79
 			<?php if (isset($copyright)): ?>

0 notes on commit 8285896

Please sign in to comment.
Something went wrong with that request. Please try again.