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
|
CUSTOMIZATION BASED ON USER ROLE
|
||||||
------------------------------------*/
|
------------------------------------*/
|
||||||
|
.role-author,
|
||||||
.role-editor,
|
.role-editor,
|
||||||
.role-conseiller {
|
.role-conseiller {
|
||||||
#toplevel_page_tm-menu-main,
|
#toplevel_page_tm-menu-main,
|
||||||
|
|
@ -621,11 +621,8 @@ select[data-enpassusermodified='yes'] {
|
||||||
#submitdiv .handle-order-lower,
|
#submitdiv .handle-order-lower,
|
||||||
#submitdiv #preview-action,
|
#submitdiv #preview-action,
|
||||||
#rank_math_metabox,
|
#rank_math_metabox,
|
||||||
li a[href='my-sites.php'] {
|
#menu-tools,
|
||||||
@apply !hidden;
|
li a[href='my-sites.php'],
|
||||||
}
|
|
||||||
}
|
|
||||||
.role-editor {
|
|
||||||
.rank-math-lock-modified-date,
|
.rank-math-lock-modified-date,
|
||||||
.misc-pub-curtime,
|
.misc-pub-curtime,
|
||||||
.misc-pub-revisions,
|
.misc-pub-revisions,
|
||||||
|
|
@ -645,6 +642,8 @@ select[data-enpassusermodified='yes'] {
|
||||||
.row-actions .inline.hide-if-no-js {
|
.row-actions .inline.hide-if-no-js {
|
||||||
@apply !hidden;
|
@apply !hidden;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
.role-editor {
|
||||||
.post-type-artisans #post-body {
|
.post-type-artisans #post-body {
|
||||||
@apply !mr-12 2xl:!mr-32 !max-w-screen-2xl;
|
@apply !mr-12 2xl:!mr-32 !max-w-screen-2xl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user