Making WordPress.org


Ignore:
Timestamp:
02/18/2023 12:41:46 AM (2 years ago)
Author:
Clorith
Message:

Support Forums: Always show topic actions when available.

The actions that can be performed on a topic (such as closing, sticking, etc.) are mostly in the context of a single topic or reply, requiring a hover action to display them.

This change makes them more discoverable to those who can use actions by having them be always visible, while at the same time improves the user experience on mid-range touch-focused devices, such as tablets or more modern mobile devices, without any easy hover-states.

This also improves discoverability of actions plugin and theme-related users may have within a topic.

Props vladytimy.
Fixes #6024. See #5516.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_bbpress.scss

    r12401 r12402  
    384384        li.bbp-body div.type-topic span.bbp-admin-links,
    385385        li.bbp-body div.type-reply span.bbp-admin-links {
    386             display: none;
     386            display: block;
    387387            position: absolute;
    388388            bottom: 0;
     
    408408                }
    409409            }
    410         }
    411 
    412         li.bbp-body div.type-topic:hover span.bbp-admin-links,
    413         li.bbp-body div.type-reply:hover span.bbp-admin-links {
    414             display: block;
    415         }
    416 
    417         li.bbp-body div.type-topic:focus-within span.bbp-admin-links,
    418         li.bbp-body div.type-reply:focus-within span.bbp-admin-links {
    419 
    420             /* Separated from the block above due to browsers that
    421              * don't support :focus-within */
    422             display: block;
    423410        }
    424411
Note: See TracChangeset for help on using the changeset viewer.