[Pkg-owncloud-commits] [owncloud] 43/258: fix styling and wording of no-JavaScript message

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:18 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit a7968604d8544f5fb55a7bdb98ca52bb7ee76bbf
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date:   Mon Sep 8 17:55:53 2014 +0200

    fix styling and wording of no-JavaScript message
---
 core/css/styles.css            | 26 +++++++++++++-------------
 core/templates/layout.user.php |  2 +-
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/core/css/styles.css b/core/css/styles.css
index 66b1885..8dc9bb4 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -42,28 +42,28 @@ body {
 	position: absolute;
 	top: 0;
 	bottom: 0;
-	z-index: 999;
+	z-index: 9000;
 	width: 100%;
 	text-align: center;
-	background-color: rgba(50,0,0,0.5);
-	color: white;
-	text-shadow: 0px 0px 5px black;
+	background-color: rgba(0,0,0,0.5);
+	color: #fff;
 	line-height: 125%;
-	font-size: x-large;
+	font-size: 24px;
 }
 #nojavascript div {
+	display: block;
+	position: relative;
 	width: 50%;
-	top: 40%;
-	position: absolute;
-	left: 50%;
-	margin-left: -25%;
+	top: 30%;
+	margin: 0px auto;
 }
 #nojavascript a {
-	color: #ccc;
-	text-decoration: underline;
+	color: #fff;
+	border-bottom: 2px dotted #fff;
 }
-#nojavascript a:hover {
-	color: #aaa;
+#nojavascript a:hover,
+#nojavascript a:focus {
+	color: #ddd;
 }
 
 
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 066362b..c4f6df0 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -37,7 +37,7 @@
 	</head>
 	<?php flush(); ?>
 	<body id="<?php p($_['bodyid']);?>">
-	<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript to be enabled for correct operation.  Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and re-load this interface.')); ?></div></div></noscript>
+	<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
 	<div id="notification-container">
 		<div id="notification"></div>
 		<?php if ($_['updateAvailable']): ?>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list