Robert Vogel has submitted this change and it was merged.

Change subject: Improved styling of FormattingHelp
......................................................................


Improved styling of FormattingHelp

 * Readded differntfont for table content

Change-Id: I47cebc9865f3931b7bb2c8e0a693195716abe4bf
---
M FormattingHelp/FormattingHelp.class.php
M FormattingHelp/resources/BS.FormattingHelp/Window.js
M FormattingHelp/resources/bluespice.formattinghelp.css
3 files changed, 6 insertions(+), 16 deletions(-)

Approvals:
  Robert Vogel: Verified; Looks good to me, approved



diff --git a/FormattingHelp/FormattingHelp.class.php 
b/FormattingHelp/FormattingHelp.class.php
index f03ca13..092fdf0 100644
--- a/FormattingHelp/FormattingHelp.class.php
+++ b/FormattingHelp/FormattingHelp.class.php
@@ -99,7 +99,7 @@
        public static function getFormattingHelp() {
                if ( BsCore::checkAccessAdmission( 'edit' ) === false ) return 
true;
 
-               $sOutput = "<table border='1'>
+               $sOutput = "<table id='bs-formattinghelp-table' 
class='wikitable'>
                        <thead>
                                <tr>
                                        <th></th>
diff --git a/FormattingHelp/resources/BS.FormattingHelp/Window.js 
b/FormattingHelp/resources/BS.FormattingHelp/Window.js
index daf3efa..fd7b9b6 100644
--- a/FormattingHelp/resources/BS.FormattingHelp/Window.js
+++ b/FormattingHelp/resources/BS.FormattingHelp/Window.js
@@ -4,6 +4,8 @@
        closeAction: 'hide',
        singleton: true,
        id: 'bs-formattinghelp-window',
+       height: 600,
+       width: 600,
 
        initComponent: function(){
                this.setTitle( 
mw.message('bs-formattinghelp-formatting').plain() );
diff --git a/FormattingHelp/resources/bluespice.formattinghelp.css 
b/FormattingHelp/resources/bluespice.formattinghelp.css
index 87bec39..b1bf56c 100644
--- a/FormattingHelp/resources/bluespice.formattinghelp.css
+++ b/FormattingHelp/resources/bluespice.formattinghelp.css
@@ -11,24 +11,12 @@
  * @filesource
  */
 
-#bs-formattinghelp-content table {
-       font-family: 'Courier New', monospace;
-       border-collapse: collapse;
-}
-#bs-formattinghelp-content table tr:nth-child(odd) {
-       background-color: #FDFDFD;
-}
-
-#bs-formattinghelp-content table tr td {
-       padding: 10px 5px;
-}
-
 #bs-editbutton-formattinghelp {
        /*@embed*/
        background-image: url(images/button_formatinghelp.png);
 }
 
-#bs-formattinghelp-content th, #bs-formattinghelp-content td{
-       padding: 10px 5px;
-       text-align: left;
+#bs-formattinghelp-table {
+       font-family: 'Courier New', monospace;
+       border-collapse: collapse;
 }
\ No newline at end of file

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I47cebc9865f3931b7bb2c8e0a693195716abe4bf
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Smuggli <[email protected]>
Gerrit-Reviewer: Mglaser <[email protected]>
Gerrit-Reviewer: Pigpen <[email protected]>
Gerrit-Reviewer: Robert Vogel <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to