Use relative paths for CSS url()s.

This commit is contained in:
Ricky Zhou (周家杰) 2008-03-04 18:31:49 -05:00
parent a8278a5c33
commit 774c964295

View file

@ -25,7 +25,7 @@ a
margin-top: 35px; margin-top: 35px;
height: 70px; height: 70px;
line-height: 70px; line-height: 70px;
background: url(/fas/static/images/head.png) 0 0 repeat-x; background: url(../images/head.png) 0 0 repeat-x;
} }
#head h1 #head h1
@ -34,7 +34,7 @@ a
float: left; float: left;
text-indent: -9999px; text-indent: -9999px;
overflow: hidden; overflow: hidden;
background: url(/fas/static/images/logo.png) 1ex 50% no-repeat; background: url(../images/logo.png) 1ex 50% no-repeat;
} }
#searchbox #searchbox
@ -65,7 +65,7 @@ a
{ {
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
background: url(/fas/static/images/topnav.png) 0 0 repeat-x; background: url(../images/topnav.png) 0 0 repeat-x;
font-size: 1.6ex; font-size: 1.6ex;
} }
@ -78,7 +78,7 @@ a
#topnav ul li #topnav ul li
{ {
display: inline; display: inline;
background: url(/fas/static/images/topnav-separator.png) 0 50% no-repeat; background: url(../images/topnav-separator.png) 0 50% no-repeat;
padding-left: 3px; padding-left: 3px;
} }
@ -106,7 +106,7 @@ a
right: 0; right: 0;
height: 35px; height: 35px;
line-height: 35px; line-height: 35px;
background: url(/fas/static/images/infobar.png) 0 0 repeat-x; background: url(../images/infobar.png) 0 0 repeat-x;
font-size: 1.6ex; font-size: 1.6ex;
} }
@ -139,7 +139,7 @@ a
#control ul li #control ul li
{ {
display: inline; display: inline;
background: url(/fas/static/images/control-separator.png) 0 50% no-repeat; background: url(../images/control-separator.png) 0 50% no-repeat;
} }
#control a #control a
@ -150,14 +150,14 @@ a
#main #main
{ {
background: url(/fas/static/images/shadow.png) 0 0 repeat-x; background: url(../images/shadow.png) 0 0 repeat-x;
} }
#sidebar #sidebar
{ {
width: 22ex; width: 22ex;
float: left; float: left;
background: #335F9D url(/fas/static/images/sidebar.png) 0 0 repeat-x; background: #335F9D url(../images/sidebar.png) 0 0 repeat-x;
border: 1px solid #112233; border: 1px solid #112233;
} }
@ -246,25 +246,25 @@ a
.account .account
{ {
padding-left: 30px; padding-left: 30px;
background: url(/fas/static/images/account.png) 0 68% no-repeat; background: url(../images/account.png) 0 68% no-repeat;
} }
.approved .approved
{ {
padding-left: 20px; padding-left: 20px;
background: url(/fas/static/images/approved.png) 0 68% no-repeat; background: url(../images/approved.png) 0 68% no-repeat;
} }
.unapproved .unapproved
{ {
padding-left: 20px; padding-left: 20px;
background: url(/fas/static/images/unapproved.png) 0 68% no-repeat; background: url(../images/unapproved.png) 0 68% no-repeat;
} }
.attn .attn
{ {
padding-left: 20px; padding-left: 20px;
background: url(/fas/static/images/attn.png) 0 68% no-repeat; background: url(../images/attn.png) 0 68% no-repeat;
} }
.roleslist .roleslist
@ -302,7 +302,7 @@ a
margin-top: 1ex; margin-top: 1ex;
padding-top: 1ex; padding-top: 1ex;
padding-left: 22px; padding-left: 22px;
background: url(/fas/static/images/arrow.png) 0 1.6ex no-repeat; background: url(../images/arrow.png) 0 1.6ex no-repeat;
} }
#rolespanel h4 #rolespanel h4
@ -332,13 +332,13 @@ a
#rolespanel .tools li #rolespanel .tools li
{ {
padding-left: 22px; padding-left: 22px;
background: url(/fas/static/images/tools.png) 0 50% no-repeat; background: url(../images/tools.png) 0 50% no-repeat;
} }
#rolespanel .queue li #rolespanel .queue li
{ {
padding-left: 22px; padding-left: 22px;
background: url(/fas/static/images/queue.png) 0 50% no-repeat; background: url(../images/queue.png) 0 50% no-repeat;
} }
#rolespanel .queue strong #rolespanel .queue strong
@ -352,7 +352,7 @@ a
clear: both; clear: both;
text-align: center; text-align: center;
padding: 15px 0 2.5ex; padding: 15px 0 2.5ex;
background: url(/fas/static/images/footer-top.png) 0 0 repeat-x; background: url(../images/footer-top.png) 0 0 repeat-x;
} }
#footer .copy, #footer .disclaimer #footer .copy, #footer .disclaimer
@ -364,7 +364,7 @@ a
{ {
padding-top: 3px; padding-top: 3px;
padding-bottom: 18px; padding-bottom: 18px;
background: #EEEEEE url(/fas/static/images/footer-bottom.png) 0 100% repeat-x; background: #EEEEEE url(../images/footer-bottom.png) 0 100% repeat-x;
list-style: none; list-style: none;
} }
@ -389,7 +389,7 @@ a
.flash .flash
{ {
background: #DEE6B1 url(/fas/static/images/success.png) 10px 50% no-repeat; background: #DEE6B1 url(../images/success.png) 10px 50% no-repeat;
border: 1px solid #CCBBAA; border: 1px solid #CCBBAA;
padding: 1.5ex 15px 1.5ex 43px; padding: 1.5ex 15px 1.5ex 43px;
margin: 1ex 0; margin: 1ex 0;
@ -397,7 +397,7 @@ a
.help .help
{ {
background: #DEE6B1 url(/fas/static/images/help.png) 10px 50% no-repeat; background: #DEE6B1 url(../images/help.png) 10px 50% no-repeat;
border: 1px solid #CCBBAA; border: 1px solid #CCBBAA;
padding: 1.5ex 15px 1.5ex 65px; padding: 1.5ex 15px 1.5ex 65px;
margin: 1ex 0; margin: 1ex 0;