commit 2b128aaacf644a50ab8598c7fe6fad5a32d6010f
parent 3219fd4be91acc3306dea1ff57821bebbc1a3e01
Author: Jan Dankert <devnull@localhost>
Date: Thu, 7 Mar 2013 23:58:42 +0100
Diffstat:
3 files changed, 17 insertions(+), 33 deletions(-)
diff --git a/themes/default/css/openrat.css.php b/themes/default/css/openrat.css.php
@@ -62,27 +62,26 @@ div.panel > div.title
}
/* H e a d e r */
-div#title
+div#header
{
+ width:100%;
+ height:30px;
overflow:hidden;
- padding:5px;
+ padding:7px;
margin:0px;
- margin-bottom:10px;
- height:25px;
+ margin-bottom:5px;
+ float:left;
}
-
-div#title div.title
+div#header div.title
{
float:left;
- margin-right:24px;
- margin-left:0px;
}
-div#title div.user,
-div#title div.search,
-div#title div.projects,
-div#title div.history
+div#header div.user,
+div#header div.search,
+div#header div.projects,
+div#header div.history
{
float:right;
margin-right:0px;
@@ -280,7 +279,7 @@ div.dropdown div.entry
/*Dropdown anzeigen!!!*/
-div#title div:hover div.dropdown,
+div#header div:hover div.dropdown,
div.panel div:hover > div.dropdown,
div.icon:hover > div.dropdown
{
@@ -379,19 +378,6 @@ a.editorlink:visited
}
-/* Hauptfenster */
-body.main
-{
- text-align:center;
-}
-
-/* Innenabstand Titel */
-body.title table tr td {
- margin:0px;
- padding:3px;
-}
-
-
/* Submenu-Entrys */
body.menu tr.menu td table tr td,
body.main tr.menu td table tr td
@@ -562,7 +548,7 @@ p.logo
font-size:13px;
}
-div#title div.search input
+div#header div.search input
{
margin:0px;
padding:0px;
@@ -1255,7 +1241,7 @@ div#shortcuts > div.shortcut:HOVER {
-webkit-text-size-adjust: none;
overflow: visible;
}
- div#title,
+ div#header,
div#workbench {
width: 100%;
height: auto;
@@ -1796,7 +1782,7 @@ div.dropdown
}
-div#title span.titletext
+div#header span.titletext
{
color:<?php echo $_GET['title_text_color']; ?>;
}
diff --git a/themes/default/js/openrat.js b/themes/default/js/openrat.js
@@ -371,7 +371,7 @@ function registerWorkbenchEvents()
*/
function refreshTitleBar()
{
- $('div#title').load( createUrl('title','show',0 ),function() {
+ $('div#header').load( createUrl('title','show',0 ),function() {
$(this).fadeIn('slow');
registerHeaderEvents();
});
@@ -629,7 +629,7 @@ function registerViewEvents( viewEl )
function registerHeaderEvents()
{
// Links aktivieren...
- $('div#title').find('.clickable').orLinkify();
+ $('div#header').find('.clickable').orLinkify();
// S u c h e
$('div.search input').blur( function(){
diff --git a/themes/default/layout/index.php b/themes/default/layout/index.php
@@ -105,8 +105,6 @@ var REQ_PARAM_TARGET = '<?php echo REQ_PARAM_TARGET ?>';
</div>
<div id="header">
- <div id="title">
- </div>
<ul id="history">
</ul>
</div>