Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Show action icons on hover #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions Resources/Private/Sass/brofix.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,15 @@ div.brofix-brokenlink-list-form select.form-control {
vertical-align: middle;
}

/* ------ broken links table ------------ */

#brofix-broken-links-table {
table-layout: fixed;
border: none;
}

#brofix-broken-links-table tr {
border: none;
}

#brofix-broken-links-table td {
Expand Down Expand Up @@ -96,7 +103,21 @@ div.brofix-brokenlink-list-form select.form-control {
border-right: 6px white solid;
}

/** --- for small screens --- */
@media (hover: hover) {

/** show action buttons only on hover - visually declutter */
#brofix-broken-links-table tr:hover td.action-column a {
visibility: visible;
}

#brofix-broken-links-table tr td.action-column a {
visibility: hidden;
}
}



/** --- for small screens: show table as card layout --- */

@media screen and (max-width:920px) {
#brofix-broken-links-table {
Expand Down Expand Up @@ -140,7 +161,7 @@ div.brofix-brokenlink-list-form select.form-control {
}
}

/** --- for very small screens --- */
/** --- for very small screens: hide optional columns --- */

@media screen and (max-width:601px) {
/** remove optional columns */
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Backend/ReportTab.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
</td>
<td>{item.linkmessage -> f:format.raw()}</td>
<td class="table-column-divider-end mobile-optional">{item.lastcheck_url}</td>
<td>
<td class="action-column">
<a class="btn btn-primary" href="{item.editUrl}"
title="{f:translate(key: 'list.edit.field', extensionName: 'Brofix')}">
<core:icon identifier="actions-open" size="small"/>
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Css/brofix.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.