summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-06 15:15:20 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-02-06 15:15:20 +0100
commit964ff88f7168cf07965faa5b4e1b6d588298bd11 (patch)
treedfc2f5bcfa840d1f33afab89dd77177fa7c1610c
parent825cdf8560e6b9f6dda9debdd271494fdfd3fcf7 (diff)
downloadnextcloud-server-964ff88f7168cf07965faa5b4e1b6d588298bd11.tar.gz
nextcloud-server-964ff88f7168cf07965faa5b4e1b6d588298bd11.zip
move inline style to CSS file, fix details
-rw-r--r--core/css/styles.css4
-rw-r--r--core/templates/login.php6
2 files changed, 7 insertions, 3 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 7fb800f79e2..64246c63129 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -175,6 +175,10 @@ fieldset.warning {
}
fieldset.warning legend { color:#b94a48 !important; }
+/* Alternative Logins */
+#alternative-logins legend { margin-bottom:10px; }
+#alternative-logins li { height:40px; display:inline-block; white-space:nowrap; }
+
/* NAVIGATION ------------------------------------------------------------- */
#navigation { position:fixed; top:3.5em; float:left; width:12.5em; padding:0; z-index:75; height:100%; background:#eee; border-right:1px #ccc solid; -moz-box-shadow:-3px 0 7px #000; -webkit-box-shadow:-3px 0 7px #000; box-shadow:-3px 0 7px #000; overflow:hidden;}
diff --git a/core/templates/login.php b/core/templates/login.php
index 7616b93f9a5..c6d0b5a9b97 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -42,12 +42,12 @@
</fieldset>
</form>
<?php if (!empty($_['alt_login'])) { ?>
-<form>
+<form id="alternative-logins">
<fieldset>
- <legend style="margin-bottom: 20px;"><?php echo $l->t('Alternative Logins:') ?></legend>
+ <legend><?php echo $l->t('Alternative Logins') ?></legend>
<ul>
<? foreach($_['alt_login'] as $login): ?>
- <li style="height: 40px;"><a class="button" href="<?php echo $login['href']; ?>" ><?php echo $login['name']; ?></a></li>
+ <li><a class="button" href="<?php echo $login['href']; ?>" ><?php echo $login['name']; ?></a></li>
<?php endforeach; ?>
</ul>
</fieldset>