[Rt-commit] r3433 - in rt/branches/3.5-TESTING: . html/Elements html/NoAuth/css html/Widgets

trs at bestpractical.com trs at bestpractical.com
Fri Jul 8 11:46:52 EDT 2005


Author: trs
Date: Fri Jul  8 11:46:51 2005
New Revision: 3433

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/html/Elements/Login
   rt/branches/3.5-TESTING/html/NoAuth/css/body.css
   rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart
Log:
 r4930 at wintermute:  tom | 2005-07-08 11:26:31 -0400
 TitleBoxes now do the right side titles as well


Modified: rt/branches/3.5-TESTING/html/Elements/Login
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Login	(original)
+++ rt/branches/3.5-TESTING/html/Elements/Login	Fri Jul  8 11:46:51 2005
@@ -73,7 +73,7 @@
 % }
 
 <div id="login-box">
-<&| /Widgets/TitleBox, title => loc('Login') &>
+<&| /Widgets/TitleBox, title => loc('Login'), titleright => $RT::VERSION &>
 
 % unless ($RT::WebExternalAuth and !$RT::WebFallbackToInternalAuth) {
 <form id="login" name="login" method="post" action="<% (UNIVERSAL::can($r, 'uri') && ($r->uri) =~ m!.*/(.*)!) %>">

Modified: rt/branches/3.5-TESTING/html/NoAuth/css/body.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/body.css	(original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/body.css	Fri Jul  8 11:46:51 2005
@@ -50,13 +50,12 @@
     padding-top: 0.5em;
 }
 
-.titlebox { position: relative; }
-
 .titlebox .content {
     margin: 1em 2em 0 2em;
 }
 
 .titlebox .title {
+    position: relative;
     font-weight: bold;
     color: #930;
     font-size: 1.2em;
@@ -64,7 +63,25 @@
     border-bottom: 1px solid #069;
 }
 
-.titlebox .title span a {
+.titlebox .title .right {
+    position: absolute;
+    top: 0.5em;
+    right: 1.5em;
+    font-size: 0.9em;
+    color: #888;
+}
+
+#body .titlebox .title .right :link,
+#body .titlebox .title .right :visited {
+    color: #888;
+}
+
+#body .titlebox .title .right :link:hover,
+#body .titlebox .title .right :visited:hover {
+    color: #930;
+}
+
+.titlebox .title .widget a {
   display: block;
   padding-top: 1em;
   width: 20px;
@@ -87,16 +104,16 @@
   overflow: hidden;
 }
 
-html>body .titlebox .title span a {
+html>body .titlebox .title .widget a {
     height: 0;
     overflow: hidden;
 }
 
-* html .titlebox .title span a {
+* html .titlebox .title .widget a {
     background-position: center 0.4em;
 }
 
-.titlebox .title span a.rolled-up {
+.titlebox .title .widget a.rolled-up {
     background-image: url(<%$RT::WebImagesURL%>/css/rolldown-arrow.gif);
 }
 

Modified: rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart
==============================================================================
--- rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart	(original)
+++ rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart	Fri Jul  8 11:46:51 2005
@@ -45,8 +45,9 @@
 %# END BPS TAGGED BLOCK }}}
 <div class="titlebox<% $class && " $class" %>"<% $id && qq[ id="$id"] |n %>>
   <div class="title<% $title_class && " $title_class" %>">
-    <span><a href="#" id="<%$tid%>-link" onclick="return rollup('<%$tid%>');" onfocus="this.blur(); return false;">^</a></span>
-    <% $title_href && qq[<a href="$title_href">] | n %><% $title |n %><% $title_href && "</a>" |n%>
+    <span class="widget"><a href="#" id="<%$tid%>-link" onclick="return rollup('<%$tid%>');" onfocus="this.blur(); return false;">^</a></span>
+    <span class="left"><% $title_href && qq[<a href="$title_href">] | n %><% $title |n %><% $title_href && "</a>" |n%></span>
+    <span class="right"><% $titleright_href && qq[<a href="$titleright_href">] | n %><% $titleright |n %><% $titleright_href && "</a>" |n%></span>
   </div>
   <div class="content<% $bodyclass && " $bodyclass" %>" id="<%$tid%>">
 


More information about the Rt-commit mailing list