Fixing paths in CSS, now relative instead of absolute

Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
Florian Aders (EleRas)
2011-03-01 19:28:34 +01:00
parent 9503ae0ac5
commit 9d45759613
2 changed files with 23 additions and 23 deletions

View File

@@ -5,7 +5,7 @@ body {
} }
.header { .header {
background-image : url( '/images/Classic/header_r.gif' ); background-image : url( '../../images/Classic/header_r.gif' );
background-repeat : repeat-x; background-repeat : repeat-x;
} }
@@ -16,7 +16,7 @@ body {
border-width : 1px; border-width : 1px;
border-right : none; border-right : none;
border-left : none; border-left : none;
background : url('/images/Classic/footer.gif') repeat-y #FFFFFF; background : url('../../images/Classic/footer.gif') repeat-y #FFFFFF;
} }
a,a:visited,a:active { a,a:visited,a:active {
@@ -97,24 +97,24 @@ ul {
} }
.line_shadow { .line_shadow {
background-image : url( '/images/Classic/shadow.gif' ); background-image : url( '../../images/Classic/shadow.gif' );
background-repeat : repeat-y; background-repeat : repeat-y;
background-position : top left; background-position : top left;
} }
.section { .section {
height : 25px; height : 25px;
background-image : url( '/images/Classic/section.gif' ); background-image : url( '../../images/Classic/section.gif' );
} }
.subsection { .subsection {
padding-top : 8px; padding-top : 8px;
background-image : url( '/images/Classic/subsection.gif' ); background-image : url( '../../images/Classic/subsection.gif' );
} }
.endsection { .endsection {
height : 10px; height : 10px;
background-image : url( '/images/Classic/endsection.gif' ); background-image : url( '../../images/Classic/endsection.gif' );
background-position : bottom; background-position : bottom;
} }
@@ -420,7 +420,7 @@ TR.RowOverSelected {
padding: 20px 20px 20px 60px; padding: 20px 20px 20px 60px;
background-color: #f1baba; background-color: #f1baba;
border: 1px solid #ce1d1d; border: 1px solid #ce1d1d;
background-image: url('/images/Classic/error.png'); background-image: url('../../images/Classic/error.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 15px 50%; background-position: 15px 50%;
} }

View File

@@ -78,7 +78,7 @@ td a {
} }
.topheader { .topheader {
background: #cccccc url('/images/Froxlor/header_g.png') 0 bottom repeat-x; background: #cccccc url('../../images/Froxlor/header_g.png') 0 bottom repeat-x;
padding-left: 5px; padding-left: 5px;
padding-top: 2px; padding-top: 2px;
margin-bottom: 12px; margin-bottom: 12px;
@@ -290,7 +290,7 @@ p.submit {
* error message display * error message display
*/ */
.errorcontainer { .errorcontainer {
background: url('/images/Froxlor/icons/bad.png') 10px center no-repeat #ffedef; background: url('../../images/Froxlor/icons/bad.png') 10px center no-repeat #ffedef;
border: 1px solid #ffc2ca; border: 1px solid #ffc2ca;
padding: 10px 10px 10px 68px !important; padding: 10px 10px 10px 68px !important;
margin: .75em !important; margin: .75em !important;
@@ -312,7 +312,7 @@ p.submit {
* warning message display * warning message display
*/ */
.warningcontainer { .warningcontainer {
background: url('/images/Froxlor/icons/warning.png') 10px center no-repeat #fffecc; background: url('../../images/Froxlor/icons/warning.png') 10px center no-repeat #fffecc;
border: 1px solid #f3c37e; border: 1px solid #f3c37e;
padding: 10px 10px 10px 68px !important; padding: 10px 10px 10px 68px !important;
margin: .75em !important; margin: .75em !important;
@@ -333,7 +333,7 @@ p.submit {
* success message display * success message display
*/ */
.successcontainer { .successcontainer {
background: url('/images/Froxlor/icons/ok.png') 10px center no-repeat #E2F9E3; background: url('../../images/Froxlor/icons/ok.png') 10px center no-repeat #E2F9E3;
border: 1px solid #9C9; border: 1px solid #9C9;
padding: 10px 10px 10px 68px !important; padding: 10px 10px 10px 68px !important;
margin: .75em !important; margin: .75em !important;
@@ -354,7 +354,7 @@ p.submit {
* neutral/info message display * neutral/info message display
*/ */
.neutralcontainer { .neutralcontainer {
background: url('/images/Froxlor/icons/info.png') 10px center no-repeat #d2eaf6; background: url('../../images/Froxlor/icons/info.png') 10px center no-repeat #d2eaf6;
border: 1px solid #b7d8ed; border: 1px solid #b7d8ed;
padding: 10px 10px 10px 68px !important; padding: 10px 10px 10px 68px !important;
margin: .75em !important; margin: .75em !important;
@@ -398,7 +398,7 @@ a:hover {
} }
.menuelement h4 { .menuelement h4 {
background: transparent url('/images/Froxlor/icons/tag_blue.png') no-repeat center left; background: transparent url('../../images/Froxlor/icons/tag_blue.png') no-repeat center left;
margin: 0; margin: 0;
padding: 0 0 0 20px; padding: 0 0 0 20px;
} }
@@ -528,7 +528,7 @@ table tfoot td {
/* input elements */ /* input elements */
input { input {
background: #dae7ee url('/images/Froxlor/icons/text_align_left.png') no-repeat 5px 4px; background: #dae7ee url('../../images/Froxlor/icons/text_align_left.png') no-repeat 5px 4px;
padding: 2px 4px 2px 22px; padding: 2px 4px 2px 22px;
border: 1px solid #666666; border: 1px solid #666666;
height: 22px; height: 22px;
@@ -539,7 +539,7 @@ input {
} }
textarea { textarea {
background: #dae7ee url('/images/Froxlor/icons/text_align_left.png') no-repeat 5px 4px; background: #dae7ee url('../../images/Froxlor/icons/text_align_left.png') no-repeat 5px 4px;
padding: 4px 4px 2px 22px; padding: 4px 4px 2px 22px;
border: 1px solid #666666; border: 1px solid #666666;
-moz-border-radius: 5px; -moz-border-radius: 5px;
@@ -549,7 +549,7 @@ textarea {
} }
input[type="password"] { input[type="password"] {
background: #dae7ee url('/images/Froxlor/icons/password.png') no-repeat 4px 4px; background: #dae7ee url('../../images/Froxlor/icons/password.png') no-repeat 4px 4px;
} }
input[type="button"],input[type="submit"],input[type="reset"] { input[type="button"],input[type="submit"],input[type="reset"] {
@@ -566,14 +566,14 @@ input[type="button"],input[type="submit"],input[type="reset"] {
input[type="submit"] { input[type="submit"] {
color: green; color: green;
background: #ccc url('/images/Froxlor/icons/button_ok.png') no-repeat 4px 8px; background: #ccc url('../../images/Froxlor/icons/button_ok.png') no-repeat 4px 8px;
padding-left: 20px; padding-left: 20px;
} }
input[class="nobutton"], input[class="nobutton"],
input[type="reset"] { input[type="reset"] {
color: red; color: red;
background: #ccc url('/images/Froxlor/icons/cancel.png') no-repeat 4px 8px; background: #ccc url('../../images/Froxlor/icons/cancel.png') no-repeat 4px 8px;
padding-left: 20px; padding-left: 20px;
} }
@@ -630,7 +630,7 @@ select {
} }
.cronjobtask { .cronjobtask {
list-style: url('/images/Froxlor/icons/clock.png') inside; list-style: url('../../images/Froxlor/icons/clock.png') inside;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@@ -658,7 +658,7 @@ select {
display:block; display:block;
width:200px; width:200px;
height:15px; height:15px;
background:url('/images/Froxlor/bar.gif') no-repeat 0 0; background:url('../../images/Froxlor/bar.gif') no-repeat 0 0;
top:8px; top:8px;
left:8px; left:8px;
overflow:hidden; overflow:hidden;
@@ -666,11 +666,11 @@ select {
} }
.progressBar span.redbar { .progressBar span.redbar {
background:url('/images/Froxlor/barred.gif') no-repeat 0 0; background:url('../../images/Froxlor/barred.gif') no-repeat 0 0;
} }
.progressBar span.greybar { .progressBar span.greybar {
background:url('/images/Froxlor/bargrey.gif') no-repeat 0 0; background:url('../../images/Froxlor/bargrey.gif') no-repeat 0 0;
} }
.progressBar em { .progressBar em {
@@ -678,7 +678,7 @@ select {
display:block; display:block;
width:200px; width:200px;
height:15px; height:15px;
background:url('/images/Froxlor/bg_cover.gif') repeat-x 0 0; background:url('../../images/Froxlor/bg_cover.gif') repeat-x 0 0;
top:0; top:0;
} }