Lucas Werkmeister (WMDE) has uploaded a new change for review. (
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(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseQualityConstraints
refs/changes/34/392034/1
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: newchange
Gerrit-Change-Id: I6c0731681027aafd279f0803ec6e7f14163caf80
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits