Skip to content

Commit

Permalink
fixed some RTL+IE7 bugs, mainly background icons and search form (FS#…
Browse files Browse the repository at this point in the history
…2569)
  • Loading branch information
selfthinker committed Jul 28, 2012
1 parent b7e5821 commit 00c2d4a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion inc/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ function tpl_mediaFileDetails($image, $rev){
list($ext,$mime,$dl) = mimetype($image,false);
$class = preg_replace('/[^_\-a-z0-9]+/i','_',$ext);
$class = 'select mediafile mf_'.$class;
$tabTitle = '<strong class="'.$class.'"><a href="'.ml($image).'" title="'.$lang['mediaview'].'">'.$image.'</a>'.'</strong>';
$tabTitle = '<strong><a href="'.ml($image).'" class="'.$class.'" title="'.$lang['mediaview'].'">'.$image.'</a>'.'</strong>';
if ($opened_tab === 'view' && $rev) {
printf($lang['media_viewold'], $tabTitle, dformat($rev));
} else {
Expand Down
4 changes: 4 additions & 0 deletions lib/plugins/acl/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ div#acl_manager .aclgroup {
[dir=rtl] div#acl_manager .aclgroup {
background: transparent url(pix/group.png) right 1px no-repeat;
padding: 1px 18px 1px 0px;
display: inline-block; /* needed for IE7 */
}

div#acl_manager .acluser {
Expand All @@ -83,6 +84,7 @@ div#acl_manager .acluser {
[dir=rtl] div#acl_manager .acluser {
background: transparent url(pix/user.png) right 1px no-repeat;
padding: 1px 18px 1px 0px;
display: inline-block; /* needed for IE7 */
}

div#acl_manager .aclpage {
Expand All @@ -92,6 +94,7 @@ div#acl_manager .aclpage {
[dir=rtl] div#acl_manager .aclpage {
background: transparent url(pix/page.png) right 1px no-repeat;
padding: 1px 18px 1px 0px;
display: inline-block; /* needed for IE7 */
}

div#acl_manager .aclns {
Expand All @@ -101,6 +104,7 @@ div#acl_manager .aclns {
[dir=rtl] div#acl_manager .aclns {
background: transparent url(pix/ns.png) right 1px no-repeat;
padding: 1px 18px 1px 0px;
display: inline-block; /* needed for IE7 */
}

div#acl_manager label.disabled {
Expand Down
1 change: 1 addition & 0 deletions lib/tpl/default/rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ div.dokuwiki a.mail {
background-position: right 1px;
padding-right: 16px;
padding-left: 0;
display: inline-block; /* needed for IE7 */
}

div.dokuwiki a.mediafile {
Expand Down
1 change: 1 addition & 0 deletions lib/tpl/dokuwiki/css/_links.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,5 @@
[dir=rtl] .dokuwiki a.mediafile {
background-position: right center;
padding: 0 18px 0 0;
display: inline-block; /* needed for IE7 */
}
7 changes: 7 additions & 0 deletions lib/tpl/dokuwiki/css/design.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
padding-left: 0;
padding-right: 20px;
}
[dir=rtl] #IE7 #dokuwiki__usertools a.action {
display: inline-block;
}


#dokuwiki__header .mobileTools {
display: none; /* hide mobile tools dropdown to only show in mobile view */
Expand Down Expand Up @@ -176,6 +180,9 @@
font-size: 0.875em;
position: relative;
}
[dir=rtl] #IE7 #dokuwiki__sitetools form.search {
min-height: 1px;
}
#dokuwiki__sitetools form.search input.edit {
width: 18em;
padding: .35em 22px .35em .1em;
Expand Down

0 comments on commit 00c2d4a

Please sign in to comment.