From 13e0287b74a96fc3577fb2444cd7457af417ed2d Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Tue, 4 Dec 2012 23:55:31 +0100 Subject: [PATCH] better layout for installation page elements, centered and subdued legend text --- core/css/styles.css | 18 ++++++++++++++---- core/templates/installation.php | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/core/css/styles.css b/core/css/styles.css index 30fc8997462..11c2037710b 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -77,8 +77,14 @@ input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text- #login { min-height:30em; margin:2em auto 0; border-bottom:1px solid #f8f8f8; background:#eee; } #login form { width:22em; margin:2em auto 2em; padding:0; } -#login form fieldset { background:0; border:0; margin-bottom:2em; padding:0; } -#login form fieldset legend { font-weight:bold; } +#login form fieldset { background:0; border:0; margin-bottom:20px; padding:0; } +#login form #adminaccount { margin-bottom:5px; } +#login form fieldset legend { + width:100%; text-align:center; + font-weight:bold; color:#999; text-shadow:0 1px 0 white; +} +#login form fieldset legend a { color:#999; } +#login form #datadirField legend { margin-bottom:15px; } /* Nicely grouping input field sets */ .grouptop input { @@ -107,8 +113,12 @@ label.infield { cursor: text !important; } #login form .errors { background:#fed7d7; border:1px solid #f00; list-style-indent:inside; margin:0 0 2em; padding:1em; } #login form #selectDbType { text-align:center; } -#login form #selectDbType label { position:static; font-size:1em; margin:0 -.3em 1em; cursor:pointer; padding:.4em; border:1px solid #ddd; font-weight:bold; background:#f8f8f8; color:#555; text-shadow:#eee 0 1px 0; -moz-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; } -#login form #selectDbType label span { cursor:pointer; font-size:0.9em; } +#login form #selectDbType label { + position:static; margin:0 -3px 5px; padding:.4em; + font-size:12px; font-weight:bold; background:#f8f8f8; color:#555; cursor:pointer; + border:1px solid #ddd; text-shadow:#eee 0 1px 0; + -moz-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; +} #login form #selectDbType label.ui-state-hover, #login form #selectDbType label.ui-state-active { color:#000; background-color:#e8e8e8; } diff --git a/core/templates/installation.php b/core/templates/installation.php index 889d8bf377d..7590c37c77a 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -32,7 +32,7 @@ t('Your data directory and your files are probably accessible from the internet. The .htaccess file that ownCloud provides is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.');?> -
+
t( 'Create an admin account' ); ?>

-- 2.39.5