From 092614911bd42aae5d7594826667d3c86b5b8885 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 28 Sep 2007 19:19:57 +0000 Subject: [PATCH] Pressing a button now no longer makes the toolbar shift by a few pixels to the side. --- static/css/style.css | 10 +++++++--- view/Toolbar.py | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 253d904..a00f705 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -56,8 +56,9 @@ ol li { } #toolbar .button { - border-style: outset; - border-width: 0px; + border-color: #d0e0f0; + border-style: solid; + border-width: 2px; background-color: #d0e0f0; height: 2em; width: 2em; @@ -75,20 +76,23 @@ ol li { } #toolbar .button:hover { + border-color: #ffcc66; background-color: #ffcc66; } #toolbar .button_down { + border-color: #c0d0e0; border-style: inset; border-width: 2px; background-color: #c0d0e0; } #toolbar .button_down:hover { + border-color: #ffbb55; background-color: #ffbb55; } -.toolbar_link_button { +.toolbar_link_text { font-size: 60%; } diff --git a/view/Toolbar.py b/view/Toolbar.py index 7747e6a..a33ac44 100644 --- a/view/Toolbar.py +++ b/view/Toolbar.py @@ -11,7 +11,7 @@ class Toolbar( Div ): Div( Div( Span( 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" ) ),