foreach ($usernames as $username => $password) {
if ($password !== null) {
if ($first) {
- echo "<p id='logins'>" . script("mixin(qs('#logins'), {onmouseover: menuOver, onmouseout: menuOut});");
+ echo "<ul id='logins'>" . script("mixin(qs('#logins'), {onmouseover: menuOver, onmouseout: menuOut});");
$first = false;
}
$dbs = $_SESSION["db"][$vendor][$server][$username];
foreach (($dbs ? array_keys($dbs) : array("")) as $db) {
- echo "<a href='" . h(auth_url($vendor, $server, $username, $db)) . "'>($drivers[$vendor]) " . h($username . ($server != "" ? "@" . $this->serverName($server) : "") . ($db != "" ? " - $db" : "")) . "</a><br>\n";
+ echo "<li><a href='" . h(auth_url($vendor, $server, $username, $db)) . "'>($drivers[$vendor]) " . h($username . ($server != "" ? "@" . $this->serverName($server) : "") . ($db != "" ? " - $db" : "")) . "</a>\n";
}
}
}
.loadmore { margin-left: 1ex; }
/* .edit used in designs */
#menu { position: absolute; margin: 10px 0 0; padding: 0 0 30px 0; top: 2em; left: 0; width: 19em; }
-#menu p, #tables { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
-#tables li{ list-style: none; }
+#menu p, #logins, #tables { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
+#logins li, #tables li { list-style: none; }
#dbs { overflow: hidden; }
#logins, #tables { white-space: nowrap; overflow: auto; }
#logins a, #tables a, #tables span { background: #fff; }
#menu a:hover{background:#333;color:#fff;border-color:#333}
#menu a.h1,#menu a.h1:hover{display:block;height:0;width:175px;padding:40px 0 0 0;overflow:hidden;float:left;border:0;margin:0;
outline:0;background:url(//www.bradezone.com/random/adminer_logo.gif) no-repeat;line-height:32px}
-#menu p,#tables{white-space:nowrap;border:0;padding:0 0 4px 0;margin:0 0 4px 0}
+#menu p,#logins,#tables{white-space:nowrap;border:0;padding:0 0 4px 0;margin:0 0 4px 0}
#breadcrumb{background:#333;color:#fff;position:fixed;top:0;left:320px;line-height:40px;padding:0;z-index:1;margin:0}
#breadcrumb a{color:#ff9}
#breadcrumb a:hover{background:transparent;color:#ff9;border-color:#ff9}
#menu form { \r
margin: 0;\r
}\r
-#menu p, #tables {\r
+#menu p, #logins, #tables {\r
padding-left: 8px;\r
border-bottom: none;\r
}\r
margin:0;}\r
#menu form{\r
margin:0;}\r
-#menu p,#tables{\r
+#menu p,#logins,#tables{\r
padding-left:8px;\r
border-bottom:none;}\r
#menu form p{\r
}\r
\r
/* tables */\r
-#tables{\r
+#logins, #tables{\r
border-bottom: none;\r
line-height: 20px;\r
padding: 18px 0;\r
font-size: 14px;\r
}\r
\r
+#logins a {\r
+ display: block;\r
+ padding: 5px 18px 9px;\r
+ color: inherit;\r
+ font-size: 14px;\r
+}\r
+\r
#tables a.select.active,\r
#tables a.select:hover\r
{\r
color: #fba;\r
}\r
\r
+#logins a:hover,\r
#tables a[title]:hover,\r
#tables a.active,\r
#tables a.select:hover + a,\r
\r
body > form{\r
position: absolute;\r
-}
\ No newline at end of file
+}\r
border-width: 0 1px 1px 0;
font-size: 0.83em; /* x-small; font size */
}
-#tables a {
+#logins a, #tables a {
height: 18px;
line-height: 18px;
}
.message { color: black; background: #dedede; padding: .5em .8em; border: 1px solid black; }\r
#menu { overflow: scroll; position: absolute; top: 0; left: 0; width: 270px; white-space: nowrap; background: #FFE594 url('data:image/gif;base64,R0lGODlhXgEBAIIAAPzabPzijvzihPzefvzmnPzedPzmlPzadCwAAAAAXgEBAAIDYEi63P5wGTXJvNZew7sJBNiBwWeWaPoFbNq+cCzPs8DaeJDvuGAPOh9wIBgWAwMjMblsOpnQqHRKrRaY1+sguz1sB4esN0wulM+HtNqMZqsBafgBTp/PAfQ8fs/v+/8ACQA7') top left repeat-y; height: 100%; _height: 650px; border: 1px solid #a3a3a3; }\r
#menu form { margin: 0; }\r
-#menu p, #tables li { text-align: center; font-size: 11px; }\r
-#menu p a, #tables li a { color: black; }\r
-#menu p a:hover, #tables li a:hover { color: #626262; text-decoration: none; }\r
-#tables a, #tables span { background: #FFE594; }\r
+#menu p, #logins li, #tables li { text-align: center; font-size: 11px; }\r
+#menu p a, #logins li a, #tables li a { color: black; }\r
+#menu p a:hover, #logins li a:hover, #tables li a:hover { color: #626262; text-decoration: none; }\r
+#logins a, #tables a, #tables span { background: #FFE594; }\r
#content { margin: 1.5em 0 0 293px; padding: 10px 20px 20px 0; }\r
#lang { margin: 0; padding: 0; text-align: center; font-size: 10px; width: 270px; background-color: #d9dadb; border-bottom: 1px solid black; }\r
#lang a { color: black; font-weight: bold; }\r
#breadcrumb {margin: 0; height: 21px; display: block; position: absolute; top: 0; left: 300px; background-color: #f1f1f1; border: 1px solid #E3E3E3; padding: 2px 12px; line-height: 1.25em }\r
#menu {position: absolute; padding: 10px; margin: 0; top: 28px; left: 0; width: 250px; background-color: #f1f1f1; border: 1px solid #E3E3E3;}\r
#menu form {margin: 0;}\r
-#menu p, #tables {padding-left: 8px; font-size: 10pt; border-bottom: none;}\r
+#menu p, #logins, #tables {padding-left: 8px; font-size: 10pt; border-bottom: none;}\r
#menu form p {padding-left: 0; text-align: left;}\r
h1 .h1:hover {text-decoration: underline;} \r
h1, h2 {font: italic normal normal 24px/29px Georgia, "Times New Roman", "Bitstream Charter", Times, serif; margin: 0; padding: 14px 15px 3px 10px; line-height: 35px; text-shadow: rgba(255,255,255,1) 0 1px 0px; background: none;}\r
}
/* tables */
-#tables{
+#logins, #tables{
border-bottom: none;
line-height: 20px;
padding: 18px 0;
font-size: 14px;
}
+#logins a {
+ display: block;
+ padding: 5px 18px;
+ line-height: 14px;
+ color: #F1E5B3;
+ font-size: 14px;
+}
+
#tables a.select.active,
#tables a.select:hover
{
color: red;
}
+#logins a:hover,
#tables a[title]:hover,
#tables a.active,
#tables a.select:hover + a,
top: 0;
}
-#tables {
+#logins, #tables {
padding: 0 0 0 5px;
margin: 0;
list-style: none;
font-size: 11px;
}
-#menu a, #tables .select {
+#menu a, #logins a, #tables .select {
display: inline-block;
vertical-align: middle;
margin-right: 5px
margin-right: 4px;\r
}\r
\r
-#tables a {\r
+#logins a, #tables a {\r
padding: 1px 2px;\r
}\r
\r
color: #FFF;\r
}\r
\r
-#menu p, #tables {\r
+#menu p, #logins, #tables {\r
border: none;\r
margin: 0 0 4px;\r
padding: 0 0 4px;\r
padding: 0 0 30px 0;
background: #f1f1f1;
}
-#menu p, #tables {
+#menu p, #logins, #tables {
margin: 0;
padding: .8em 1em;
border-bottom: 1px solid #c7c7c7;
border-right:2px solid #34495e;\r
}\r
\r
-#menu p, #tables{\r
+#menu p, #logins, #tables{\r
border-bottom:1px solid rgb(85, 112, 139);\r
}\r
\r
top: 38px;\r
width: 180px;\r
background-color: #DEF; }\r
-#menu p, #tables {\r
+#menu p, #logins, #tables {\r
padding-left: 8px;\r
font-size: 10pt;\r
border-bottom: none; }\r
-#tables a, #tables span {\r
+#logins a, #tables a, #tables span {\r
background: #DEF;\r
}\r
\r
width: 270px;\r
}\r
\r
-#tables li {\r
+#logins li, #tables li {\r
position: relative;\r
height: 23px;\r
}\r
\r
+#logins a {\r
+ display: block;\r
+ margin-top: 5px;\r
+ padding: 0 10px;\r
+}\r
+\r
#tables a {\r
display: block;\r
margin: 0;\r
border-color: #bbb;\r
border-width: 0 1px 1px 0;\r
}\r
-#tables a {\r
+#logins a, #tables a {\r
height: 18px;\r
line-height: 18px;\r
}\r
padding-bottom: 0;\r
top: 0;\r
}\r
-#tables a, #tables span {\r
+#logins a, #tables a, #tables span {\r
background: #fafafa;\r
}\r
/*** Forms ***/\r
foreach ($servers[""] as $username => $password) {
if ($password !== null) {
if ($first) {
- echo "<p id='logins'>";
+ echo "<ul id='logins'>";
echo script("mixin(qs('#logins'), {onmouseover: menuOver, onmouseout: menuOut});");
$first = false;
}
- echo "<a href='" . h(auth_url($vendor, "", $username)) . "'>" . ($username != "" ? h($username) : "<i>" . lang('empty') . "</i>") . "</a><br>\n";
+ echo "<li><a href='" . h(auth_url($vendor, "", $username)) . "'>" . ($username != "" ? h($username) : "<i>" . lang('empty') . "</i>") . "</a>\n";
}
}
}