Browse Source

User guide styling and install link fix

Fixed link for documentation in install.php
Updated userguide footer with 2017 and Koseven Team
Koseven userguide theme
Removed content, header and wrapper image
satanch 7 years ago
parent
commit
b589f44212

+ 11 - 11
modules/userguide/media/guide/css/kodoc.css

@@ -15,7 +15,7 @@ h6 small { font-weight: normal; font-size: 0.8em; }
 dl dd { margin-left: 0; }
 
 code {
-	color:#6BAA3D;
+	color: #156d83;
 	font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;
 }
 
@@ -64,7 +64,7 @@ table tr:nth-child(even) {
 .note {
 	padding: 1.5em;
 	padding-left: 5em;
-	background: #e8efcf url('../img/lightbulb_48.png') no-repeat 1em center;
+	background: #f7f7f7 url('../img/lightbulb_48.png') no-repeat 1em center;
 	border-radius: 0.6em;
 	overflow: auto;
 }
@@ -99,9 +99,9 @@ h6:hover a.permalink {
 #kodoc-content,
 #kodoc-footer { float: left; clear: both; width: 100%; }
 
-#kodoc-header { padding: 20px 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-header { padding: 20px 0 2em; background-color: #159957; background-image: linear-gradient(120deg, #155799, #159957);}
+	#kodoc-logo { display: block; float: left; color: #fff; font-size: 3em;  margin-left: 35px; text-decoration: none; font-weight: 600; line-height: 1.4em;}
+	#kodoc-menu { float: right; margin-top: 24px; 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; }
@@ -110,15 +110,15 @@ h6:hover a.permalink {
 			#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 { background: #fff; }
+	#kodoc-content .wrapper { min-height: 390px; padding: 1em 0; background: #fff; }
+	#kodoc-content div.page-toc { float: right; margin: 1em; margin-top: 0; padding: 1em; background: #fff; border: solid 0.1em #15935e; 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 { margin: 0 0 1em; padding: 0 0 0.5em; list-style: none; border-bottom: solid 1px #15935e;}
 	#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; }
@@ -130,7 +130,7 @@ h6:hover a.permalink {
 		#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; }
@@ -140,4 +140,4 @@ h6:hover a.permalink {
 
 #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; }
+	#kodoc-footer div.last { text-align: right; }

BIN
modules/userguide/media/guide/img/content.png


BIN
modules/userguide/media/guide/img/header.png


BIN
modules/userguide/media/guide/img/wrapper.png


+ 1 - 0
modules/userguide/views/userguide/template.php

@@ -14,6 +14,7 @@
 
 	<div id="kodoc-header">
 		<div class="container">
+			<a id="kodoc-logo" href="https://koseven.ga/">koseven</a>
 			<div id="kodoc-menu">
 				<ul>
 					<li class="guide first">

+ 1 - 1
public/install.php

@@ -49,7 +49,7 @@ else
 
 	<p>
 		The following tests have been run to determine if Koseven will work in your environment.
-		If any of the tests have failed, consult the <a href="http://kohanaframework.org/guide/about.install">documentation</a>
+		If any of the tests have failed, consult the <a href="https://docs.koseven.ga/guide/kohana/install">documentation</a>
 		for more information on how to correct the problem.
 	</p>
 

+ 1 - 1
system/config/userguide.php

@@ -17,7 +17,7 @@ return [
 			'description' => 'Documentation for Kohana core/system.',
 
 			// Copyright message, shown in the footer for this module
-			'copyright' => '&copy; 2008–2012 Kohana Team',
+			'copyright' => '&copy; 2008–2017 Koseven Team',
 		],
 	],