OK, I've managed to add this style below :-
I can change the default button appearance and also the appearance when
it is active ( clicked on )
However what is the parameter for changing the button once it's
selected, i.e. once it has input focus from being tabbed onto?
Can anyone help ?
Thanks
Chris
#test_b1 {
font:arial.11;
height:24px;
background-color:rgb(240,240,240);
border-style: inset;
border-top-color: rgb(245,245,245);
border-right-color: rgb(120,120,120);
border-bottom-color: rgb(120,120,120);
border-left-color: rgb(245,245,245);
margin 1px;
}
#test_b1:active {
background-color:rgb(244,244,244);
border-top-color: rgb(120,120,120);
border-right-color: rgb(245,245,245);
border-bottom-color: rgb(245,245,245);
border-left-color: rgb(120,120,120);
}
On 21/11/2022 11:48, Chris Palmer wrote:
> Hello
> I'm adding a CSS style to XbpPushButton()
>
> I want to recreate the default look of the button using a style sheet as
> a starting point, then I can make the changes that I need
>
> Does anyone have a CSS code which would replicate the standard Alaska
> pushbutton ( default, selected and active ? )
>
> Thanks in advance
> Chris