jenkins-bot has submitted this change and it was merged. Change subject: Refactor the css for language selector for message table ......................................................................
Refactor the css for language selector for message table Moved from groupselector to messagetable Also close a div tag properly in SpecialTranslationStash Change-Id: I74256b3741789ef0d98cda9457dd8b487f797af0 --- M resources/css/ext.translate.groupselector.css M resources/css/ext.translate.messagetable.css M resources/css/ext.translate.special.translationstash.css M specials/SpecialTranslationStash.php 4 files changed, 38 insertions(+), 40 deletions(-) Approvals: Nikerabbit: Looks good to me, approved jenkins-bot: Verified diff --git a/resources/css/ext.translate.groupselector.css b/resources/css/ext.translate.groupselector.css index 6f02c0b..914bb70 100644 --- a/resources/css/ext.translate.groupselector.css +++ b/resources/css/ext.translate.groupselector.css @@ -32,35 +32,6 @@ padding-top: 1.25em; } -.ext-translate-language-selector-label { - color: #555555; -} - -.ext-translate-language-selector { - float: right; - text-align: right; - border: medium none; - font-size: 14pt; - font-weight: normal; - line-height: 1.25em; - padding-bottom: 3px; - padding-left: 15px; - padding-top: 1.25em; -} - -/* The triangle shaped down-pointing callout after the language name - * in the target language selector - */ -.ext-translate-language-selector:after { - margin-left: 4px; - border-left: 4px solid transparent; - border-right: 4px solid transparent; - border-top: 4px solid #0645AD; - content: ""; - display: inline-block; - vertical-align: middle; -} - .ext-translate-msggroup-selector span.grouptitle { float: left; padding: 0 6px 0 0; @@ -242,13 +213,6 @@ .ext-translate-msggroup-category.selected { border-bottom: 2px solid #0645AD; -} - -.ext-translate-language-selector .uls { - color: #0645AD; - cursor: pointer; - min-height: 1px; - position: relative; } .ext-translate-msggroup-selector-menu .tux-loading-indicator { diff --git a/resources/css/ext.translate.messagetable.css b/resources/css/ext.translate.messagetable.css index f6971b1..8d888ef 100644 --- a/resources/css/ext.translate.messagetable.css +++ b/resources/css/ext.translate.messagetable.css @@ -344,3 +344,40 @@ cursor: pointer; margin: 0 10px; } + + +.ext-translate-language-selector-label { + color: #555555; +} + +.ext-translate-language-selector { + float: right; + text-align: right; + border: medium none; + font-size: 14pt; + font-weight: normal; + line-height: 1.25em; + padding-bottom: 3px; + padding-left: 15px; + padding-top: 1.25em; +} + +/* The triangle shaped down-pointing callout after the language name + * in the target language selector + */ +.ext-translate-language-selector:after { + margin-left: 4px; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #0645AD; + content: ""; + display: inline-block; + vertical-align: middle; +} + +.ext-translate-language-selector .uls { + color: #0645AD; + cursor: pointer; + min-height: 1px; + position: relative; +} \ No newline at end of file diff --git a/resources/css/ext.translate.special.translationstash.css b/resources/css/ext.translate.special.translationstash.css index 2b4e7a8..394549c 100644 --- a/resources/css/ext.translate.special.translationstash.css +++ b/resources/css/ext.translate.special.translationstash.css @@ -36,9 +36,6 @@ text-align: right; } -.ext-translate-language-selector .uls { - cursor: pointer; -} /* The triangle shaped down-pointing callout after the language name * in the target language selector diff --git a/specials/SpecialTranslationStash.php b/specials/SpecialTranslationStash.php index fbec3e7..cbad94a 100644 --- a/specials/SpecialTranslationStash.php +++ b/specials/SpecialTranslationStash.php @@ -47,7 +47,7 @@ <div class="six columns stash-stats"> {$this->msg( 'translate-translationstash-initialtranslation' )->parse()} </div> - <div class="six columns ext-translate-language-selector right" + <div class="six columns ext-translate-language-selector right"> {$this->tuxLanguageSelector()} </div> </div> -- To view, visit https://gerrit.wikimedia.org/r/88409 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I74256b3741789ef0d98cda9457dd8b487f797af0 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> Gerrit-Reviewer: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits