openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit c99c62a0a98c0b72f5416b4b15f8d19140942c8c
parent 7f18ea4d79178f4eb6fe909b0d4b5119a4ec49d6
Author: dankert <dankert@laptop-jan>
Date:   Fri, 15 Mar 2013 08:35:08 +0100

Pfeile mit CSS darstellen.

Diffstat:
themes/default/css/openrat.css.php | 31+++++++++++++++++++++++++++++++
themes/default/layout/perspective/window.php | 2+-
themes/default/templates/title/show.tpl.src.xml | 10+++++-----
3 files changed, 37 insertions(+), 6 deletions(-)

diff --git a/themes/default/css/openrat.css.php b/themes/default/css/openrat.css.php @@ -1876,3 +1876,34 @@ div.clickable.filtered.inactive > a color: <?php echo $_GET['inactive_background_color']; ?>; } +/* Pfeile */ +div#header > div > div.arrow-down +{ + display: inline; + width:16px; + height:0px; + margin-top:8px; + padding:0px; + border-right : 8px solid <?php echo $_GET['title_background_color']; ?>; + border-left : 8px solid <?php echo $_GET['title_background_color']; ?>; + border-top : 8px solid <?php echo $_GET['inactive_background_color' ]; ?>; + border-bottom: 8px solid <?php echo $_GET['title_background_color']; ?>; + +} + + +/* Pfeile */ +div#workbench div.panel div.arrow-down +{ + display: inline; + width:16px; + height:16px; + margin:0px; + padding:0px; + border-right: 8px solid transparent; + border-top: 8px solid <?php echo $_GET['title_background_color']; ?>; + border-left: 8px solid transparent; + border-bottom: 8px solid transparent; + +} + diff --git a/themes/default/layout/perspective/window.php b/themes/default/layout/perspective/window.php @@ -72,7 +72,7 @@ setTimeout( function() { openNewAction( '<?php echo $object->name; ?>','<?php ec <div class="icon"> <?php if (!empty($viewlist) || $name=='content') { /* Fenster-MenĂ¼ anzeigen (sofern Views vorhanden) */ ?> -<img class="icon" src="<?php echo OR_THEMES_EXT_DIR.'default/images/icon/menu.gif' ?>" /> +<div class="arrow-down" /> <div class="dropdown dropdownalignright"> <div class="entry clickable"><a href="javascript:void(0);" class="fullscreen" data-type="fullscreen"><img src="<?php echo OR_THEMES_EXT_DIR.'default/images/icon/window/maximize.gif' ?>" title="<?php echo langHtml('window_fullscreen') ?>" /><?php echo langHtml('window_fullscreen') ?></a></div> <?php diff --git a/themes/default/templates/title/show.tpl.src.xml b/themes/default/templates/title/show.tpl.src.xml @@ -18,7 +18,7 @@ <part class="menu"> <!-- <image icon="file" align="left"></image>--> <text key="file"></text> - <image fileext="icon/menu.gif" align="left"></image> + <part class="arrow-down" /> <part class="dropdown"> <part class="entry clickable filtered on-action-folder on-action-page on-action-file"> <link type="dialog" title="message:menu_new_desc" subaction="new"> @@ -58,7 +58,7 @@ <part class="menu"> <!-- <image icon="edit" align="left"></image>--> <text key="edit"></text> - <image fileext="icon/menu.gif" align="left"></image> + <part class="arrow-down" /> <part class="dropdown"> <part class="entry clickable filtered on-action-link on-action-folder on-action-page on-action-template on-action-element on-action-file"> <link type="dialog" title="message:menu_prop_desc" subaction="prop"> @@ -101,7 +101,7 @@ </part> </list> </part> - <image fileext="icon/menu.gif" align="left"></image> + <part class="arrow-down" /> </part> @@ -109,7 +109,7 @@ <part class="menu"> <!-- <image icon="menu" align="left"></image>--> <text key="extras"></text> - <image fileext="icon/menu.gif" align="left"></image> + <part class="arrow-down" /> <part class="dropdown"> <part class="entry clickable filtered on-action-folder on-action-link on-action-user on-action-page on-action-file"> <link type="dialog" title="message:menu_rights_desc" subaction="rights"> @@ -171,7 +171,7 @@ <part class="user"> <image icon="user" align="left"></image> <text class="titletext" var="userfullname" maxlength="25"></text> - <image fileext="icon/menu.gif" align="left"></image> + <part class="arrow-down" /> <part class="dropdown"> <part class="entry clickable"> <link type="post" title="message:USER_PROFILE_DESC" action="start"