diff --git a/tests/interactive/inline-style.js b/tests/interactive/inline-style.js index fa23b1f70..e06082cab 100644 --- a/tests/interactive/inline-style.js +++ b/tests/interactive/inline-style.js @@ -27,14 +27,14 @@ update_size(); let button; -button = new St.Button ({ label: 'Smaller' }); +button = new St.Button ({ label: 'Smaller', style_class: 'push-button' }); hbox.add (button); button.connect('clicked', function() { size /= 1.2; update_size (); }); -button = new St.Button ({ label: 'Bigger' }); +button = new St.Button ({ label: 'Bigger', style_class: 'push-button' }); hbox.add (button); button.connect('clicked', function() { size *= 1.2; diff --git a/tests/testcommon/test.css b/tests/testcommon/test.css index 36e1b21fd..d1005eeb3 100644 --- a/tests/testcommon/test.css +++ b/tests/testcommon/test.css @@ -37,17 +37,17 @@ stage { border-image: url('border-image.png') 16; } -StButton { +.push-button { background: #eeddbb; border: 1px solid black; border-radius: 8px; padding: 5px; } -StButton:hover { +.push-button:hover { background: #ffeecc; } -StButton:active { +.push-button:active { background: #ccbb99; }