[yast-commit] r62865 - in /branches/SuSE-Code-11-SP2-Branch/theme: SLE/wizard/installation.qss openSUSE/wizard/installation.qss package/yast2-theme.changes
Author: jsrain Date: Thu Nov 18 10:42:47 2010 New Revision: 62865 URL: http://svn.opensuse.org/viewcvs/yast?rev=62865&view=rev Log: address the button submenu styling. bnc#444400 and bnc#458001 Modified: branches/SuSE-Code-11-SP2-Branch/theme/SLE/wizard/installation.qss branches/SuSE-Code-11-SP2-Branch/theme/openSUSE/wizard/installation.qss branches/SuSE-Code-11-SP2-Branch/theme/package/yast2-theme.changes Modified: branches/SuSE-Code-11-SP2-Branch/theme/SLE/wizard/installation.qss URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/theme/SLE/wizard/installation.qss?rev=62865&r1=62864&r2=62865&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/theme/SLE/wizard/installation.qss (original) +++ branches/SuSE-Code-11-SP2-Branch/theme/SLE/wizard/installation.qss Thu Nov 18 10:42:47 2010 @@ -123,22 +123,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 { @@ -340,10 +327,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 */ @@ -352,18 +342,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-SP2-Branch/theme/openSUSE/wizard/installation.qss URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/theme/openSUSE/wizard/installation.qss?rev=62865&r1=62864&r2=62865&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/theme/openSUSE/wizard/installation.qss (original) +++ branches/SuSE-Code-11-SP2-Branch/theme/openSUSE/wizard/installation.qss Thu Nov 18 10:42:47 2010 @@ -125,14 +125,7 @@ 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; } @@ -333,6 +326,20 @@ } + /* button menus */ + QPushButton QMenu { + border: 1px solid #888; + + } + QPushButton QMenu::item { + background-color: #bebebe; + color: black; + } + + QPushButton QMenu::item:selected { + background-color: #4d8e0d; + color: white; + } #work_area QProgressBar { border: 1px solid #444; Modified: branches/SuSE-Code-11-SP2-Branch/theme/package/yast2-theme.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/theme/package/yast2-theme.changes?rev=62865&r1=62864&r2=62865&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/theme/package/yast2-theme.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/theme/package/yast2-theme.changes Thu Nov 18 10:42:47 2010 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Nov 18 10:39:14 CET 2010 - jsrain@novell.com + +- address the button submenu styling. bnc#444400 and bnc#458001. + +------------------------------------------------------------------- Fri Mar 12 10:08:16 CET 2010 - jsrain@suse.cz - added openvas module icons also for SLE (bnc#587800) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsrain@svn2.opensuse.org