Re-adding the toolbar image preloading to the front page.
This commit is contained in:
parent
192d043e29
commit
ea3d11f11f
|
@ -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 {
|
body {
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
line-height: 140%;
|
line-height: 140%;
|
||||||
|
|
|
@ -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 {
|
.header {
|
||||||
background-color: #b0d0ff;
|
background-color: #b0d0ff;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
|
|
@ -248,7 +248,16 @@ class Product_page( Page ):
|
||||||
),
|
),
|
||||||
class_ = u"center_area",
|
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(
|
||||||
Div(
|
Div(
|
||||||
|
|
Reference in New Issue
Block a user