Author: jimmacfx Date: Wed Nov 4 13:43:25 2009 New Revision: 59286 URL: http://svn.opensuse.org/viewcvs/yast?rev=59286&view=rev Log: focused states for some widgets, checkbox styling from trunk. Added: branches/SuSE-Code-11-Branch/theme/SLE/wizard/checkbox-off.png branches/SuSE-Code-11-Branch/theme/SLE/wizard/checkbox-on.png Modified: branches/SuSE-Code-11-Branch/theme/SLE/wizard/installation.qss Added: branches/SuSE-Code-11-Branch/theme/SLE/wizard/checkbox-off.png URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/theme/SLE/... ============================================================================== Files branches/SuSE-Code-11-Branch/theme/SLE/wizard/checkbox-off.png (added) and branches/SuSE-Code-11-Branch/theme/SLE/wizard/checkbox-off.png Wed Nov 4 13:43:25 2009 differ Added: branches/SuSE-Code-11-Branch/theme/SLE/wizard/checkbox-on.png URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/theme/SLE/... ============================================================================== Files branches/SuSE-Code-11-Branch/theme/SLE/wizard/checkbox-on.png (added) and branches/SuSE-Code-11-Branch/theme/SLE/wizard/checkbox-on.png Wed Nov 4 13:43:25 2009 differ 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/... ============================================================================== --- branches/SuSE-Code-11-Branch/theme/SLE/wizard/installation.qss (original) +++ branches/SuSE-Code-11-Branch/theme/SLE/wizard/installation.qss Wed Nov 4 13:43:25 2009 @@ -90,8 +90,13 @@ .Contents QListWidget { color: black; } */ .Contents QCheckBox::indicator:checked { - image: url(plastique-checkbox.png); - padding-right: 2px; + image: url(checkbox-on.png); + } + .Contents QCheckBox::indicator:unchecked { + image: url(checkbox-off.png); + } + .Contents QCheckBox::indicator:disabled { + opacity: 0.5; } .Contents QRadioButton::indicator:checked { image: url(plastique-radiobutton.png); @@ -151,13 +156,6 @@ */ -/* - -FIXME: If QComboBox is styled, label gets clipped - the only workaround is to keep it unstyled :/ - see bug #448139 - - QComboBox { border: 1px solid #999999; border-radius: 4px; @@ -166,9 +164,12 @@ padding: 4px 12px; color: #111111; padding: 2px 24px 2px 4px; - min-width: 6em; + /* min-width: 6em; */ } -*/ + + QComboBox:focus { + border: 2px solid #173c10; + } QComboBox:editable { background: white; @@ -309,6 +310,11 @@ font-weight: bold; } + #work_area QPushButton:focus, #work_area QPushButton:focus:default { + outline: none; + border: 2px solid #173c10; + } + #work_area QPushButton:disabled, #work_area QPushButton:default:disabled { color: rgba(255,255,255,80); @@ -329,7 +335,7 @@ } #work_area QPushButton:default { - border: 2px solid #173c10; + border: 1px solid #173c10; color: white; background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #7da58f, stop: 0.8 #0a5327, stop: 1 #0d6c1f); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org