From fa52470a77272865a5a4b326eac295637e83af45 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Sun, 14 Feb 2010 20:24:31 +0000 Subject: [PATCH] Prettier toolbuttons --- data/mainwindow.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/data/mainwindow.css b/data/mainwindow.css index 84b8f7bf2..649d618d3 100644 --- a/data/mainwindow.css +++ b/data/mainwindow.css @@ -9,6 +9,7 @@ QToolButton { border: none; + padding: 2px; } QToolButton::menu-button { @@ -19,3 +20,17 @@ QToolButton::menu-button { QToolButton[popupMode="1"] { padding-right: 16px; } + +QToolButton:hover { + border: 2px solid #fec798; + background-color: #fedbbd; + border-radius: 3px; + padding: 1px; +} + +QToolButton:pressed { + border: 2px solid #fe963e; + background-color: #fedbbd; + border-radius: 3px; + padding: 1px; +}