witten
/
luminotes
Archived
1
0
Fork 0

Re-adding the toolbar image preloading to the front page.

This commit is contained in:
Dan Helfman 2008-03-05 06:06:10 +00:00
parent 192d043e29
commit ea3d11f11f
3 changed files with 64 additions and 55 deletions

View File

@ -1,57 +1,3 @@
#new_note_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/new_note_button.png);
}
#link_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/link_button.png);
}
#attach_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/attach_button.png);
}
#bold_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/bold_button.png);
}
#italic_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/italic_button.png);
}
#underline_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/underline_button.png);
}
#title_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/title_button.png);
}
#bullet_list_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/bullet_list_button.png);
}
#numbered_list_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/numbered_list_button.png);
}
body {
padding: 1em;
line-height: 140%;

View File

@ -1,3 +1,57 @@
#new_note_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/new_note_button.png);
}
#link_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/link_button.png);
}
#attach_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/attach_button.png);
}
#bold_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/bold_button.png);
}
#italic_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/italic_button.png);
}
#underline_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/underline_button.png);
}
#title_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/title_button.png);
}
#bullet_list_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/bullet_list_button.png);
}
#numbered_list_button_preload {
height: 0;
overflow: hidden;
background-image: url(/static/images/numbered_list_button.png);
}
.header {
background-color: #b0d0ff;
height: 60px;

View File

@ -248,7 +248,16 @@ class Product_page( Page ):
),
class_ = u"center_area",
),
P(),
P(
Span( id = u"new_note_button_preload" ),
Span( id = u"link_button_preload" ),
Span( id = u"bold_button_preload" ),
Span( id = u"italic_button_preload" ),
Span( id = u"underline_button_preload" ),
Span( id = u"title_button_preload" ),
Span( id = u"bullet_list_button_preload" ),
Span( id = u"numbered_list_button_preload" ),
),
Div(
Div(