1
0
mirror of https://github.com/Hutchy68/pivot.git synced 2024-11-24 03:19:02 +01:00

Multiple issues addressed on tracker.

This commit is contained in:
Hutchy68 2020-04-05 12:17:39 -04:00
parent 7ccab05353
commit eb144a161f
3 changed files with 32 additions and 8 deletions

View File

@ -1,4 +1,10 @@
## Version 2.2
## Version 2.2.1
* [bug] Syntax error in pivot.css Issue #89
* [bug] Personal tools menu name not translated into other languages Issue #88
* [bug] Search autocomplete not available on small screens Issue #85
* [bug] The links in the menu titles on the left seem to be clickable off they should not be. Issue #68
## Version 2.2.0
* [compatibility, deprecated] Fix for deprecated wfSuppressWarnings and wfRestoreWarnings with new Wikimedia\...
* [b/c break] Version minor bump, MW >= 1.31.0 now required
* [enhancement] Use of requires MW version in skin.json

View File

@ -116,10 +116,10 @@ class pivotTemplate extends BaseTemplate {
<ul class="off-canvas-list">
<li class="has-form">
<form action="<?php $this->text( 'wgScript' ); ?>" id="searchform" class="mw-search">
<form action="<?php $this->text( 'wgScript' ); ?>" id="searchform-offCanvas" class="mw-search">
<div class="row collapse">
<div class="small-12 columns">
<input type="search" name="search" placeholder="<?php echo wfMessage( 'search' )->text() ?>" title="Search [alt-shift-f]" accesskey="f" id="searchInput-offcanvas" autocomplete="off">
<input type="search" name="search" placeholder="<?php echo wfMessage( 'search' )->text() ?>" title="Search [alt-shift-f]" accesskey="f" class="mw-searchInput" autocomplete="off">
</div>
</div>
</form>
@ -132,7 +132,7 @@ class pivotTemplate extends BaseTemplate {
<aside class="right-off-canvas-menu">
<ul class="off-canvas-list">
<?php if ($wgUser->isLoggedIn()): ?>
<li id="personal-tools"><label>Personal</label></li>
<li id="personal-tools"><label><?php echo wfMessage( 'personaltools' )->text() ?></label></li>
<?php foreach ($this->getPersonalTools() as $key => $item) { echo $this->makeListItem($key, $item); } ?>
<?php else: ?>
<?php if (isset($this->data['personal_urls']['anonlogin'])): ?>
@ -161,10 +161,10 @@ class pivotTemplate extends BaseTemplate {
<img alt="<?php echo $this->text('sitename'); ?>" src="<?php echo $this->text('logopath') ?>" style="max-width: 100%;height: auto;display: inline-block; vertical-align: middle;"></a>
</li>
<li class="has-form">
<form action="<?php $this->text( 'wgScript' ); ?>" id="searchform" class="mw-search">
<form action="<?php $this->text( 'wgScript' ); ?>" id="searchform-sidebar" class="mw-search">
<div class="row collapse">
<div class="small-12 columns">
<input type="search" name="search" placeholder="<?php echo wfMessage( 'search' )->text() ?>" title="Search [alt-shift-f]" accesskey="f" id="searchInput" autocomplete="off">
<input type="search" name="search" placeholder="<?php echo wfMessage( 'search' )->text() ?>" title="Search [alt-shift-f]" accesskey="f" class="mw-searchInput" autocomplete="off">
</div>
</div>
</form>

View File

@ -2,7 +2,7 @@ body { line-height: 1.6em; font-size: 16px; }
p, ul, ol, dl { font-size: 16px; }
h4,h5,h6 {color: 2e2e2e;}
h4,h5,h6 {color: #2e2e2e;}
#toc ul, .toc ul { font-size: 16px; }
@ -66,6 +66,10 @@ body.action-formedit .row.hide-on-form-edit { display: none;}
.mw-notification-area {
margin-top: 2em;
}
/* MediaWiki Search Results */
.mw-search-results {
max-width: 100%;
}
/* Also adjust z-index of action menu to force it on top */
#p-cactions #drop1 {
z-index: 1000;
@ -218,9 +222,22 @@ ul#drop1.f-dropdown {
color: #222;
border-bottom: 1px solid #eee;
}
.mw-content-ltr ul {
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
margin: .5em 0 1em 2em;
}
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
margin: .5em 0 1em 2em;
}
.mw-content-ltr ul li > ul,
.mw-content-rtl .mw-content-ltr ul li > ul {
margin-bottom: .5em;
margin-left: 1em;
}
.mw-content-ltr ol li > ol,
.mw-content-rtl .mw-content-ltr ol li > ol {
margin-bottom: .5em;
margin-left: 1em;
}
ul.accordion {
margin: 0;
}
@ -798,6 +815,7 @@ ul.side-nav label {
background: #517398;
color: #fff;
padding: .25em .5em;
pointer-events: none;
}
body {
background-color: #DCEAEA;