Skip to content

Commit

Permalink
Remove "buttons on hover" experiment (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoChevalier authored and flodolo committed Jul 4, 2016
1 parent 839f958 commit 8243e2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
10 changes: 5 additions & 5 deletions app/classes/Transvision/ShowResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 invisible'>
<div dir='ltr' class='result_meta_link'>
<a class='source_link' href='{$locale3_path}'>
&lt;source&gt;
</a>
Expand All @@ -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 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='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='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 invisible'>
<div dir='ltr' class='result_meta_link'>
<a class='source_link' href='{$locale1_path}'>
&lt;source&gt;
</a>
Expand All @@ -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 invisible'>
<div dir='ltr' class='result_meta_link'>
<a class='source_link' href='{$locale2_path}'>
&lt;source&gt;
</a>
Expand Down
8 changes: 0 additions & 8 deletions web/style/transvision.css
Original file line number Diff line number Diff line change
Expand Up @@ -1191,11 +1191,3 @@ fieldset {
#unlocalized_all #words tr :nth-child(1) ~ td {
display: none;
}

.invisible {
visibility: hidden;
}

tr:hover .invisible {
visibility: visible;
}

0 comments on commit 8243e2b

Please sign in to comment.