VolkerE has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/383051 )
Change subject: Fix several minor styling issues
......................................................................
Fix several minor styling issues
Fixing
- whitespaces in LESS background mixins
- remained non Style Guide color `#252525` by aligning
- one wrong-typed border-color to palette one `#c8ccd1`
Change-Id: I89fa629855ca44dff0af77c6098ca1b1cdedfacd
---
M modules/tools/styles/ext.cx.tools.mt.card.less
M modules/tools/styles/ext.cx.tools.template.card.less
M modules/tools/styles/ext.cx.tools.template.editor.less
M modules/tools/styles/ext.cx.tools.template.less
4 files changed, 12 insertions(+), 12 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation
refs/changes/51/383051/1
diff --git a/modules/tools/styles/ext.cx.tools.mt.card.less
b/modules/tools/styles/ext.cx.tools.mt.card.less
index 76c31e5..c0ea3cf 100644
--- a/modules/tools/styles/ext.cx.tools.mt.card.less
+++ b/modules/tools/styles/ext.cx.tools.mt.card.less
@@ -10,7 +10,7 @@
color: @gray-dark;
&:after {
- .background-image-svg( '../images/dropdown.svg',
'../images/dropdown.png');
+ .background-image-svg( '../images/dropdown.svg',
'../images/dropdown.png' );
content: '';
display: inline-block;
width: 20px;
@@ -40,7 +40,7 @@
padding: 10px 20px;
&.selected {
- .background-image-svg( '../images/tick.svg',
'../images/tick.png');
+ .background-image-svg( '../images/tick.svg',
'../images/tick.png' );
background-repeat: no-repeat;
background-position: right 4px center;
}
@@ -110,13 +110,13 @@
}
.cx-mt-set-default {
- .background-image-svg( '../images/tick.svg',
'../images/tick.png' );
+ .background-image-svg( '../images/tick.svg',
'../images/tick.png' );
background-repeat: no-repeat;
background-position: left 4px center;
}
.cx-restore-translation {
- .background-image-svg(
'../images/arched-arrow-ltr.svg', '../images/arched-arrow-ltr.png');
+ .background-image-svg(
'../images/arched-arrow-ltr.svg', '../images/arched-arrow-ltr.png' );
border: 0;
float: none;
}
diff --git a/modules/tools/styles/ext.cx.tools.template.card.less
b/modules/tools/styles/ext.cx.tools.template.card.less
index ec2d423..6d17a1c 100644
--- a/modules/tools/styles/ext.cx.tools.template.card.less
+++ b/modules/tools/styles/ext.cx.tools.template.card.less
@@ -21,7 +21,7 @@
padding: 10px 20px;
&.selected {
- .background-image-svg( '../images/tick.svg',
'../images/tick.png');
+ .background-image-svg( '../images/tick.svg',
'../images/tick.png' );
background-repeat: no-repeat;
background-position: right 4px center;
}
@@ -76,10 +76,10 @@
padding: 5px 10px 10px;
cursor: pointer;
color: #54595d;
- border-top: 1px solid #c8c9d1;
+ border-top: 1px solid #c8ccd1;
&:after {
- .background-image-svg( '../images/dropdown.svg',
'../images/dropdown.png');
+ .background-image-svg( '../images/dropdown.svg',
'../images/dropdown.png' );
content: '';
display: inline-block;
width: 20px;
@@ -110,7 +110,7 @@
}
.placeholder.cx-unadaptable-template {
- .background-image-svg( '../images/template-puzzle-unadapted-ltr.svg',
'../images/template-puzzle-unadapted-ltr.png');
+ .background-image-svg( '../images/template-puzzle-unadapted-ltr.svg',
'../images/template-puzzle-unadapted-ltr.png' );
background-repeat: no-repeat;
background-position: top center;
background-size: 48px;
diff --git a/modules/tools/styles/ext.cx.tools.template.editor.less
b/modules/tools/styles/ext.cx.tools.template.editor.less
index 9f23448..9c67f18 100644
--- a/modules/tools/styles/ext.cx.tools.template.editor.less
+++ b/modules/tools/styles/ext.cx.tools.template.editor.less
@@ -23,7 +23,7 @@
height: 24px;
float: right;
cursor: pointer;
- .background-image-svg( '../images/clear.svg', '../images/clear.png');
+ .background-image-svg( '../images/clear.svg', '../images/clear.png' );
background-position: center center;
background-repeat: no-repeat;
background-size: 16px;
@@ -47,7 +47,7 @@
font-weight: bold;
border-bottom: 1px solid #c8ccd1;
padding: 10px 30px;
- .background-image-svg( '../images/template-puzzle-ltr.svg',
'../images/template-puzzle-ltr.png');
+ .background-image-svg( '../images/template-puzzle-ltr.svg',
'../images/template-puzzle-ltr.png' );
background-position: left center;
background-repeat: no-repeat;
background-size: 24px;
@@ -69,7 +69,7 @@
}
.cx-template-editor-param-desc {
- .background-image-svg( '../images/help.svg',
'../images/help.png');
+ .background-image-svg( '../images/help.svg',
'../images/help.png' );
background-position: center;
background-repeat: no-repeat;
background-size: 16px;
diff --git a/modules/tools/styles/ext.cx.tools.template.less
b/modules/tools/styles/ext.cx.tools.template.less
index b3809b9..e2f4189 100644
--- a/modules/tools/styles/ext.cx.tools.template.less
+++ b/modules/tools/styles/ext.cx.tools.template.less
@@ -9,7 +9,7 @@
&.cx-highlight:focus {
background-color: #bdd4ff;
- .background-image-svg( '../images/edit.svg',
'../images/edit.png');
+ .background-image-svg( '../images/edit.svg',
'../images/edit.png' );
background-position: center;
background-repeat: no-repeat;
background-size: 1.5em;
--
To view, visit https://gerrit.wikimedia.org/r/383051
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I89fa629855ca44dff0af77c6098ca1b1cdedfacd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: VolkerE <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits