Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Styling CTabItem
Styling CTabItem [message #131759] Thu, 07 May 2009 17:12 Go to next message
Eclipse UserFriend
Originally posted by: markus.wolf.nmmn.com

Hi,

we try to style the CTabItems we use. We want to have a behaviour where
the focus is notable on the tab with the keyboard focus.

We tried it with the style below but it does not work, can anyone give
us a hint on this?

CTabItem:selected {
color: white;
background-color: #c0c0c0;
}
CTabItem:selected:unfocused {
background-color: blue;
}

Thanks
Markus Wolf
--
NMMN - New Media Markets & Networks GmbH
Langbehnstrasse 6, 22761 Hamburg
Geschäftsführung: Kfm. Michael Schütt
Finanzamt HH-Altona - UStID DE 812 699 852 - HRB 71102 Hamburg
HypoVereinsbank - BLZ 200 300 00 - Konto-Nr. 156 29 82

http://www.nmmn.com
Tel.: +49 40 284 118-0 - Fax: +49 40 284118-999
Softwareentwicklung LLynch: -720
Re: Styling CTabItem [message #131766 is a reply to message #131759] Thu, 07 May 2009 17:32 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Markus,

CTabItem:selected should work. Unfortunately there is no "unfocused" state available for CTabItem. Feel free to file an enhancement if you need such a state.

Best,
Ivan


Markus Wolf wrote:
> Hi,
>
> we try to style the CTabItems we use. We want to have a behaviour where
> the focus is notable on the tab with the keyboard focus.
>
> We tried it with the style below but it does not work, can anyone give
> us a hint on this?
>
> CTabItem:selected {
> color: white;
> background-color: #c0c0c0;
> }
> CTabItem:selected:unfocused {
> background-color: blue;
> }
>
> Thanks
> Markus Wolf
>
Previous Topic:Small talk about RAP and using a persistence layer (e.g. Hibernate)
Next Topic:10 new Google Visualization widgets for RAP
Goto Forum:
  


Current Time: Tue Dec 07 00:59:16 GMT 2021

Powered by FUDForum. Page generated in 0.02399 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top