]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix styling and wording of no-JavaScript message
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 8 Sep 2014 15:55:53 +0000 (17:55 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 8 Sep 2014 15:55:53 +0000 (17:55 +0200)
core/css/styles.css
core/templates/layout.user.php

index 2f8f9612f7827d79f3e305e0c119e8630830355c..a7f63e8492e518266635f1a26e47712fb09f2df8 100644 (file)
@@ -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;
 }
 
 
index 69a181735ca49a5344911528c95714a5de1760dc..0038d7fbd8236c6c9f390979d61132177b459354 100644 (file)
@@ -40,7 +40,7 @@
                <?php endforeach; ?>
        </head>
        <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']): ?>