You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by su...@apache.org on 2011/12/09 10:51:53 UTC

svn commit: r1212309 - /incubator/stanbol/trunk/commons/web/home/src/main/resources/org/apache/stanbol/commons/web/home/static/style/stanbol.css

Author: suat
Date: Fri Dec  9 09:51:53 2011
New Revision: 1212309

URL: http://svn.apache.org/viewvc?rev=1212309&view=rev
Log:
STANBOL-415:
-Paths to resources in stanbol.css has been changed. Now, resources are being accessed with relative paths from css file itself.

Modified:
    incubator/stanbol/trunk/commons/web/home/src/main/resources/org/apache/stanbol/commons/web/home/static/style/stanbol.css

Modified: incubator/stanbol/trunk/commons/web/home/src/main/resources/org/apache/stanbol/commons/web/home/static/style/stanbol.css
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/commons/web/home/src/main/resources/org/apache/stanbol/commons/web/home/static/style/stanbol.css?rev=1212309&r1=1212308&r2=1212309&view=diff
==============================================================================
--- incubator/stanbol/trunk/commons/web/home/src/main/resources/org/apache/stanbol/commons/web/home/static/style/stanbol.css (original)
+++ incubator/stanbol/trunk/commons/web/home/src/main/resources/org/apache/stanbol/commons/web/home/static/style/stanbol.css Fri Dec  9 09:51:53 2011
@@ -14,6 +14,11 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
+
+/*
+* Throughout this css, relative paths to resources are used to be able to fetch them from
+* correct location when Stanbol has a different alias for its root URL.  
+*/
 body {
   font: normal 13px/20px Arial,Helvetica,sans-serif;
   padding: 0;
@@ -71,7 +76,7 @@ form  {
 
 .header {
   padding: 0.5em 1em;
-  background: #4c4c4c url("/static/home/images/header_bg.png") repeat-x top left;  
+  background: #4c4c4c url("../images/header_bg.png") repeat-x top left;  
   border-bottom: 1px solid black;
 }
 
@@ -267,11 +272,11 @@ table {
 .entitylisting table {
   border: 1px solid #eee;
   border-radius: 8px;
-  background: url("/static/home/images/foldable_unfolded.png") no-repeat scroll right 17px transparent;
+  background: url("../images/foldable_unfolded.png") no-repeat scroll right 17px transparent;
 }
 
 .entitylisting table.collapsed {
-  background: url("/static/home/images/foldable_folded.png") no-repeat scroll right center transparent;
+  background: url("../images/foldable_folded.png") no-repeat scroll right center transparent;
   }
 
 .entitylisting .subheader {
@@ -342,27 +347,27 @@ table {
   }
 
 li.older a {
-  background: url("/static/home/images/next.png") no-repeat scroll right center transparent;
+  background: url("../images/next.png") no-repeat scroll right center transparent;
   padding: 0 12px 0 0;
   }
   
 li.moreRecent a {
-  background: url("/static/home/images/previous.png") no-repeat scroll left center transparent;
+  background: url("../images/previous.png") no-repeat scroll left center transparent;
   padding: 0 0 0 13px;
   }
 
 .download {
-  background: url("/static/home/images/download.png") no-repeat scroll left center transparent;
+  background: url("../images/download.png") no-repeat scroll left center transparent;
   padding: 0 0 2px 20px;
   }
 
 .downloadRDF {
-  background: url("/static/home/images/download_rdf.png") no-repeat scroll left center transparent;
+  background: url("../images/download_rdf.png") no-repeat scroll left center transparent;
   padding: 0 0 2px 20px;
   }
 
 .external {
-  background: url("/static/home/images/external.png") no-repeat scroll right center transparent;
+  background: url("../images/external.png") no-repeat scroll right center transparent;
   padding: 0 18px 0 0;
   }
   
@@ -385,11 +390,11 @@ li.moreRecent a {
 .enginelisting .collapseheader {
   margin: 0.1em;
   cursor: pointer;
-  background: url("/static/home/images/foldable_unfolded.png") no-repeat scroll right center transparent;
+  background: url("../images/foldable_unfolded.png") no-repeat scroll right center transparent;
 }
 
 .enginelisting .collapsed .collapseheader {
-  background: url("/static/home/images/foldable_folded.png") no-repeat scroll right center transparent;
+  background: url("../images/foldable_folded.png") no-repeat scroll right center transparent;
 }
 
 .enginelisting ul {
@@ -403,7 +408,7 @@ li.moreRecent a {
 .enginelisting li {
   list-style: none;
   padding-left: 20px; 
-  background: transparent url(/static/home/images/black_gear_16.png) no-repeat scroll 0% 50%;
+  background: transparent url(../images/black_gear_16.png) no-repeat scroll 0% 50%;
 }
 
 #enginesInput .submitButtons {