Tidied up the dropdown CSS a bit. Reduced font size. Needs to be replaced with a solution that scales to small window sizes though. Not today. Closes #23
This commit is contained in:
parent
0c22cb2206
commit
262fe4bb4b
|
|
@ -1,11 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
/* Quotenik 1.2 - Default Layout. Some Markup from CakePHP Default */?>
|
/* Quotenik 1.2 - Default Layout. Some Markup from CakePHP Default
|
||||||
|
*/?>
|
||||||
|
|
||||||
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<?php echo $html->charset(); ?>
|
<meta charset="utf-8">
|
||||||
<title>
|
<title>
|
||||||
<?php __('CMC'); ?>
|
<?php __('CMC'); ?>
|
||||||
<?php echo $title_for_layout; ?>
|
<?php echo $title_for_layout; ?>
|
||||||
|
|
@ -59,7 +60,7 @@
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$logoutlink = $html->link('Logout', '/users/logout');
|
$logoutlink = $html->link('Logout', '/users/logout');
|
||||||
echo "Logged in as: ". $html->link($currentuser['User']['username'], '/users/view/'. $currentuser['User']['id']). ' (' . $logoutlink.')';
|
echo $html->link($currentuser['User']['username'], '/users/view/'. $currentuser['User']['id']). ' (' . $logoutlink.')';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -173,21 +173,25 @@ ul.principle-emails {
|
||||||
}
|
}
|
||||||
|
|
||||||
#username {
|
#username {
|
||||||
position: absolute;
|
/* position: absolute;
|
||||||
right:0;
|
right:0;
|
||||||
width: 20%;
|
width: 20%;*/
|
||||||
text-align: right;
|
text-align: right;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
font-size: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#username a {
|
#username a {
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#navdiv {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
/* nav CSS based on http://www.queness.com/post/1047/easy-to-style-jquery-drop-down-menu-tutorial */
|
/* nav CSS based on http://www.queness.com/post/1047/easy-to-style-jquery-drop-down-menu-tutorial */
|
||||||
#nav {
|
#nav {
|
||||||
width: 100%;
|
|
||||||
margin:0;
|
margin:0;
|
||||||
padding:0;
|
padding:0;
|
||||||
list-style:none;
|
list-style:none;
|
||||||
|
|
@ -212,13 +216,12 @@ ul.principle-emails {
|
||||||
#nav li a {
|
#nav li a {
|
||||||
display:block;
|
display:block;
|
||||||
width: 90px;
|
width: 90px;
|
||||||
/*width: 6em;*/
|
/* padding:8px 5px 0 5px; */
|
||||||
padding:8px 5px 0 5px;
|
|
||||||
height:23px;
|
|
||||||
text-decoration:none;
|
text-decoration:none;
|
||||||
color:#fff;
|
color:#fff;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
|
font-size: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav li a:hover {
|
#nav li a:hover {
|
||||||
|
|
@ -260,12 +263,13 @@ li .last {
|
||||||
display:block;
|
display:block;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 8px 5px;
|
padding: 8px 5px;
|
||||||
font-size: 80%;
|
font-size: 70%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav ul a:hover {
|
#nav ul a:hover {
|
||||||
text-decoration:underline;
|
text-decoration:underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*used for the jquery menu */
|
/*used for the jquery menu */
|
||||||
.clear {
|
.clear {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue