witten
/
luminotes
Archived
1
0
Fork 0

Pressing a button now no longer makes the toolbar shift by a few pixels to the side.

This commit is contained in:
Dan Helfman 2007-09-28 19:19:57 +00:00
parent 781683cc6f
commit 092614911b
2 changed files with 8 additions and 4 deletions

View File

@ -56,8 +56,9 @@ ol li {
} }
#toolbar .button { #toolbar .button {
border-style: outset; border-color: #d0e0f0;
border-width: 0px; border-style: solid;
border-width: 2px;
background-color: #d0e0f0; background-color: #d0e0f0;
height: 2em; height: 2em;
width: 2em; width: 2em;
@ -75,20 +76,23 @@ ol li {
} }
#toolbar .button:hover { #toolbar .button:hover {
border-color: #ffcc66;
background-color: #ffcc66; background-color: #ffcc66;
} }
#toolbar .button_down { #toolbar .button_down {
border-color: #c0d0e0;
border-style: inset; border-style: inset;
border-width: 2px; border-width: 2px;
background-color: #c0d0e0; background-color: #c0d0e0;
} }
#toolbar .button_down:hover { #toolbar .button_down:hover {
border-color: #ffbb55;
background-color: #ffbb55; background-color: #ffbb55;
} }
.toolbar_link_button { .toolbar_link_text {
font-size: 60%; font-size: 60%;
} }

View File

@ -11,7 +11,7 @@ class Toolbar( Div ):
Div( Div( Div( Div(
Span( Span(
u"link", u"link",
class_ = u"toolbar_text toolbar_link_button", class_ = u"toolbar_text toolbar_link_text",
), ),
id = u"createLink", title = u"link [ctrl-L]", class_ = u"button" id = u"createLink", title = u"link [ctrl-L]", class_ = u"button"
) ), ) ),