STYLE Refactored CSS for user roles, adjusting visibility of elements for editors and authors in the admin interface.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8bc93c2902
commit
2c00caa15e
|
|
@ -607,7 +607,7 @@ select[data-enpassusermodified='yes'] {
|
|||
/* ------------------------------------
|
||||
CUSTOMIZATION BASED ON USER ROLE
|
||||
------------------------------------*/
|
||||
|
||||
.role-author,
|
||||
.role-editor,
|
||||
.role-conseiller {
|
||||
#toplevel_page_tm-menu-main,
|
||||
|
|
@ -621,11 +621,8 @@ select[data-enpassusermodified='yes'] {
|
|||
#submitdiv .handle-order-lower,
|
||||
#submitdiv #preview-action,
|
||||
#rank_math_metabox,
|
||||
li a[href='my-sites.php'] {
|
||||
@apply !hidden;
|
||||
}
|
||||
}
|
||||
.role-editor {
|
||||
#menu-tools,
|
||||
li a[href='my-sites.php'],
|
||||
.rank-math-lock-modified-date,
|
||||
.misc-pub-curtime,
|
||||
.misc-pub-revisions,
|
||||
|
|
@ -645,6 +642,8 @@ select[data-enpassusermodified='yes'] {
|
|||
.row-actions .inline.hide-if-no-js {
|
||||
@apply !hidden;
|
||||
}
|
||||
}
|
||||
.role-editor {
|
||||
.post-type-artisans #post-body {
|
||||
@apply !mr-12 2xl:!mr-32 !max-w-screen-2xl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user