This is a migrated thread and some comments may be shown as answers.

css labels important! as error

3 Answers 15 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Roger
Top achievements
Rank 1
Roger asked on 08 Jan 2014, 06:12 AM

Hi,

I have a 3 css entries based on the following

.m_text_RiskYellow .x-form-field {

         background-color:#E9E976 !important;

}

and Icenium labels the "!important" as an error - "Unexpected end of declaration"

Any way to get around this so the error don't show?

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 08 Jan 2014, 02:05 PM
Hello Roger,

We can't reproduce such a problem in our local tests. Can you share a project which shows the issue at hand?

Regards,
Steve
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
0
Roger
Top achievements
Rank 1
answered on 17 Jan 2014, 01:00 AM
Hi,
attached is the style sheet I added to the app...hope it helps
0
Zdravko
Telerik team
answered on 21 Jan 2014, 11:50 AM
Hi Roger,

Thanks for the file.
I found a few issues in your CSS which are causing errors and warnings and all of them are valid.
You can see them in this demo.

As my colleague already replied, the initial complaint for error is only reproducible if you have semicolon before the !important statement which is not the case in the provided code from your first post.

I hope I've been of assistance.

Regards,
Zdravko
Telerik
You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.
Tags
AppBuilder Windows client
Asked by
Roger
Top achievements
Rank 1
Answers by
Steve
Telerik team
Roger
Top achievements
Rank 1
Zdravko
Telerik team
Share this question
or