Problem on CSS with nested elements

10 views
Skip to first unread message

nelli...@gmail.com

unread,
Sep 13, 2017, 8:59:37 AM9/13/17
to SonarQube
Hi,
I have di part of CSS:

1@media (min-width: 768px) {
2   #page-header .logo {
3 max-height: 76px;
4   }
5   #page-header h1 {
6 font-size: 2.3em;
7     margin-top: 30px;
8   }
9   #page-header hr {
10 margin: 0;
11 }
12 #login-form {
13 border-radius: 30px;
14   padding: 30px 40px 40px;
15   max-width: 420px;
16 }
17
18 /* LINK E BUTTON */
19 a:focus,
20    .btn:focus {
21 outline: 2px solid #ff8c00 !important;
22 outline-offset: 1px;
23 }
24 .navbar-nav > li > a:focus,
25 #menu-left > li > a:focus {
26 outline-offset: -2px;
27 }
28 .panel-collapsible > .panel-heading > a:focus,
29 .pagination > li > a:focus {
30 outline-offset: -1px;
31 }
32}

SonarQube give me this violation on line 19:
 - Unknown properties should be removed

because it interprets "a" as a property and therefore is not known, but is an element of the @media element.

In general, it seems to me that in analyzing nested elements the scanner becomes confused

Could you check this situation?


G. Ann Campbell

unread,
Sep 13, 2017, 10:42:30 AM9/13/17
to SonarQube
Hi,

The owner of the CSS plugin withdrew the plugin and withdrew himself from the community. You're not likely to get a response on this other than mine.


Ann

nelli...@gmail.com

unread,
Sep 13, 2017, 12:55:52 PM9/13/17
to SonarQube
The owner of the plugin fixed the bug on the new snapshot version that I have tested and work well.


Thank you

G. Ann Campbell

unread,
Sep 14, 2017, 2:52:10 AM9/14/17
to nelli...@gmail.com, SonarQube
Hi,

My apologies. I misremembered who the maintainer is.


Ann



---
G. Ann Campbell | SonarSource
Product Manager
@GAnnCampbell

--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/GqUd5qiWKmA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/85dc6537-5961-4dc5-995e-aeb5de5100ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages