STYLE Enhanced CSS for user profile visibility, refining display rules for various user roles and hiding unnecessary elements in the admin interface.
This commit is contained in:
parent
b499ca0a00
commit
737d9e0708
|
|
@ -57,9 +57,17 @@ body.post-type-artisans {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.column-status .status-state {
|
.column-state {
|
||||||
|
.status-state {
|
||||||
@apply !border-none;
|
@apply !border-none;
|
||||||
}
|
}
|
||||||
|
.status-state--offline {
|
||||||
|
@apply !bg-zinc-400 !text-white;
|
||||||
|
}
|
||||||
|
.status-state--publish {
|
||||||
|
@apply !bg-green-700 !text-white;
|
||||||
|
}
|
||||||
|
}
|
||||||
@media screen and (max-width: 1600px) {
|
@media screen and (max-width: 1600px) {
|
||||||
#lastmodified,
|
#lastmodified,
|
||||||
#onlinedate,
|
#onlinedate,
|
||||||
|
|
@ -418,11 +426,25 @@ ul.striped > :nth-child(odd) {
|
||||||
@apply bg-neutral-50;
|
@apply bg-neutral-50;
|
||||||
background-color: #efeef04d;
|
background-color: #efeef04d;
|
||||||
}
|
}
|
||||||
#the-list {
|
#rank_math_seo_details {
|
||||||
.rank-math-column-display.seo-score,
|
|
||||||
.rank-math-column-display.schema-type {
|
|
||||||
@apply !hidden;
|
@apply !hidden;
|
||||||
}
|
}
|
||||||
|
#the-list {
|
||||||
|
.column-rank_math_seo_details,
|
||||||
|
.rank-math-column-display.seo-score,
|
||||||
|
.rank-math-column-display.schema-type,
|
||||||
|
th.column-rank_math_seo_details,
|
||||||
|
td.column-rank_math_seo_details,
|
||||||
|
.rank-math-column-display,
|
||||||
|
.rank-math-column-display * {
|
||||||
|
@apply !hidden !w-0 !p-0 !m-0 !border-0;
|
||||||
|
width: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
border: 0 !important;
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.rank_math_seo_details.column-rank_math_seo_details > *,
|
.rank_math_seo_details.column-rank_math_seo_details > *,
|
||||||
.date.column-date {
|
.date.column-date {
|
||||||
@apply !text-neutral-500;
|
@apply !text-neutral-500;
|
||||||
|
|
@ -455,8 +477,11 @@ ul.striped > :nth-child(odd) {
|
||||||
@apply text-neutral-400 pl-2;
|
@apply text-neutral-400 pl-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
#rank-math-seo-filter {
|
#rank-math-seo-filter,
|
||||||
@apply hidden;
|
.rank-math-seo-filter,
|
||||||
|
.rank-math-seo-filter * {
|
||||||
|
@apply !hidden;
|
||||||
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .tablenav select[name='metiers'] {
|
/* .tablenav select[name='metiers'] {
|
||||||
|
|
@ -649,6 +674,7 @@ select[data-enpassusermodified='yes'] {
|
||||||
@apply !mr-12 2xl:!mr-32 !max-w-screen-2xl;
|
@apply !mr-12 2xl:!mr-32 !max-w-screen-2xl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#dashboard_activity {
|
#dashboard_activity {
|
||||||
@apply !hidden;
|
@apply !hidden;
|
||||||
}
|
}
|
||||||
|
|
@ -749,3 +775,58 @@ li a[href='my-sites.php'] {
|
||||||
.acf-gallery-add {
|
.acf-gallery-add {
|
||||||
@apply !bg-patrimoine-sante-securite !text-white !border-none !rounded-xl !px-4 !py-1 ml-auto;
|
@apply !bg-patrimoine-sante-securite !text-white !border-none !rounded-xl !px-4 !py-1 ml-auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* -----------------------------------------------------------
|
||||||
|
USERS PROFILE PAGE
|
||||||
|
-----------------------------------------------------------*/
|
||||||
|
.profile-php {
|
||||||
|
.user-profile-picture,
|
||||||
|
.user-rich-editing-wrap,
|
||||||
|
.user-url-wrap,
|
||||||
|
.user-description-wrap,
|
||||||
|
.user-url-wrap + tr,
|
||||||
|
.user-twitter-wrap,
|
||||||
|
.user-twitter-wrap,
|
||||||
|
.user-facebook-wrap,
|
||||||
|
.user-comment-shortcuts-wrap,
|
||||||
|
.user-additional_profile_urls-wrap,
|
||||||
|
.user-language-wrap,
|
||||||
|
.rank-math-metabox-wrap,
|
||||||
|
table:has(.user-display-name-wrap) + h2,
|
||||||
|
table:has(.user-email-wrap) + h2,
|
||||||
|
.application-passwords {
|
||||||
|
@apply !hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.role-conseiller,
|
||||||
|
&.role-editor,
|
||||||
|
&.role-author {
|
||||||
|
table:has(.user-admin-color-wrap),
|
||||||
|
.show-admin-bar,
|
||||||
|
.rank-math-metabox-wrap + h2,
|
||||||
|
table:has(.user-capabilities-wrap) {
|
||||||
|
@apply hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.wp-list-table {
|
||||||
|
th.column-rank_math_seo_details,
|
||||||
|
td.column-rank_math_seo_details {
|
||||||
|
@apply !hidden;
|
||||||
|
display: none !important;
|
||||||
|
width: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
border: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tablenav.top,
|
||||||
|
.tablenav.bottom {
|
||||||
|
.rank-math-seo-filter,
|
||||||
|
.rank-math-seo-filter * {
|
||||||
|
@apply !hidden;
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user