commit adfc1dea706bf09284b03456762d36834aaf0110
parent 726957f1aa4264b7036007d38d445a28e19f8e55
Author: Jan Dankert <devnull@localhost>
Date: Thu, 21 Mar 2013 02:04:43 +0100
Fix: Dropdown-Menü an den Panels funktioniert wieder.
Diffstat:
3 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/themes/default/css/openrat.css.php b/themes/default/css/openrat.css.php
@@ -295,7 +295,7 @@ div#header > div.menu {
/*Dropdown anzeigen!!!*/
div#header div:hover div.dropdown,
div.panel div:hover > div.dropdown,
-div.icon:hover > div.dropdown
+div.panel-icon:hover > div.dropdown
{
display:block;
}
@@ -798,7 +798,7 @@ div.structure em
cursor: move;
}
-div.panel > div.header > div.icons
+div.panel > div.header > div.panel-icon
{
xposition: static;
xright:-30px;
@@ -852,7 +852,7 @@ ul.views > li > div
float:left;
}
-div.header div.icons,
+div.panel div.header div.panel-icon,
div.inputholder > div.icon
{
float: right;
@@ -1905,13 +1905,13 @@ div#header > div > div.arrow-down
display: inline;
width:0;
height:0;
- margin:2;
+ margin:6;
padding:0px;
border-right : 6px solid <?php echo $_GET['title_background_color']; ?>;
border-left : 6px solid <?php echo $_GET['title_background_color']; ?>;
border-top : 6px solid <?php echo $_GET['inactive_background_color' ]; ?>;
border-bottom: 4px solid <?php echo $_GET['title_background_color' ]; ?>;
- margin-top: 6px;
+ margin-top: 10px;
font-size: 0;
}
@@ -1921,13 +1921,13 @@ div#workbench div.panel div.arrow-down
{
width:0;
height:0;
- margin:2px;
+ margin:6px;
padding:0px;
border-right : 6px solid transparent;
border-top : 6px solid <?php echo $_GET['title_background_color']; ?>;
border-left : 6px solid transparent;
border-bottom : 4px solid transparent;
- margin-top: 6px;
+ margin-top: 10px;
font-size: 0;
}
/* Pfeile */
@@ -1935,13 +1935,13 @@ div#workbench div.panel div.arrow-right
{
width:0;
height:0;
- margin:2px;
+ margin:6px;
padding:0;
border-top: 6px solid transparent;
border-left: 6px solid <?php echo $_GET['title_background_color']; ?>;
border-bottom: 6px solid transparent;
border-right: 4px solid transparent;
- margin-left: 6px;
+ margin-left: 10px;
font-size: 0;
}
diff --git a/themes/default/js/openrat.js b/themes/default/js/openrat.js
@@ -1542,8 +1542,8 @@ function resizeTabs( panel )
var tabCount = $(panel).find('div.header li.action').size();
// Von der Panel-Breite werden 18px für das Fenstermenü substrahiert.
- // Von der Breite pro Tab werden 25px für das Icon substrahiert.
- var tabWidth = Math.floor((($(panel).width()-18)/tabCount)-33);
+ // Von der Breite pro Tab werden 39px für das Icon substrahiert.
+ var tabWidth = Math.floor((($(panel).width()-18)/tabCount)-39);
if ( $(panel).is('#panel-content') )
tabWidth -= 24; // Im Content-Bereich gibt es noch den Schließen-Knopf.
diff --git a/themes/default/layout/perspective/window.php b/themes/default/layout/perspective/window.php
@@ -74,8 +74,7 @@ setTimeout( function() { openNewAction( '<?php echo $object->name; ?>','<?php ec
?>
//-->
</script>
-<div class="icons">
-<div class="icon">
+<div class="panel-icon">
<?php if (!empty($viewlist) || $name=='content') { /* Fenster-Menü anzeigen (sofern Views vorhanden) */ ?>
<div class="arrow-down" />
@@ -98,7 +97,6 @@ setTimeout( function() { openNewAction( '<?php echo $object->name; ?>','<?php ec
<!-- Hinweis-Meldungen -->
</div>
-</div>
<div class="content">
<div class="empty"></div>