From d7945fee51b4eaed8b2843c365cdee69e232a818 Mon Sep 17 00:00:00 2001 From: marian Date: Wed, 8 Feb 2012 09:43:28 +0000 Subject: [PATCH] Changed stylesheet, border radius and combo drop down background. git-svn-id: http://yate.null.ro/svn/yate/trunk@4852 acf43c95-373e-0410-b603-e72c3f656dc1 --- share/skins/default/stylesheet.css | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/share/skins/default/stylesheet.css b/share/skins/default/stylesheet.css index c678c205..acdf8f72 100644 --- a/share/skins/default/stylesheet.css +++ b/share/skins/default/stylesheet.css @@ -25,7 +25,7 @@ QLabel { QLineEdit { border: 1px solid #717fa0; - border-radius: 4px; + border-radius: 2px; background-color: #ffffff; } @@ -46,7 +46,7 @@ QTextBrowser { QToolButton { border: 1px solid #717fa0; - border-radius: 4px; + border-radius: 2px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f6e8e8); } QToolButton:hover { @@ -68,7 +68,7 @@ QToolButton::menu-indicator { QPushButton { border: 1px solid #717fa0; - border-radius: 4px; + border-radius: 2px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f6e8e8); } QPushButton:hover { @@ -117,9 +117,10 @@ QGroupBox::indicator:unchecked { image: url(checkbox_off.png); } QComboBox { border: 1px solid #717fa0; - border-radius: 4px; + border-radius: 2px; font-size: 12px; color:#333333; + background: #ffffff; } QComboBox::down-arrow { image: url(cb_arrow.png); } QComboBox::down-arrow:on { top: 1px; left: 1px; } @@ -132,10 +133,18 @@ QComboBox:editable { padding-right: 24px; } QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; width: 22px; border-left: 1px solid #717fa0; + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f9efef); +} +QComboBox::drop-down:on { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f9efef, stop: 1 #ffffff); +} +QComboBox::drop-down:hover { + background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f9f3f3); } - QComboBox QAbstractItemView { border: 1px solid #717fa0; background: #ffffff; @@ -158,8 +167,6 @@ QTabBar::tab { padding: 1px 1px 1px 1px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffffff, stop: 1 #f6e8e8); border: 1px solid #717fa0; - border-top-left-radius: 4px; - border-top-right-radius: 4px; min-height: 3ex; } QTabBar::tab:hover { @@ -169,8 +176,6 @@ QTabBar::tab:selected { border-bottom-color: #ffffff; padding-top: 0px; border-top: 4px solid #73a9e1; - border-top-left-radius: 4px; - border-top-right-radius: 4px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #f9efef, stop: 1 #ffffff); } QTabBar::tab:!selected {