jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/392034 )

Change subject: Use parent selector in SpecialConstraintReportPage.less
......................................................................


Use parent selector in SpecialConstraintReportPage.less

I think this makes the rules for notices and statuses more readable.

Change-Id: I6c0731681027aafd279f0803ec6e7f14163caf80
---
M modules/SpecialConstraintReportPage.less
1 file changed, 26 insertions(+), 26 deletions(-)

Approvals:
  jenkins-bot: Verified
  Thiemo Mättig (WMDE): Looks good to me, approved



diff --git a/modules/SpecialConstraintReportPage.less 
b/modules/SpecialConstraintReportPage.less
index 448cfbe..8fbcbcb 100644
--- a/modules/SpecialConstraintReportPage.less
+++ b/modules/SpecialConstraintReportPage.less
@@ -9,45 +9,45 @@
 /* Notices */
 .wbqc-constraintreport-notice {
        font-style: italic;
-}
 
-.wbqc-constraintreport-notice-error {
-       font-weight: bold;
-       color: @colorErrorText;
+       &-error {
+               font-weight: bold;
+               color: @colorErrorText;
+       }
 }
 
 /* Statuses */
 .wbqc-status {
        font-weight: bold;
-}
 
-.wbqc-status-compliance {
-       color: @wmui-color-green50;
-}
+       &-compliance {
+               color: @wmui-color-green50;
+       }
 
-.wbqc-status-exception {
-       color: @wmui-color-green30;
-}
+       &-exception {
+               color: @wmui-color-green30;
+       }
 
-.wbqc-status-violation {
-       color: @colorErrorText;
-}
+       &-violation {
+               color: @colorErrorText;
+       }
 
-.wbqc-status-todo {
-       color: @colorTextLight;
-}
+       &-todo {
+               color: @colorTextLight;
+       }
 
-.wbqc-status-bad-parameters {
-       color: @colorDestructiveActive;
-}
+       &-bad-parameters {
+               color: @colorDestructiveActive;
+       }
 
-.wbqc-status-deprecated,
-.wbqc-status-not-main-snak {
-       color: @colorNeutral;
-}
+       &-deprecated,
+       &-not-main-snak {
+               color: @colorNeutral;
+       }
 
-.wbqc-status-warning {
-       color: @wmui-color-yellow30;
+       &-warning {
+               color: @wmui-color-yellow30;
+       }
 }
 
 /* Tooltip */

-- 
To view, visit https://gerrit.wikimedia.org/r/392034
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6c0731681027aafd279f0803ec6e7f14163caf80
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <lucas.werkmeis...@wikimedia.de>
Gerrit-Reviewer: Lucas Werkmeister (WMDE) <lucas.werkmeis...@wikimedia.de>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <thiemo.kr...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to