Skip to content
Browse files

Changing paths in the css files from relative to absolute

  • Loading branch information...
1 parent 936b470 commit 8a51f63d153ebe8c7481766844d38bfeb4d9e4bf @tscolari tscolari committed with Aug 29, 2011
View
14 app/assets/stylesheets/web-app-theme/themes/activo/style.css
@@ -153,7 +153,7 @@ hr {
#sidebar ul li {
background-position: 15px 11px;
background-repeat: no-repeat;
- background-image: url("images/arrow.png");
+ background-image: url("/web-app-theme/themes/activo/images/arrow.png");
border-bottom: 1px solid #e2e2e2;
}
@@ -168,7 +168,7 @@ hr {
#main-navigation {
background-color: #f4f4f4;
- background-image: url("images/menubar-background.png");
+ background-image: url("/web-app-theme/themes/activo/images/menubar-background.png");
background-repeat: repeat-x;
}
@@ -193,7 +193,7 @@ hr {
background-color: #f2f1ee;
border-bottom: none;
border-bottom-width: 5px;
- background-image: url("images/boxbar-background.png");
+ background-image: url("/web-app-theme/themes/activo/images/boxbar-background.png");
}
.secondary-navigation ul li.active, .secondary-navigation ul li.active a:hover {
@@ -219,7 +219,7 @@ hr {
.pagination a, .pagination span {
background-color: #f4f4f4;
- background-image: url("images/button-background.png");
+ background-image: url("/web-app-theme/themes/activo/images/button-background.png");
color: #111;
text-align: center;
min-width: 15px;
@@ -246,7 +246,7 @@ hr {
}
.pagination a:active {
- background-image: url("images/button-background-active.png");
+ background-image: url("/web-app-theme/themes/activo/images/button-background-active.png");
outline: none;
}
@@ -316,7 +316,7 @@ hr {
a.button, button.button {
background-color: #f4f4f4;
- background-image: url("images/button-background.png");
+ background-image: url("/web-app-theme/themes/activo/images/button-background.png");
border: 1px solid #c3c4ba;
font-family: helvetica, arial, sans-serif;
font-weight: normal;
@@ -338,7 +338,7 @@ a.button:hover, button.button:hover {
a.button:active, button.button:active {
outline: none;
background-color: #ddd;
- background-image: url("images/button-background-active.png");
+ background-image: url("/web-app-theme/themes/activo/images/button-background-active.png");
}
/* flash-messages */
View
2 app/assets/stylesheets/web-app-theme/themes/bec-green/style.css
@@ -204,7 +204,7 @@ input.checkbox {
display: block;
width: 12px;
height: 12px;
- background: transparent url('images/tick.png') center no-repeat;
+ background: transparent url('/web-app-theme/themes/bec-green/images/tick.png') center no-repeat;
text-indent: -9999px;
-moz-outline: none;
}
View
2 app/assets/stylesheets/web-app-theme/themes/bec/style.css
@@ -210,7 +210,7 @@ input.checkbox {
display: block;
width: 12px;
height: 12px;
- background: transparent url('images/tick.png') center no-repeat;
+ background: transparent url('/web-app-theme/themes/bec/images/tick.png') center no-repeat;
text-indent: -9999px;
-moz-outline: none;
}
View
34 app/assets/stylesheets/web-app-theme/themes/default/style.css
@@ -1,31 +1,31 @@
/* Activo 2 by David Francisco (activo.dmfranc.com) - tiny version for web-app-theme */
@font-face {
font-family: "MuseoSans500";
- src: url("fonts/museosans_500-webfont.eot");
- src: local(""), url("fonts/museosans_500-webfont.woff") format("woff"), url("fonts/museosans_500-webfont.ttf") format("truetype"), url("fonts/museosans_500-webfont.svg#webfontxgyHgdAL") format("svg");
+ src: url("/web-app-theme/themes/default/fonts/museosans_500-webfont.eot");
+ src: local(""), url("/web-app-theme/themes/default/fonts/museosans_500-webfont.woff") format("woff"), url("/web-app-theme/themes/default/fonts/museosans_500-webfont.ttf") format("truetype"), url("/web-app-theme/themes/default/fonts/museosans_500-webfont.svg#webfontxgyHgdAL") format("svg");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "MuseoSans500Italic";
- src: url("fonts/museosans_500_italic-webfont.eot");
- src: local(""), url("fonts/museosans_500_italic-webfont.woff") format("woff"), url("fonts/museosans_500_italic-webfont.ttf") format("truetype"), url("fonts/museosans_500_italic-webfont.svg#webfonteCRZCYEf") format("svg");
+ src: url("/web-app-theme/themes/default/fonts/museosans_500_italic-webfont.eot");
+ src: local(""), url("/web-app-theme/themes/default/fonts/museosans_500_italic-webfont.woff") format("woff"), url("/web-app-theme/themes/default/fonts/museosans_500_italic-webfont.ttf") format("truetype"), url("/web-app-theme/themes/default/fonts/museosans_500_italic-webfont.svg#webfonteCRZCYEf") format("svg");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Museo700";
- src: url("fonts/museo700-regular-webfont.eot");
- src: local(""), url("fonts/museo700-regular-webfont.woff") format("woff"), url("fonts/museo700-regular-webfont.ttf") format("truetype"), url("fonts/museo700-regular-webfont.svg#webfontOC5Ke5xr") format("svg");
+ src: url("/web-app-theme/themes/default/fonts/museo700-regular-webfont.eot");
+ src: local(""), url("/web-app-theme/themes/default/fonts/museo700-regular-webfont.woff") format("woff"), url("/web-app-theme/themes/default/fonts/museo700-regular-webfont.ttf") format("truetype"), url("/web-app-theme/themes/default/fonts/museo700-regular-webfont.svg#webfontOC5Ke5xr") format("svg");
font-weight: normal;
font-style: normal;
}
body {
color: #111111;
- background: #c4c4c4 url("images/bgd.jpg");
+ background: #c4c4c4 url("/web-app-theme/themes/default/images/bgd.jpg");
font-family: "MuseoSans500", helvetica, arial, sans-serif;
}
@@ -125,7 +125,7 @@ hr {
}
.secondary-navigation {
- background: #e0e0e0 url("images/boxbar-background.png") top;
+ background: #e0e0e0 url("/web-app-theme/themes/default/images/boxbar-background.png") top;
border-bottom-width: 0px;
-moz-border-radius-topleft: 6px;
-webkit-border-top-left-radius: 6px;
@@ -239,7 +239,7 @@ hr {
#sidebar ul li {
background-position: 0 11px;
background-repeat: no-repeat;
- background-image: url("images/arrow.png");
+ background-image: url("/web-app-theme/themes/default/images/arrow.png");
border-bottom: 1px dashed #777777;
list-style-type: none;
}
@@ -268,7 +268,7 @@ hr {
min-width: 15px;
text-align: center;
background: #dddddd;
- background-image: url("images/button-background.png");
+ background-image: url("/web-app-theme/themes/default/images/button-background.png");
color: #111111;
}
.pagination a:hover {
@@ -284,7 +284,7 @@ hr {
}
.pagination a:active {
- background-image: url("images/button-background-active.png");
+ background-image: url("/web-app-theme/themes/default/images/button-background-active.png");
outline: none;
}
@@ -357,17 +357,17 @@ hr {
}
.flash .error, .flash .error-list {
border: 1px solid #993624;
- background: #cc4831 url("images/messages/error.png") no-repeat 10px center;
+ background: #cc4831 url("/web-app-theme/themes/default/images/messages/error.png") no-repeat 10px center;
}
.flash .warning {
border: 1px solid #bb9004;
- background: #f9c006 url("images/messages/warning.png") no-repeat 10px center;
+ background: #f9c006 url("/web-app-theme/themes/default/images/messages/warning.png") no-repeat 10px center;
}
.flash .notice {
color: #28485e;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
border: 1px solid #8a9daa;
- background: #b8d1e2 url("images/messages/notice.png") no-repeat 10px center;
+ background: #b8d1e2 url("/web-app-theme/themes/default/images/messages/notice.png") no-repeat 10px center;
}
.flash .error-list {
text-align: left;
@@ -421,7 +421,7 @@ ul.list li .item .avatar {
}
a.button, button.button {
- background: #edeeed url("images/button-background.png") top;
+ background: #edeeed url("/web-app-theme/themes/default/images/button-background.png") top;
border: 1px solid #c3c4ba;
font-family: "MuseoSans500", helvetica, arial, sans-serif;
font-weight: normal;
@@ -434,11 +434,11 @@ a.button, button.button {
}
a.button:link, a.button:visited, a.button:hover, a.button:active, button.button:link, button.button:visited, button.button:hover, button.button:active {
font-weight: normal;
- background: #edeeed url("images/button-background.png") top;
+ background: #edeeed url("/web-app-theme/themes/default/images/button-background.png") top;
}
a.button:active, button.button:active {
- background: #eaeaea url("images/button-background-active.png") top;
+ background: #eaeaea url("/web-app-theme/themes/default/images/button-background-active.png") top;
outline: none;
margin-top: 1px;
margin-bottom: -1px;
View
2 app/assets/stylesheets/web-app-theme/themes/warehouse/style.css
@@ -287,7 +287,7 @@ input.checkbox {
display: block;
width: 12px;
height: 12px;
- background: transparent url('images/tick.png') center no-repeat;
+ background: transparent url('/web-app-theme/themes/warehouse/images/tick.png') center no-repeat;
text-indent: -9999px;
-moz-outline: none;
}

0 comments on commit 8a51f63

Please sign in to comment.
Something went wrong with that request. Please try again.