[Rt-commit] r18375 - in rt/3.8/branches/html-css-cleanup/share/html: Elements

elacour at bestpractical.com elacour at bestpractical.com
Fri Feb 13 18:02:15 EST 2009


Author: elacour
Date: Fri Feb 13 18:02:14 2009
New Revision: 18375

Modified:
   rt/3.8/branches/html-css-cleanup/share/html/Elements/PageLayout
   rt/3.8/branches/html-css-cleanup/share/html/NoAuth/css/web2/layout.css
   rt/3.8/branches/html-css-cleanup/share/html/NoAuth/css/web2/msie.css

Log:
Fix title wrap in header (closes: #13070):

- share/html/Elements/PageLayout: which element with
  wrap is controlled by html flow, so invert h1 and
  topactions to make sure h1 wrap
- share/html/NoAuth/css/web2/layout.css: with inversion,
  only topactions floats now. Also make sure queue drop
  down stay in a reasonable width
- share/html/NoAuth/css/web2/msie.css: msie doesn't
  handle max-width :(



Modified: rt/3.8/branches/html-css-cleanup/share/html/Elements/PageLayout
==============================================================================
--- rt/3.8/branches/html-css-cleanup/share/html/Elements/PageLayout	(original)
+++ rt/3.8/branches/html-css-cleanup/share/html/Elements/PageLayout	Fri Feb 13 18:02:14 2009
@@ -60,12 +60,12 @@
 <div id="page">
 
 <div id="header">
-<h1><% $title %></h1>
 <div id="topactions">
 % foreach my $action (reverse sort keys %{$topactions}) {
 <div class="topaction" id="topaction-<%$action%>"><% $topactions->{"$action"}->{'html'} |n %></div>
 % }
 </div>
+<h1><% $title %></h1>
 <div style="clear: both;"></div>
 </div>
 <div id="page-navigation">

Modified: rt/3.8/branches/html-css-cleanup/share/html/NoAuth/css/web2/layout.css
==============================================================================
--- rt/3.8/branches/html-css-cleanup/share/html/NoAuth/css/web2/layout.css	(original)
+++ rt/3.8/branches/html-css-cleanup/share/html/NoAuth/css/web2/layout.css	Fri Feb 13 18:02:14 2009
@@ -94,8 +94,9 @@
  background: transparent;
  font-size: 0.9em;
  float: right;
- width: 60%;
+ width: auto;
  margin-top: 1.1em;
+ margin-left: 1em;
  text-align: right;
 }
 
@@ -113,6 +114,10 @@
  display: inline;
 }
 
+#topactions #CreateTicketInQueue select.select-queue {
+    max-width: 12em;
+}
+
 #topactions #simple-search {
  display: inline;
 }
@@ -197,13 +202,10 @@
 
 
 div#header h1 {
- float: left;
- overflow: hidden;
  font-size: 1.4em;
  margin-top: 0.4em;
  padding: 0.25em 0.25em 0em 0em;
  color: #fff;
- width: 39%;
 }
 
 /* in multi-column layouts, make sure we have an internal gutter */

Modified: rt/3.8/branches/html-css-cleanup/share/html/NoAuth/css/web2/msie.css
==============================================================================
--- rt/3.8/branches/html-css-cleanup/share/html/NoAuth/css/web2/msie.css	(original)
+++ rt/3.8/branches/html-css-cleanup/share/html/NoAuth/css/web2/msie.css	Fri Feb 13 18:02:14 2009
@@ -55,6 +55,10 @@
     width: 10em;    
 }
 
+#topactions #CreateTicketInQueue select.select-queue {
+    width: 12em;
+}
+
 
 #comp-Search-Build #editquery {
   margin-top: 0.2em;


More information about the Rt-commit mailing list