[snowy] use relative paths in css instead of hardcoded absolutes
- From: Jeff Schroeder <jschroeder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snowy] use relative paths in css instead of hardcoded absolutes
- Date: Mon, 10 Oct 2011 00:43:27 +0000 (UTC)
commit 564f03b08a31dffb6b2038208cec41ac29b36d8c
Author: Leho Kraav <leho kraav com>
Date: Fri Oct 7 11:20:57 2011 +0300
use relative paths in css instead of hardcoded absolutes
site_media/css/accounts.css | 4 ++--
site_media/css/sidebar.css | 13 ++++++-------
2 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/site_media/css/accounts.css b/site_media/css/accounts.css
index a76933c..21c4d30 100644
--- a/site_media/css/accounts.css
+++ b/site_media/css/accounts.css
@@ -35,14 +35,14 @@
/* username input field */
#login-container #id_username {
- background: url('/site_media/img/accounts/users.png') no-repeat;
+ background: url('../img/accounts/users.png') no-repeat;
background-position: 2%;
padding-left: 3.5em;
}
/* password input field */
#login-container #id_password {
- background: url('/site_media/img/accounts/keyring.png') no-repeat;
+ background: url('../img/accounts/keyring.png') no-repeat;
background-position: 2%;
padding-left: 3.5em;
}
diff --git a/site_media/css/sidebar.css b/site_media/css/sidebar.css
index 05b19f9..1078b68 100644
--- a/site_media/css/sidebar.css
+++ b/site_media/css/sidebar.css
@@ -32,11 +32,10 @@
margin-bottom: 5px;
/*padding: 3px 3px 3px 30px;*/
padding: 3px 3px 3px 3px;
-
border: 1px solid #bababa;
- border-radius: 5px;
+ border-radius: 5px;
/* TODO convert the search bar image to fit in with the white layout */
- /* background: url('/site_media/img/search.png') center left no-repeat; */
+ /* background: url('../img/search.png') center left no-repeat; */
}
#sidebar input#search.dim {
@@ -75,12 +74,12 @@
}
.note-item {
- list-style-image: url('/site_media/img/note_16.png');
+ list-style-image: url('../img/note_16.png');
padding-right: 12px;
}
.note-pinned {
- list-style-image: url('/site_media/img/pin-down_16.png');
+ list-style-image: url('../img/pin-down_16.png');
}
.note-selected {
@@ -107,7 +106,7 @@
}
#new-note {
- list-style-image: url('/site_media/img/note-new_16.png');
+ list-style-image: url('../img/note-new_16.png');
}
#sidebar-notebook-list {
@@ -116,6 +115,6 @@
}
#sidebar-notebook-list .notebook-item {
- list-style-image: url('/site_media/img/notebook_16.png');
+ list-style-image: url('../img/notebook_16.png');
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]