Permalink
Browse files

Merge pull request #728 from pascalchevrel/723_buttons_hover

fix #723: Experiment buttons on hover in results view
  • Loading branch information...
pascalchevrel committed Apr 18, 2016
2 parents 228916b + 7d3ecab commit bfb0debbd9e154948e87f88a20370c53e0559706
Showing with 14 additions and 5 deletions.
  1. +5 −5 app/classes/Transvision/ShowResults.php
  2. +9 −0 web/style/transvision.css
@@ -412,7 +412,7 @@ public static function resultsTable($search_object, $search_results, $page)
<td dir='{$direction3}' lang='{$locale3}'>
<span class='celltitle'>{$locale3}</span>
<div class='string' id='{$clipboard_target_string2}'>{$target_string2}</div>
<div dir='ltr' class='result_meta_link'>
<div dir='ltr' class='result_meta_link invisible'>
<a class='source_link' href='{$locale3_path}'>
&lt;source&gt;
</a>
@@ -430,16 +430,16 @@ public static function resultsTable($search_object, $search_results, $page)
<tr class='{$component}'>
<td>
<span class='celltitle'>Entity</span>
<a class='resultpermalink tag' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this result'>link</a>
<a class='l10n tag' href='/string/?entity={$key}&amp;repo={$current_repo}' title='List all translations for this entity'>l10n</a>
<a class='resultpermalink tag invisible' id='{$anchor_name}' href='#{$anchor_name}' title='Permalink to this result'>link</a>
<a class='l10n tag invisible' href='/string/?entity={$key}&amp;repo={$current_repo}' title='List all translations for this entity'>l10n</a>
<a class='link_to_entity' href=\"/{$entity_link}\">{$result_entity}</a>
</td>
<td dir='{$direction1}' lang='{$locale1}'>
<span class='celltitle'>{$locale1}</span>
<div class='string'>
{$source_string}
</div>
<div dir='ltr' class='result_meta_link'>
<div dir='ltr' class='result_meta_link invisible'>
<a class='source_link' href='{$locale1_path}'>
&lt;source&gt;
</a>
@@ -457,7 +457,7 @@ public static function resultsTable($search_object, $search_results, $page)
<td dir='{$direction2}' lang='{$locale2}'>
<span class='celltitle'>{$locale2}</span>
<div class='string' id='{$clipboard_target_string}'>{$target_string}</div>
<div dir='ltr' class='result_meta_link'>
<div dir='ltr' class='result_meta_link invisible'>
<a class='source_link' href='{$locale2_path}'>
&lt;source&gt;
</a>
@@ -1165,6 +1165,7 @@ fieldset {
z-index: 99;
}
<<<<<<< HEAD
/* Unlocalized words view */
#unlocalized_all fieldset#grpChkBox {
border: 1px solid #000;
@@ -1185,3 +1186,11 @@ fieldset {
#unlocalized_all #words tr :nth-child(1) ~ td {
display: none;
}
.invisible {
visibility: hidden;
}
tr:hover .invisible {
visibility: visible;
}

0 comments on commit bfb0deb

Please sign in to comment.