diff --git a/lib/widgets/portlet.inc.php b/lib/widgets/portlet.inc.php index 2fecf6a..3b7c618 100644 --- a/lib/widgets/portlet.inc.php +++ b/lib/widgets/portlet.inc.php @@ -5,7 +5,7 @@ * KnowledgeTree Community Edition * Document Management Made Simple * Copyright (C) 2008, 2009 KnowledgeTree Inc. - * + * * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License version 3 as published by the @@ -153,13 +153,12 @@ class KTActionPortlet extends KTPortlet { // Create button html $button = "
- +
{$text}
-
-
+
"; diff --git a/resources/css/kt-framing.css b/resources/css/kt-framing.css index 4a31a8a..47544f0 100644 --- a/resources/css/kt-framing.css +++ b/resources/css/kt-framing.css @@ -1218,20 +1218,6 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes text-decoration: none; } -.portlet_button a .arrow_download { - background: transparent url(../../resources/graphics/download_arrow.gif) center right no-repeat; - width: 20px; - height: 47px; - float: right; -} - -.portlet_button a .arrow_upload { - background: transparent url(../../resources/graphics/upload_arrow.gif) center right no-repeat; - width: 20px; - height: 47px; - float: right; -} - .portlet_button a .big_btn_left { background: transparent url(../../resources/graphics/btn_left.gif) top left no-repeat; width: 10px; @@ -1246,16 +1232,23 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes text-align: center; vertical-align: middle; align: center; - width: 89%; + width: 80%; } .portlet_button a .big_btn_right { - background: transparent url(../../resources/graphics/btn_right.gif) top right no-repeat; float: left; - width: 10px; + width: 25px; height: 47px; } +.portlet_button a .arrow_upload{ + background: transparent url(../../resources/graphics/btn_right_up.gif) top right no-repeat; +} + +.portlet_button a .arrow_download{ + background: transparent url(../../resources/graphics/btn_right_down.gif) top right no-repeat; +} + .portlet_button a:hover .big_btn_left { background: transparent url(../../resources/graphics/btn_left_ro.gif) top left no-repeat; } @@ -1264,8 +1257,12 @@ The text will be hidden for screen view. The generic fahrner-ish approach comes background: transparent url(../../resources/graphics/btn_middle_ro.gif) repeat-x; } -.portlet_button a:hover .big_btn_right { - background: transparent url(../../resources/graphics/btn_right_ro.gif) top right no-repeat; +.portlet_button a:hover .arrow_upload { + background: transparent url(../../resources/graphics/btn_right_ro_up.gif) top right no-repeat; +} + +.portlet_button a:hover .arrow_download { + background: transparent url(../../resources/graphics/btn_right_ro_down.gif) top right no-repeat; } diff --git a/resources/graphics/btn_right_down.gif b/resources/graphics/btn_right_down.gif new file mode 100644 index 0000000..abf8217 --- /dev/null +++ b/resources/graphics/btn_right_down.gif diff --git a/resources/graphics/btn_right_ro_down.gif b/resources/graphics/btn_right_ro_down.gif new file mode 100644 index 0000000..17704f8 --- /dev/null +++ b/resources/graphics/btn_right_ro_down.gif diff --git a/resources/graphics/btn_right_ro_up.gif b/resources/graphics/btn_right_ro_up.gif new file mode 100644 index 0000000..585ea2e --- /dev/null +++ b/resources/graphics/btn_right_ro_up.gif diff --git a/resources/graphics/btn_right_up.gif b/resources/graphics/btn_right_up.gif new file mode 100644 index 0000000..5db07ce --- /dev/null +++ b/resources/graphics/btn_right_up.gif