From 3a031120a490761bd5ad4b647088a4ccc0a770c6 Mon Sep 17 00:00:00 2001
From: Josef Glatz <josefglatz@gmail.com>
Date: Sat, 18 Feb 2017 21:42:39 +0100
Subject: [PATCH] [TASK] CSH manual: differentiate copyright notice from help
 content

Improve visual differentiation of content and copyright notice.
A visual hruler is added. Font-size and color is slightly adopted.

Resolves: #79895
Releases: master
Change-Id: Idd7190d860c6083d3333b82dba9a796a0bce0e2c
Reviewed-on: https://review.typo3.org/51746
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Riccardo De Contardi <erredeco@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
---
 .../Public/Less/TYPO3/_module_cshmanual.less      | 15 +++++++++++++++
 Build/Resources/Public/Less/backend.less          |  1 +
 .../backend/Resources/Public/Css/backend.css      |  9 +++++++++
 .../Resources/Private/Layouts/Default.html        | 15 ++++++++++-----
 4 files changed, 35 insertions(+), 5 deletions(-)
 create mode 100644 Build/Resources/Public/Less/TYPO3/_module_cshmanual.less

diff --git a/Build/Resources/Public/Less/TYPO3/_module_cshmanual.less b/Build/Resources/Public/Less/TYPO3/_module_cshmanual.less
new file mode 100644
index 000000000000..4e0d45ea4c06
--- /dev/null
+++ b/Build/Resources/Public/Less/TYPO3/_module_cshmanual.less
@@ -0,0 +1,15 @@
+
+//
+// CSH manual module
+//
+.tx_cshmanual {
+	.t3-copyright-notice {
+		font-size: @font-size-small;
+		color: @gray-darker;
+		border-top: 1px solid @gray-light;
+		padding-top: @padding-base-vertical * 4;
+		> :last-child {
+			margin-bottom: 0;
+		}
+	}
+}
diff --git a/Build/Resources/Public/Less/backend.less b/Build/Resources/Public/Less/backend.less
index 30cfbc1ff7bb..f7000cec2a25 100644
--- a/Build/Resources/Public/Less/backend.less
+++ b/Build/Resources/Public/Less/backend.less
@@ -83,6 +83,7 @@
 @import "TYPO3/_module_extensionmanager.less";
 @import "TYPO3/_module_lang.less";
 @import "TYPO3/_module_beuser.less";
+@import "TYPO3/_module_cshmanual.less";
 
 @import "TYPO3/_wizard_localization.less";
 
diff --git a/typo3/sysext/backend/Resources/Public/Css/backend.css b/typo3/sysext/backend/Resources/Public/Css/backend.css
index fa830b29d557..e72347d77ae6 100644
--- a/typo3/sysext/backend/Resources/Public/Css/backend.css
+++ b/typo3/sysext/backend/Resources/Public/Css/backend.css
@@ -14258,6 +14258,15 @@ div.typo3-module-lang div.progress-bar {
   max-width: 28px;
   max-height: 28px;
 }
+.tx_cshmanual .t3-copyright-notice {
+  font-size: 11px;
+  color: #1e1e1e;
+  border-top: 1px solid #d7d7d7;
+  padding-top: 24px;
+}
+.tx_cshmanual .t3-copyright-notice > :last-child {
+  margin-bottom: 0;
+}
 .localization-wizard .option {
   margin-bottom: 4px;
 }
diff --git a/typo3/sysext/cshmanual/Resources/Private/Layouts/Default.html b/typo3/sysext/cshmanual/Resources/Private/Layouts/Default.html
index 39e745793136..2738dec68952 100644
--- a/typo3/sysext/cshmanual/Resources/Private/Layouts/Default.html
+++ b/typo3/sysext/cshmanual/Resources/Private/Layouts/Default.html
@@ -1,6 +1,11 @@
-<f:render section="content" />
+<div class="tx_cshmanual">
+	<f:render section="content" />
 
-<hr />
-<p>
-	<f:format.raw>{copyright}</f:format.raw>
-</p>
+	<hr />
+	<div class="t3-copyright-notice">
+
+		<p>
+			<f:format.raw>{copyright}</f:format.raw>
+		</p>
+	</div>
+</div>
-- 
GitLab