Author: jimmacfx Date: Wed Dec 2 19:32:05 2009 New Revision: 59915 URL: http://svn.opensuse.org/viewcvs/yast?rev=59915&view=rev Log: address button menu styling. bnc#444400 Modified: branches/SuSE-Code-11-Branch/theme/SLE/wizard/installation.qss branches/SuSE-Code-11-Branch/theme/package/yast2-theme.changes Modified: branches/SuSE-Code-11-Branch/theme/SLE/wizard/installation.qss URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/theme/SLE/wizard/installation.qss?rev=59915&r1=59914&r2=59915&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/theme/SLE/wizard/installation.qss (original) +++ branches/SuSE-Code-11-Branch/theme/SLE/wizard/installation.qss Wed Dec 2 19:32:05 2009 @@ -128,22 +128,9 @@ border-radius: 3px; } -QMenu::item:selected { - background-color: white; - color: black; -} - -.ymenubutton { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, - stop: 0 #a5a5a5, stop: 0.8 #4d4d4d, stop: 1 #545454); -} YQProgressBar > YQWidgetCaption { margin-top: 20px; } -QPushButton::menu-indicator { - subcontrol-origin: margin; - left: -7px; - subcontrol-position: right; -} /* YQMultiProgressMeter::chunk { @@ -346,10 +333,13 @@ } /* odd dropdown button widget */ - #work_area QPushButton::menu-indicator { + #work_area QPushButton::menu-indicator, + #work_area QPushButton::menu-indicator:pressed, + QPushButton::menu-indicator:open { subcontrol-origin: margin; left: -7px; subcontrol-position: right; + image: url(arr_down.png); } #work_area QPushButton:open { /* when the button has its menu open */ @@ -358,18 +348,20 @@ border: 1px solid #dddddd; } - #work_area QPushButton::menu-indicator { - image: url(arr_down.png); - /* - subcontrol-origin: padding; - subcontrol-position: bottom right; - */ - } + /* button menus */ + QPushButton QMenu { + border: 1px solid #888; + + } + QPushButton QMenu::item { + background-color: #bebebe; + color: black; + } - #work_area QPushButton::menu-indicator:pressed, QPushButton::menu-indicator:open { - position: relative; - top: 1px; left: 1px; /* shift the arrow by 1 px */ - } + QPushButton QMenu::item:selected { + background-color: #4d8e0d; + color: white; + } Modified: branches/SuSE-Code-11-Branch/theme/package/yast2-theme.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/theme/package/yast2-theme.changes?rev=59915&r1=59914&r2=59915&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/theme/package/yast2-theme.changes (original) +++ branches/SuSE-Code-11-Branch/theme/package/yast2-theme.changes Wed Dec 2 19:32:05 2009 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Wed Dec 2 19:31:45 CET 2009 - jimmac@novell.com + +- fix for bnc#444400 from trunk + +------------------------------------------------------------------- Wed Nov 4 13:45:23 CET 2009 - jimmac@novell.com - fixes to the focus state of the widgets and checkboxes take from trunk. bnc#445418, bnc#471861 -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org