Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » DateTime Calendar Day component theming issue(Failed to set the color for DateTime-Calendar-Day)
DateTime Calendar Day component theming issue [message #908251] Wed, 05 September 2012 02:47 Go to next message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Hi,

I have the following code in the CSS file.

DateTime-Calendar-Navbar {
    border: none;
    border-radius: 0;
    background-color: transparent;
    background-image: gradient(linear, left top, left bottom,
              from( rgb(85, 158, 209) ),
              to( rgb(56, 126, 160) )
          );
    color: rgb(250, 250, 250);
    text-shadow: none;
}

DateTime-DropDownCalendar {
    border: 1px rgb(209, 209, 209);
}

DateTime-Calendar-Day {
    color: red;
    background-color: rgb(250, 250, 250);
    text-shadow: none;
}

DateTime-Calendar-Day:otherMonth {
    color: rgb(200, 200, 200);
}

DateTime-Calendar-Day:hover {
    color: rgb(250, 250, 250);
    background-color: rgb(60, 60, 0);
}

DateTime-Calendar-Day:selected {
    color: rgb(250, 250, 250);
    background-color: rgb(0, 60, 60);
}


This is the result I got:
index.php/fa/11387/0/

Everything works well except the "red" color I set for DateTime-Calendar-Day. Shouldn't all days (digits) in the current month be "red" in color? I don't have issues to set the "otherMonth" day style but interestingly the regular state fails to work.

Did I miss something or if this is a bug?

Thanks,
Ronald
Re: DateTime Calendar Day component theming issue [message #908366 is a reply to message #908251] Wed, 05 September 2012 08:48 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

I just looked into the code. Apparently the color from
DateTime-Calendar-Day is only used when the states selected, otherMonth
or over are set. Otherwise "*" is used to get the color. I don't know
why this is, but i'd say it's a bug. Would you open a bugzilla entry for
this?

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: DateTime Calendar Day component theming issue [message #908649 is a reply to message #908366] Wed, 05 September 2012 18:27 Go to previous message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Thanks. Here you go.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=388870
Previous Topic:Tooltip not displaying correctly in IE8
Next Topic:RAP and fragment
Goto Forum:
  


Current Time: Thu Mar 28 22:17:14 GMT 2024

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

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

Back to the top