New design
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@323 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
d8971f46f9
commit
910530fbff
41
default.css
41
default.css
|
@ -1,22 +1,31 @@
|
||||||
BODY { color: Black; background-color: White; line-height: 1.25em; }
|
body { color: #000; background-color: #fff; line-height: 1.25em; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 0; font-size: 90%; }
|
||||||
A { color: Blue; }
|
a { color: blue; }
|
||||||
A:visited { color: Navy; }
|
a:visited { color: navy; }
|
||||||
H1 { font-size: 150%; margin-top: 0; }
|
a:hover { color: red; }
|
||||||
H2 { font-size: 150%; margin-top: 0; }
|
h1 { font-size: 150%; margin: 0; padding: .8em 1em; border-bottom: 1px solid #999; font-weight: normal; background: #eee; font-style: italic; }
|
||||||
H3 { margin-top: 0; }
|
h1 a:link, h1 a:visited { color: #777; text-decoration: none; }
|
||||||
FIELDSET { float: left; padding: .5em; margin: 0; }
|
h2 { font-size: 150%; margin: 0 0 20px -18px; padding: .8em 1em; border-bottom: 1px solid #000; color: #000; font-weight: normal; background: #ddf; }
|
||||||
PRE { margin: .12em 0 1em; }
|
h3 { font-weight: normal; font-size: 130%; margin: .8em 0; }
|
||||||
TABLE { margin-bottom: 1em; }
|
pre { margin: .12em 0 1em; background: #eee; }
|
||||||
P { margin-top: 0; }
|
table { margin: 0 20px .8em 0; border: 0; border-top: 1px solid #999; border-left: 1px solid #999; font-size: 90%; }
|
||||||
IMG { vertical-align: middle; }
|
td, th { margin-bottom: 1em; border: 0; border-right: 1px solid #999; border-bottom: 1px solid #999; padding: .2em .3em; }
|
||||||
.error { color: Red; }
|
th { background: #eee; }
|
||||||
.message { color: Green; }
|
fieldset { float: left; padding: .5em .8em; margin: 0 .5em .5em 0; border: 1px solid #999; }
|
||||||
|
legend { padding: .2em .5em; margin: .5em 0 0; border: 1px solid #999; color: #000; background: #eee; margin: 0; }
|
||||||
|
p { margin: 0 20px 1em 0; }
|
||||||
|
img { vertical-align: middle; }
|
||||||
|
.error { color: red; background: #fee; padding: .5em .8em; }
|
||||||
|
.message { color: green; background: #efe; padding: .5em .8em; }
|
||||||
.char { color: #007F00; }
|
.char { color: #007F00; }
|
||||||
.date { color: #7F007F; }
|
.date { color: #7F007F; }
|
||||||
.enum { color: #007F7F; }
|
.enum { color: #007F7F; }
|
||||||
.binary { color: Red; }
|
.binary { color: red; }
|
||||||
#menu { position: absolute; top: 8px; left: 8px; width: 15em; overflow: auto; overflow-y: hidden; white-space: nowrap; }
|
#menu { position: absolute; margin: 10px 0 0; padding: 0 0 30px 0; top: 2em; left: 0; width: 18em; overflow: auto; overflow-y: hidden; white-space: nowrap; }
|
||||||
#content { margin-left: 16em; }
|
#menu p { padding: .8em 1em; margin: 0; border-bottom: 1px solid #ccc; }
|
||||||
|
#menu form { margin: 0; }
|
||||||
|
#content { margin: 2em 0 0 21em; padding: 10px 20px 20px 0; }
|
||||||
|
#lang { position: absolute; top: 0; left: 0; line-height: 1.8em; padding: 0 1em; }
|
||||||
|
#breadcrumb { position: absolute; top: 0; left: 21em; background: #eee; height: 2em; line-height: 1.8em; padding: 0 1em; margin: 0 0 0 -18px; }
|
||||||
#schema { margin-left: 60px; position: relative; }
|
#schema { margin-left: 60px; position: relative; }
|
||||||
#schema .table { border: 1px solid Silver; padding: 0 2px; cursor: move; position: absolute; }
|
#schema .table { border: 1px solid Silver; padding: 0 2px; cursor: move; position: absolute; }
|
||||||
#schema .references { position: absolute; }
|
#schema .references { position: absolute; }
|
||||||
|
|
|
@ -11,7 +11,7 @@ function page_header($title, $breadcrumb = array(), $title2 = "") {
|
||||||
<meta name="robots" content="noindex" />
|
<meta name="robots" content="noindex" />
|
||||||
<title><?php echo $title . (strlen($title2) ? ": " . htmlspecialchars($title2) : "") . " - " . lang('phpMinAdmin') . " 1.4.0-dev"; ?></title>
|
<title><?php echo $title . (strlen($title2) ? ": " . htmlspecialchars($title2) : "") . " - " . lang('phpMinAdmin') . " 1.4.0-dev"; ?></title>
|
||||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
||||||
<link rel="stylesheet" type="text/css" href="default.css" />
|
<link rel="stylesheet" type="text/css" href="default.css" /><?php // Ondrej Valka, http://valka.info ?>
|
||||||
<?php if ($_COOKIE["highlight"] == "jush") { ?>
|
<?php if ($_COOKIE["highlight"] == "jush") { ?>
|
||||||
<style type="text/css">@import url(http://jush.info/jush.css);</style>
|
<style type="text/css">@import url(http://jush.info/jush.css);</style>
|
||||||
<script type="text/javascript" src="http://jush.info/jush.js" defer="defer"></script>
|
<script type="text/javascript" src="http://jush.info/jush.js" defer="defer"></script>
|
||||||
|
@ -25,14 +25,14 @@ function page_header($title, $breadcrumb = array(), $title2 = "") {
|
||||||
<?php
|
<?php
|
||||||
if (isset($breadcrumb)) {
|
if (isset($breadcrumb)) {
|
||||||
$link = substr(preg_replace('~db=[^&]*&~', '', $SELF), 0, -1);
|
$link = substr(preg_replace('~db=[^&]*&~', '', $SELF), 0, -1);
|
||||||
echo '<p id="breadcrumb"><a href="' . (strlen($link) ? htmlspecialchars($link) : ".") . '">' . (isset($_GET["server"]) ? htmlspecialchars($_GET["server"]) : lang('Server')) . '</a> > ';
|
echo '<p id="breadcrumb"><a href="' . (strlen($link) ? htmlspecialchars($link) : ".") . '">' . (isset($_GET["server"]) ? htmlspecialchars($_GET["server"]) : lang('Server')) . '</a> » ';
|
||||||
if (is_array($breadcrumb)) {
|
if (is_array($breadcrumb)) {
|
||||||
if (strlen($_GET["db"])) {
|
if (strlen($_GET["db"])) {
|
||||||
echo '<a href="' . substr($SELF, 0, -1) . '">' . htmlspecialchars($_GET["db"]) . '</a> > ';
|
echo '<a href="' . substr($SELF, 0, -1) . '">' . htmlspecialchars($_GET["db"]) . '</a> » ';
|
||||||
}
|
}
|
||||||
foreach ($breadcrumb as $key => $val) {
|
foreach ($breadcrumb as $key => $val) {
|
||||||
if (strlen($val)) {
|
if (strlen($val)) {
|
||||||
echo '<a href="' . htmlspecialchars($SELF) . "$key=" . ($key != "privileges" ? urlencode($val) : "") . '">' . htmlspecialchars($val) . '</a> > ';
|
echo '<a href="' . htmlspecialchars($SELF) . "$key=" . ($key != "privileges" ? urlencode($val) : "") . '">' . htmlspecialchars($val) . '</a> » ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -53,9 +53,9 @@ function page_footer($missing = false) {
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php switch_lang(); ?>
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<h1><a href="http://phpminadmin.sourceforge.net"><?php echo lang('phpMinAdmin'); ?></a></h1>
|
<h1><a href="http://phpminadmin.sourceforge.net"><?php echo lang('phpMinAdmin'); ?></a></h1>
|
||||||
<?php switch_lang(); ?>
|
|
||||||
<?php if ($missing != "auth") { ?>
|
<?php if ($missing != "auth") { ?>
|
||||||
<p>
|
<p>
|
||||||
<a href="<?php echo htmlspecialchars($SELF); ?>sql="><?php echo lang('SQL command'); ?></a>
|
<a href="<?php echo htmlspecialchars($SELF); ?>sql="><?php echo lang('SQL command'); ?></a>
|
||||||
|
|
Loading…
Reference in a new issue