Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to remove inline css of -.rwt-cell-selectable:hover for TextCell?
How to remove inline css of -.rwt-cell-selectable:hover for TextCell? [message #1737877] Wed, 13 July 2016 18:06 Go to next message
zone whua is currently offline zone whuaFriend
Messages: 7
Registered: July 2009
Location: Wuhan China
Junior Member
Hello

I have table markuped and set a cicle border outside text.

col.setLabelProvider(new ColumnLabelProvider() {
@Override
public String getText(Object element) {
return "<div class='tablebutton'>"+"OK" + "</div>";
}
});

in CSS (not rap theme css):
...
.tablebutton{
border: 1px solid #909090;
border-radius: 15px;
background-color:white;
color:#909090;
}

.tablebutton:hover{
background-color:#c7011a;
color:white;
}

It is a round button, red on hover.
but a selectable textcell will diplay a #4a4a4a underline on hover.
it looks very strange

how to remove it?



Re: How to remove inline css of -.rwt-cell-selectable:hover for TextCell? [message #1738449 is a reply to message #1737877] Wed, 20 July 2016 01:50 Go to previous message
zone whua is currently offline zone whuaFriend
Messages: 7
Registered: July 2009
Location: Wuhan China
Junior Member
it's ok.

.rwt-cell-selectable:hover {
text-decoration: none !important;
}
Previous Topic:broken layout caused by PropertySheet
Next Topic:Single Sourced RCP/RAP application howto
Goto Forum:
  


Current Time: Sun Feb 18 03:36:42 GMT 2018

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

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