[Rt-commit] r18705 - rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2
elacour at bestpractical.com
elacour at bestpractical.com
Thu Mar 5 10:00:07 EST 2009
Author: elacour
Date: Thu Mar 5 10:00:06 2009
New Revision: 18705
Modified:
rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/layout.css
rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/login.css
rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/msie.css
rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/msie6.css
rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/nav.css
Log:
CSS cleanup:
* cleanup of only css, no html change to avoid breaking old themes
* remove when possible absolute positions to viewport and replace by floats or
relative positions (thought, there is still absolute to viewport position for
topactions and logo because the html flow is wrong for this theme)
* make subject truly wrap
* side effect: less msie7 specific css :)
* tested on FF2, FF3, Safari, IE7, IE6
Modified: rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/layout.css
==============================================================================
--- rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/layout.css (original)
+++ rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/layout.css Thu Mar 5 10:00:06 2009
@@ -66,7 +66,7 @@
-moz-border-radius: 0.5em;
-webkit-border-radius: 0.5em;
margin-left: 10.5em;
- margin-top: 5.2em;
+ margin-top: 0.3em;
margin-right: 1em;
margin-bottom: 0em;
min-height: 10%;
@@ -83,10 +83,9 @@
background: transparent;
top: 3.8em;
right: 1em;
- width: auto;
- min-width: 42em;
+ width: 34em;
font-size: 0.9em;
- z-index: 99;
+ z-index: 15;
}
#topactions form * {
@@ -123,8 +122,7 @@
}
div#footer {
- position: absolute;
- right: 0;
+ float: right;
text-align: right;
font-size: 0.9em;
margin-top: 2em;
@@ -179,6 +177,7 @@
font-weight: bold;
top: 1em;
left: 1em;
+ z-index: 99;
}
@@ -197,6 +196,7 @@
padding-bottom: 0.5em;
height: 1em;
border-bottom: 1px solid #ccc;
+ position: relative;
}
div#quick-personal {
@@ -204,15 +204,16 @@
margin-right: 1em;
}
+div#header {
+ margin-left: 9.5em;
+}
div#header h1 {
- position: absolute;
- left: 7.25em;
- right: 20em;
- overflow: hidden;
- height: 1em;
+ margin-left: 0.5em;
+ margin-right: 19em;
font-size: 1.4em;
- margin-top: 0.4em;
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
padding: 0.25em;
color: #fff;
}
Modified: rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/login.css
==============================================================================
--- rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/login.css (original)
+++ rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/login.css Thu Mar 5 10:00:06 2009
@@ -45,6 +45,11 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
+
+div#body.login-body {
+ margin-top: 5.2em;
+}
+
#login-box hr {
display: none;
}
Modified: rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/msie.css
==============================================================================
--- rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/msie.css (original)
+++ rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/msie.css Thu Mar 5 10:00:06 2009
@@ -45,12 +45,6 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-div#body {
- left: 0.25em;
- height: 100%;
- top: 1em;
-
-}
#footer {
@@ -58,17 +52,6 @@
}
-div#header h1 {
- position: absolute;
- left: 7.25em;
- overflow: hidden;
- height: 1em;
- font-size: 1.4em;
- margin-top: 0.4em;
- right: 23.5em;
- padding: 0.25em;
-}
-
#topactions {
top: 4.1em;
@@ -90,31 +73,6 @@
margin-top: 0.2em;
}
-div#page-navigation ul#actions-menu {
- margin-top: -2.9em;
- margin-right: -0.2em;
- border-top: 1px solid #ccc;
- border-right: none;
-}
-
-
-div#page-navigation {
- position: absolute;
- top: 6.2em;
- height: 1.8em;
- background: #fff;
- border-top: 2px solid #ccc;
-}
-
-
-
-div#page-navigation ul#page-menu {
- margin-top: -2.5em;
- margin-left: 4em;
- background: none;
- border: none;
-}
-
div#quickbar { height: 1.2em;
Modified: rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/msie6.css
==============================================================================
--- rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/msie6.css (original)
+++ rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/msie6.css Thu Mar 5 10:00:06 2009
@@ -45,12 +45,28 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
+
+div#body {
+ height: 100%;
+ padding-top: 3em;
+}
+
+div#topactions {
+ left: 50em;
+ margin-left: 0em;
+ margin-right: 0em;
+}
+
.topaction .select-queue {
margin-top: 0;
}
-div#page-navigation ul#page-menu {
- margin-top: -3.2em;
+.quick-create textarea {
+ width: 100%;
+}
+
+div#page-navigation ul#actions-menu {
+ right: 10.5em;
}
.titlebox-title .widget {
Modified: rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/nav.css
==============================================================================
--- rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/nav.css (original)
+++ rt/3.8/branches/css-cleanup/share/html/NoAuth/css/web2/nav.css Thu Mar 5 10:00:06 2009
@@ -46,10 +46,9 @@
%#
%# END BPS TAGGED BLOCK }}}
div#nav {
- position: absolute;
- left: 0;
+ float: left;
font-size: 0.9em;
- top: 3.2em;
+ margin-top: 0.5em;
width: 10.5em;
background: #fff;
-moz-border-radius-bottomright: 0.5em;
@@ -135,9 +134,12 @@
div#page-navigation {
background: white;
position: relative;
- width:100%;
z-index: 10;
-
+ padding-left: 1em;
+ padding-right: 1em;
+ padding-top: 0.4em;
+ padding-bottom: 0.4em;
+ border-top: 1px solid #aaa;
}
@@ -147,31 +149,19 @@
div#page-navigation ul#page-menu {
display: block;
- position: absolute;
- left: 8em;
font-size: 0.9em;
- top: 2.3em;
min-height: 1em;
background-color: white;
- right: 0em;
- padding-top:0.3em;
- padding-bottom:0.5em;
- border-top: 1px solid #aaa;
-
-}
+ padding: 0em;
+ margin: 0em;
-/* ie hack */
-* html div#page-navigation ul#page-menu {
- left: 6.5em;
- top: 3.2em;
- padding-left: 2em;
}
div#page-navigation ul#actions-menu {
position: absolute;
right: 1em;
- top: 5.2em;
+ top: 2.3em;
margin-top: 0em;
padding: 0.25em;
padding-left: 0.5em;
More information about the Rt-commit
mailing list