Initial commit
This commit is contained in:
923
css/admin.css
Normal file
923
css/admin.css
Normal file
@@ -0,0 +1,923 @@
|
||||
/* Fade in transition for post edit and profile pages */
|
||||
body.post-php #wpbody,
|
||||
body.post-new-php #wpbody,
|
||||
body.profile-php #wpbody,
|
||||
body.user-edit-php #wpbody,
|
||||
body.user-new-php #wpbody {
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
body.post-php.admin-mods-ready #wpbody,
|
||||
body.post-new-php.admin-mods-ready #wpbody,
|
||||
body.profile-php.admin-mods-ready #wpbody,
|
||||
body.user-edit-php.admin-mods-ready #wpbody,
|
||||
body.user-new-php.admin-mods-ready #wpbody {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Post edit pages: hide elements */
|
||||
body.post-php #advanced-sortables,
|
||||
body.post-new-php #advanced-sortables,
|
||||
body.post-php #preview-action,
|
||||
body.post-new-php #preview-action,
|
||||
body.post-php #visibility,
|
||||
body.post-new-php #visibility,
|
||||
body.post-php #add_pod_button,
|
||||
body.post-new-php #add_pod_button,
|
||||
body.post-php #wp-content-editor-tools > .wp-editor-tabs,
|
||||
body.post-new-php #wp-content-editor-tools > .wp-editor-tabs,
|
||||
body.post-php #mceu_0,
|
||||
body.post-new-php #mceu_0,
|
||||
body.post-php #mceu_6,
|
||||
body.post-new-php #mceu_6,
|
||||
body.post-php #mceu_7,
|
||||
body.post-new-php #mceu_7,
|
||||
body.post-php #mceu_8,
|
||||
body.post-new-php #mceu_8,
|
||||
body.post-php #mceu_10,
|
||||
body.post-new-php #mceu_10,
|
||||
body.post-php #mceu_11,
|
||||
body.post-new-php #mceu_11,
|
||||
body.post-php #postexcerpt,
|
||||
body.post-new-php #postexcerpt,
|
||||
body.post-php #postcustom,
|
||||
body.post-new-php #postcustom,
|
||||
body.post-php #slugdiv,
|
||||
body.post-new-php #slugdiv,
|
||||
body.post-php #authordiv,
|
||||
body.post-new-php #authordiv,
|
||||
body.post-php #screen-meta-links,
|
||||
body.post-new-php #screen-meta-links,
|
||||
body.post-php .handle-order-higher,
|
||||
body.post-new-php .handle-order-higher,
|
||||
body.post-php .handle-order-lower,
|
||||
body.post-new-php .handle-order-lower,
|
||||
body.post-php #pods-meta-seances-seminaire .pods-field-wrapper > div:first-of-type,
|
||||
body.post-new-php #pods-meta-seances-seminaire .pods-field-wrapper > div:first-of-type,
|
||||
body.post-php #tagsdiv-post_tag,
|
||||
body.post-new-php #tagsdiv-post_tag,
|
||||
body.post-php #wp-content-media-buttons,
|
||||
body.post-new-php #wp-content-media-buttons,
|
||||
body.post-php #members-cp,
|
||||
body.post-new-php #members-cp {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
body.post-php .postbox-header .hndle,
|
||||
body.post-new-php .postbox-header .hndle {
|
||||
pointer-events: none;
|
||||
cursor: default;
|
||||
overflow: visible;
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
body.post-php #pods-form-ui-pods-meta-categorie option[value="31"],
|
||||
body.post-new-php #pods-form-ui-pods-meta-categorie option[value="31"] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.post-php #pods-form-ui-pods-meta-categorie option:disabled,
|
||||
body.post-new-php #pods-form-ui-pods-meta-categorie option:disabled {
|
||||
color: #a7aaad;
|
||||
}
|
||||
|
||||
/* Documents joints: margin-top to separate it from the body editor section */
|
||||
body.post-php #pods-meta-documents-joints,
|
||||
body.post-new-php #pods-meta-documents-joints {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
/* Pods iframe modal: hide elements */
|
||||
body.pods-modal-window #ml_box,
|
||||
body.pods-modal-window #pods-meta-liens-externes,
|
||||
body.pods-modal-window #pods-meta-documents-joints {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Axes thématiques checkbox group headers */
|
||||
body.post-php .pods-form-ui-row-name-axes-thematiques li.axes-group-label,
|
||||
body.post-new-php .pods-form-ui-row-name-axes-thematiques li.axes-group-label {
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
color: #646970;
|
||||
background-color: #f0f0f1;
|
||||
padding: 0.4rem 0.5rem;
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
border-top: 1px solid #dcdcde;
|
||||
margin-top: 0.4rem;
|
||||
width: 100%;
|
||||
}
|
||||
body.post-php .pods-form-ui-row-name-axes-thematiques li.axes-group-label:first-child,
|
||||
body.post-new-php .pods-form-ui-row-name-axes-thematiques li.axes-group-label:first-child {
|
||||
border-top: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* Remove WP's JS-injected padding-top on the editor wrap (compensation for sticky toolbar) */
|
||||
body.post-php #wp-content-editor-tools,
|
||||
body.post-new-php #wp-content-editor-tools {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
body.post-php .pods-dfv-container-wysiwyg,
|
||||
body.post-new-php .pods-dfv-container-wysiwyg {
|
||||
max-width: unset !important;
|
||||
}
|
||||
|
||||
body.post-php .pods-tinymce-reinit,
|
||||
body.post-new-php .pods-tinymce-reinit {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Keep statusbar in layout so TinyMCE's reposition() can read its getBoundingClientRect().
|
||||
display:none would return top=0, making mceStatusbarTop=windowHeight → editorHeight<0 → toolbar always hidden. */
|
||||
body.post-php .pods-dfv-container-wysiwyg .mce-statusbar,
|
||||
body.post-new-php .pods-dfv-container-wysiwyg .mce-statusbar {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
body.post-php #pods-form-ui-pods-meta-body-en_ifr,
|
||||
body.post-new-php #pods-form-ui-pods-meta-body-en_ifr {
|
||||
min-height: 334px !important;
|
||||
}
|
||||
|
||||
body.post-php #content_ifr,
|
||||
body.post-new-php #content_ifr,
|
||||
body.post-php #pods-form-ui-pods-meta-body-en_ifr,
|
||||
body.post-new-php #pods-form-ui-pods-meta-body-en_ifr {
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
/* Pods body-en: hide Visuel/Code tabs and same toolbar buttons removed from native editor
|
||||
(paragraph format, alignment ×3, "Lire la suite", toggle-advanced-toolbar).
|
||||
Uses aria-label selectors — more stable than MCE numeric IDs used for the native editor. */
|
||||
body.post-php #pods-meta-body-en .wp-editor-tabs,
|
||||
body.post-new-php #pods-meta-body-en .wp-editor-tabs,
|
||||
body.post-php #pods-meta-body-en .mce-listbox.mce-fixed-width,
|
||||
body.post-new-php #pods-meta-body-en .mce-listbox.mce-fixed-width,
|
||||
body.post-php #pods-meta-body-en [aria-label*="Aligner"],
|
||||
body.post-new-php #pods-meta-body-en [aria-label*="Aligner"],
|
||||
body.post-php #pods-meta-body-en [aria-label*="Centrer"],
|
||||
body.post-new-php #pods-meta-body-en [aria-label*="Centrer"],
|
||||
body.post-php #pods-meta-body-en [aria-label*="Lire la suite"],
|
||||
body.post-new-php #pods-meta-body-en [aria-label*="Lire la suite"],
|
||||
body.post-php #pods-meta-body-en [aria-label*="Permuter la barre"],
|
||||
body.post-new-php #pods-meta-body-en [aria-label*="Permuter la barre"] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Référence bibliographique: hide tabs, media buttons, status bar,
|
||||
and all toolbar buttons except Italic (only formatting allowed). */
|
||||
#wp-pods-form-ui-pods-meta-reference-bibliographique-wrap .wp-editor-tabs,
|
||||
#wp-pods-form-ui-pods-meta-reference-bibliographique-wrap .wp-media-buttons,
|
||||
#wp-pods-form-ui-pods-meta-reference-bibliographique-wrap .mce-statusbar {
|
||||
display: none !important;
|
||||
}
|
||||
#wp-pods-form-ui-pods-meta-reference-bibliographique-wrap .mce-toolbar .mce-btn {
|
||||
display: none !important;
|
||||
}
|
||||
#wp-pods-form-ui-pods-meta-reference-bibliographique-wrap .mce-toolbar .mce-btn:has(.mce-i-italic),
|
||||
#wp-pods-form-ui-pods-meta-reference-bibliographique-wrap .mce-toolbar .mce-btn:has(.mce-i-bold) {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
/* Profile / user-edit: fixed submit button */
|
||||
body.profile-php #your-profile p.submit::before,
|
||||
body.user-edit-php #your-profile p.submit::before {
|
||||
content: "Pensez à sauvegarder les modifications";
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
color: #646970;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
body.profile-php #your-profile p.submit,
|
||||
body.user-edit-php #your-profile p.submit {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
margin: 0;
|
||||
padding: 12px 16px;
|
||||
background: #f0f0f1;
|
||||
border-top: 1px solid #c3c4c7;
|
||||
border-left: 1px solid #c3c4c7;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
/* Profile / user-edit / user-new / taxonomy term pages: TinyMCE editor mods (mirrors post-edit treatment) */
|
||||
body.profile-php .wp-editor-tabs,
|
||||
body.user-edit-php .wp-editor-tabs,
|
||||
body.user-new-php .wp-editor-tabs,
|
||||
body.edit-tags-php .wp-editor-tabs,
|
||||
body.term-php .wp-editor-tabs,
|
||||
body.profile-php .mce-listbox.mce-fixed-width,
|
||||
body.user-edit-php .mce-listbox.mce-fixed-width,
|
||||
body.user-new-php .mce-listbox.mce-fixed-width,
|
||||
body.edit-tags-php .mce-listbox.mce-fixed-width,
|
||||
body.term-php .mce-listbox.mce-fixed-width,
|
||||
body.profile-php [aria-label*="Aligner"],
|
||||
body.user-edit-php [aria-label*="Aligner"],
|
||||
body.user-new-php [aria-label*="Aligner"],
|
||||
body.edit-tags-php [aria-label*="Aligner"],
|
||||
body.term-php [aria-label*="Aligner"],
|
||||
body.profile-php [aria-label*="Centrer"],
|
||||
body.user-edit-php [aria-label*="Centrer"],
|
||||
body.user-new-php [aria-label*="Centrer"],
|
||||
body.edit-tags-php [aria-label*="Centrer"],
|
||||
body.term-php [aria-label*="Centrer"],
|
||||
body.profile-php [aria-label*="Lire la suite"],
|
||||
body.user-edit-php [aria-label*="Lire la suite"],
|
||||
body.user-new-php [aria-label*="Lire la suite"],
|
||||
body.edit-tags-php [aria-label*="Lire la suite"],
|
||||
body.term-php [aria-label*="Lire la suite"],
|
||||
body.profile-php [aria-label*="Permuter la barre"],
|
||||
body.user-edit-php [aria-label*="Permuter la barre"],
|
||||
body.user-new-php [aria-label*="Permuter la barre"],
|
||||
body.edit-tags-php [aria-label*="Permuter la barre"],
|
||||
body.term-php [aria-label*="Permuter la barre"],
|
||||
body.profile-php .wp-media-buttons,
|
||||
body.user-edit-php .wp-media-buttons,
|
||||
body.user-new-php .wp-media-buttons,
|
||||
body.edit-tags-php .wp-media-buttons,
|
||||
body.term-php .wp-media-buttons,
|
||||
body.profile-php .pods-tinymce-reinit,
|
||||
body.user-edit-php .pods-tinymce-reinit,
|
||||
body.user-new-php .pods-tinymce-reinit,
|
||||
body.edit-tags-php .pods-tinymce-reinit,
|
||||
body.term-php .pods-tinymce-reinit {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
body.profile-php .wp-editor-tools,
|
||||
body.user-edit-php .wp-editor-tools,
|
||||
body.user-new-php .wp-editor-tools,
|
||||
body.edit-tags-php .wp-editor-tools,
|
||||
body.term-php .wp-editor-tools {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
body.profile-php .pods-dfv-container-wysiwyg,
|
||||
body.user-edit-php .pods-dfv-container-wysiwyg,
|
||||
body.user-new-php .pods-dfv-container-wysiwyg,
|
||||
body.edit-tags-php .pods-dfv-container-wysiwyg,
|
||||
body.term-php .pods-dfv-container-wysiwyg {
|
||||
max-width: unset !important;
|
||||
}
|
||||
|
||||
body.profile-php .wp-editor-container iframe,
|
||||
body.user-edit-php .wp-editor-container iframe,
|
||||
body.user-new-php .wp-editor-container iframe,
|
||||
body.edit-tags-php .wp-editor-container iframe,
|
||||
body.term-php .wp-editor-container iframe {
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
/* Fade-in transition for tab panels (opacity is set to 0 by JS before reveal, then cleared) */
|
||||
body.post-php #postdivrich,
|
||||
body.post-new-php #postdivrich,
|
||||
body.post-php #pods-meta-body-en,
|
||||
body.post-new-php #pods-meta-body-en {
|
||||
transition: opacity 0.15s ease;
|
||||
}
|
||||
|
||||
/* Body FR/EN language tabs */
|
||||
body.post-php .body-lang-tabs,
|
||||
body.post-new-php .body-lang-tabs {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
margin-bottom: -1px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
body.post-php .body-lang-tab,
|
||||
body.post-new-php .body-lang-tab {
|
||||
padding: 5px 14px;
|
||||
background: #f0f0f1;
|
||||
border: 1px solid #c3c4c7;
|
||||
border-bottom-color: #c3c4c7;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
color: #50575e;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
}
|
||||
|
||||
body.post-php .body-lang-tab.is-active,
|
||||
body.post-new-php .body-lang-tab.is-active {
|
||||
background: #fff;
|
||||
border-bottom-color: #fff;
|
||||
color: #1d2327;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Hide postbox headers for both body editors — tabs replace them */
|
||||
body.post-php #postdivrich .postbox-header,
|
||||
body.post-new-php #postdivrich .postbox-header,
|
||||
body.post-php #pods-meta-body-en .postbox-header,
|
||||
body.post-new-php #pods-meta-body-en .postbox-header {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Strip Pods table layout from body-en — make it full width like native editor */
|
||||
body.post-php #pods-meta-body-en .inside,
|
||||
body.post-new-php #pods-meta-body-en .inside {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-body-en .form-table,
|
||||
body.post-new-php #pods-meta-body-en .form-table,
|
||||
body.post-php #pods-meta-body-en .form-table tbody,
|
||||
body.post-new-php #pods-meta-body-en .form-table tbody,
|
||||
body.post-php #pods-meta-body-en .form-table tr,
|
||||
body.post-new-php #pods-meta-body-en .form-table tr,
|
||||
body.post-php #pods-meta-body-en .form-table td,
|
||||
body.post-new-php #pods-meta-body-en .form-table td {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-body-en .form-table th,
|
||||
body.post-new-php #pods-meta-body-en .form-table th {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-body-en .pods-submittable-fields,
|
||||
body.post-new-php #pods-meta-body-en .pods-submittable-fields,
|
||||
body.post-php #pods-meta-body-en .pods-dfv-container,
|
||||
body.post-new-php #pods-meta-body-en .pods-dfv-container {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Allow TinyMCE floating panels (link popover, inline toolbar) to escape the Pods
|
||||
container chain — any overflow:hidden in Pods DFV elements would clip them */
|
||||
body.post-php #pods-meta-body-en .inside,
|
||||
body.post-new-php #pods-meta-body-en .inside,
|
||||
body.post-php #pods-meta-body-en .pods-submittable-fields,
|
||||
body.post-new-php #pods-meta-body-en .pods-submittable-fields,
|
||||
body.post-php #pods-meta-body-en .pods-dfv-field,
|
||||
body.post-new-php #pods-meta-body-en .pods-dfv-field,
|
||||
body.post-php #pods-meta-body-en .pods-field-option,
|
||||
body.post-new-php #pods-meta-body-en .pods-field-option,
|
||||
body.post-php #pods-meta-body-en .pods-field-option__field,
|
||||
body.post-new-php #pods-meta-body-en .pods-field-option__field,
|
||||
body.post-php #pods-meta-body-en .pods-dfv-container-wysiwyg,
|
||||
body.post-new-php #pods-meta-body-en .pods-dfv-container-wysiwyg,
|
||||
body.post-php #pods-meta-body-en .pods-field-wrapper,
|
||||
body.post-new-php #pods-meta-body-en .pods-field-wrapper,
|
||||
body.post-php #pods-meta-body-en .wp-editor-wrap,
|
||||
body.post-new-php #pods-meta-body-en .wp-editor-wrap,
|
||||
body.post-php #pods-meta-body-en .wp-editor-container,
|
||||
body.post-new-php #pods-meta-body-en .wp-editor-container {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* Info popovers */
|
||||
.thalim-info-wrapper {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
margin-left: 6px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.thalim-info-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 2px;
|
||||
cursor: pointer;
|
||||
color: #646970;
|
||||
line-height: 1;
|
||||
border-radius: 50%;
|
||||
transition: color 0.15s, background 0.15s;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.thalim-info-btn:hover,
|
||||
.thalim-info-btn:focus {
|
||||
color: #2271b1;
|
||||
background: #f0f6fc;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.thalim-info-popover {
|
||||
display: none;
|
||||
position: fixed;
|
||||
transform: translateX(-50%);
|
||||
z-index: 9999;
|
||||
background: #fff;
|
||||
border: 1px solid #c3c4c7;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
|
||||
padding: 10px 12px;
|
||||
min-width: 220px;
|
||||
max-width: 320px;
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
line-height: 1.5;
|
||||
color: #3c434a;
|
||||
white-space: normal;
|
||||
text-align: left;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.thalim-info-popover.is-open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.thalim-info-popover p {
|
||||
margin: 0 0 4px;
|
||||
}
|
||||
|
||||
.thalim-info-popover p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Translate popovers */
|
||||
.thalim-translate-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 2px;
|
||||
cursor: pointer;
|
||||
color: #2a7a4f;
|
||||
line-height: 1;
|
||||
border-radius: 50%;
|
||||
transition: color 0.15s, background 0.15s;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.thalim-translate-btn:hover,
|
||||
.thalim-translate-btn:focus {
|
||||
color: #1d5c3a;
|
||||
background: #edfaf3;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.thalim-translate-popover {
|
||||
border-color: #b2dfcc;
|
||||
}
|
||||
|
||||
/* Required field indicator */
|
||||
abbr.required::after {
|
||||
content: " Champ nécessaire";
|
||||
font-size: 0.72rem;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
color: #646970;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Profile pages: hide sections */
|
||||
body.user-new-php #simple-local-avatar-section,
|
||||
body.profile-php .user-admin-color-wrap,
|
||||
body.user-edit-php .user-admin-color-wrap,
|
||||
body.user-new-php .user-admin-color-wrap,
|
||||
body.profile-php .user-admin-bar-front-wrap,
|
||||
body.user-edit-php .user-admin-bar-front-wrap,
|
||||
body.user-new-php .user-admin-bar-front-wrap,
|
||||
body.profile-php .user-nickname-wrap,
|
||||
body.user-edit-php .user-nickname-wrap,
|
||||
body.user-new-php .user-nickname-wrap,
|
||||
body.profile-php .user-display-name-wrap,
|
||||
body.user-edit-php .user-display-name-wrap,
|
||||
body.user-new-php .user-display-name-wrap,
|
||||
body.profile-php .user-profile-picture,
|
||||
body.user-edit-php .user-profile-picture,
|
||||
body.user-new-php .user-profile-picture,
|
||||
body.profile-php .ratings-row,
|
||||
body.user-edit-php .ratings-row,
|
||||
body.user-new-php .ratings-row,
|
||||
body.profile-php .application-passwords,
|
||||
body.user-edit-php .application-passwords,
|
||||
body.user-new-php .application-passwords,
|
||||
body.profile-php .user-comment-shortcuts-wrap,
|
||||
body.user-edit-php .user-comment-shortcuts-wrap,
|
||||
body.user-new-php .user-comment-shortcuts-wrap,
|
||||
body.profile-php .form-table:has(.user-description-wrap),
|
||||
body.user-edit-php .form-table:has(.user-description-wrap),
|
||||
body.user-new-php .form-table:has(.user-description-wrap) {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
body.profile-php .form-table,
|
||||
body.user-edit-php .form-table,
|
||||
body.user-new-php .form-table {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body.profile-php .form-table tbody,
|
||||
body.user-edit-php .form-table tbody,
|
||||
body.user-new-php .form-table tbody {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
background: #fff;
|
||||
border: 1px solid #c3c4c7;
|
||||
padding: 8px 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
body.profile-php .form-table tbody tr,
|
||||
body.user-edit-php .form-table tbody tr,
|
||||
body.user-new-php .form-table tbody tr {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
body.profile-php .form-table tbody tr th,
|
||||
body.user-edit-php .form-table tbody tr th,
|
||||
body.user-new-php .form-table tbody tr th,
|
||||
body.profile-php .form-table tbody tr td,
|
||||
body.user-edit-php .form-table tbody tr td,
|
||||
body.user-new-php .form-table tbody tr td {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0 0 4px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
/* Side-by-side section pairs */
|
||||
body.profile-php .profile-section-row,
|
||||
body.user-edit-php .profile-section-row,
|
||||
body.user-new-php .profile-section-row {
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
body.profile-php .profile-section-col,
|
||||
body.user-edit-php .profile-section-col,
|
||||
body.user-new-php .profile-section-col {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Tables inside a col are already at 50% width — keep fields single-column */
|
||||
body.profile-php .profile-section-col .form-table tbody,
|
||||
body.user-edit-php .profile-section-col .form-table tbody,
|
||||
body.user-new-php .profile-section-col .form-table tbody {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
|
||||
body.profile-php .form-table tbody,
|
||||
body.user-edit-php .form-table tbody,
|
||||
body.user-new-php .form-table tbody {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0 15px;
|
||||
&:has(.pods-form-ui-row-name-role-1) {
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
body.profile-php .form-table tbody .user-user-login-wrap,
|
||||
body.user-edit-php .form-table tbody .user-user-login-wrap,
|
||||
body.user-new-php .form-table tbody .user-user-login-wrap,
|
||||
body.profile-php .form-table tbody .user-first-name-wrap,
|
||||
body.user-edit-php .form-table tbody .user-first-name-wrap,
|
||||
body.user-new-php .form-table tbody .user-first-name-wrap,
|
||||
body.profile-php .form-table tbody .user-email-wrap,
|
||||
body.user-edit-php .form-table tbody .user-email-wrap,
|
||||
body.user-new-php .form-table tbody .user-email-wrap,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-lien-externe-1,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-lien-externe-1,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-lien-externe-1,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-lien-externe-2,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-lien-externe-2,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-lien-externe-2,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-lien-externe-3,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-lien-externe-3,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-lien-externe-3,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-role-1,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-role-1,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-role-1,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-role-2,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-role-2,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-role-2,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-role-3,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-role-3,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-role-3,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-affiliation,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-affiliation,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-affiliation,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-titre-de-these,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-titre-de-these,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-titre-de-these,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-directeur-de-these-thalim,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-directeur-de-these-thalim,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-directeur-de-these-thalim,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-recherches-en-cours,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-recherches-en-cours,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-recherches-en-cours,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-autres-domaines-de-recherches,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-autres-domaines-de-recherches,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-autres-domaines-de-recherches,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-resume-de-la-these,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-resume-de-la-these,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-resume-de-la-these,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-biographie,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-biographie,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-biographie {
|
||||
grid-column: 1;
|
||||
}
|
||||
|
||||
body.profile-php .form-table tbody .user-role-wrap,
|
||||
body.user-edit-php .form-table tbody .user-role-wrap,
|
||||
body.user-new-php .form-table tbody .user-role-wrap,
|
||||
body.profile-php .form-table tbody .user-last-name-wrap,
|
||||
body.user-edit-php .form-table tbody .user-last-name-wrap,
|
||||
body.user-new-php .form-table tbody .user-last-name-wrap,
|
||||
body.profile-php .form-table tbody .user-url-wrap,
|
||||
body.user-edit-php .form-table tbody .user-url-wrap,
|
||||
body.user-new-php .form-table tbody .user-url-wrap,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-titre-du-lien-1,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-titre-du-lien-1,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-titre-du-lien-1,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-titre-du-lien-2,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-titre-du-lien-2,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-titre-du-lien-2,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-titre-du-lien-3,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-titre-du-lien-3,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-titre-du-lien-3,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-complement-de-role-1,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-complement-de-role-1,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-complement-de-role-1,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-complement-de-role-2,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-complement-de-role-2,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-complement-de-role-2,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-complement-de-role-3,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-complement-de-role-3,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-complement-de-role-3,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-affiliation-autre,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-affiliation-autre,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-affiliation-autre,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-autre-directeur-de-these,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-autre-directeur-de-these,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-autre-directeur-de-these,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-date-de-soutenance,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-date-de-soutenance,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-date-de-soutenance,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-recherches-en-cours-en,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-recherches-en-cours-en,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-recherches-en-cours-en,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-autres-domaines-de-recherches-en,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-autres-domaines-de-recherches-en,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-autres-domaines-de-recherches-en,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-resume-de-la-these-en,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-resume-de-la-these-en,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-resume-de-la-these-en,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-biographie-en,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-biographie-en,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-biographie-en {
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-affichage-du-statut-1,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-affichage-du-statut-1,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-affichage-du-statut-1,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-affichage-du-statut-2,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-affichage-du-statut-2,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-affichage-du-statut-2,
|
||||
body.profile-php .form-table tbody .pods-form-ui-row-name-affichage-du-statut-3,
|
||||
body.user-edit-php .form-table tbody .pods-form-ui-row-name-affichage-du-statut-3,
|
||||
body.user-new-php .form-table tbody .pods-form-ui-row-name-affichage-du-statut-3 {
|
||||
grid-column: 3;
|
||||
}
|
||||
|
||||
body.profile-php .user-user-login-wrap span.description,
|
||||
body.user-edit-php .user-user-login-wrap span.description,
|
||||
body.user-new-php .user-user-login-wrap span.description {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Profile FR/EN language overlay tabs */
|
||||
body.profile-php .profile-lang-tabs,
|
||||
body.user-edit-php .profile-lang-tabs,
|
||||
body.user-new-php .profile-lang-tabs {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
margin-bottom: -1px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
body.profile-php .profile-lang-tab,
|
||||
body.user-edit-php .profile-lang-tab,
|
||||
body.user-new-php .profile-lang-tab {
|
||||
padding: 5px 14px;
|
||||
background: #f0f0f1;
|
||||
border: 1px solid #c3c4c7;
|
||||
cursor: pointer;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
color: #50575e;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
}
|
||||
body.profile-php .profile-lang-tab.is-active,
|
||||
body.user-edit-php .profile-lang-tab.is-active,
|
||||
body.user-new-php .profile-lang-tab.is-active {
|
||||
background: #fff;
|
||||
border-bottom-color: #fff;
|
||||
color: #1d2327;
|
||||
font-weight: 600;
|
||||
}
|
||||
body.profile-php .form-table tbody .profile-lang-tabs-row td,
|
||||
body.user-edit-php .form-table tbody .profile-lang-tabs-row td,
|
||||
body.user-new-php .form-table tbody .profile-lang-tabs-row td {
|
||||
padding: 0;
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
|
||||
/* Membres: 2-column explicit grid
|
||||
Row 1: Fonction (col 1 only)
|
||||
Row 2: Membres | Autrepersonnes
|
||||
Row 3: full-width separator (injected <tr class="membres-grid-separator">)
|
||||
Row 4: Autre fonction (col 1 only)
|
||||
Row 5: Autre membres | Autre autrepersonnes
|
||||
*/
|
||||
body.post-php #pods-meta-membres .form-table,
|
||||
body.post-new-php #pods-meta-membres .form-table {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-membres .form-table tbody,
|
||||
body.post-new-php #pods-meta-membres .form-table tbody {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
column-gap: 16px;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-membres .form-table tr,
|
||||
body.post-new-php #pods-meta-membres .form-table tr {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 6px 0;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-membres .form-table th,
|
||||
body.post-new-php #pods-meta-membres .form-table th,
|
||||
body.post-php #pods-meta-membres .form-table td,
|
||||
body.post-new-php #pods-meta-membres .form-table td {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0 0 4px;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-membres .form-table input[type="text"],
|
||||
body.post-new-php #pods-meta-membres .form-table input[type="text"] {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
/* Row 1: Fonction — left column only */
|
||||
body.post-php #pods-meta-membres [class*="pods-form-ui-row-name-fonction-"],
|
||||
body.post-new-php #pods-meta-membres [class*="pods-form-ui-row-name-fonction-"] {
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
}
|
||||
|
||||
/* Row 2: Membres (left) | Autrepersonnes (right) */
|
||||
body.post-php #pods-meta-membres .pods-form-ui-row-name-membres,
|
||||
body.post-new-php #pods-meta-membres .pods-form-ui-row-name-membres {
|
||||
grid-column: 1;
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-membres .pods-form-ui-row-name-autrepersonnes,
|
||||
body.post-new-php #pods-meta-membres .pods-form-ui-row-name-autrepersonnes {
|
||||
grid-column: 2;
|
||||
grid-row: 2;
|
||||
}
|
||||
|
||||
/* Row 3: full-width separator */
|
||||
body.post-php #pods-meta-membres .membres-grid-separator,
|
||||
body.post-new-php #pods-meta-membres .membres-grid-separator {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 3;
|
||||
border-top: 1px solid #dcdcde;
|
||||
height: 0;
|
||||
padding: 0;
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
/* Row 4: Autre fonction — left column only */
|
||||
body.post-php #pods-meta-membres [class*="pods-form-ui-row-name-autre-fonction-"],
|
||||
body.post-new-php #pods-meta-membres [class*="pods-form-ui-row-name-autre-fonction-"] {
|
||||
grid-column: 1;
|
||||
grid-row: 4;
|
||||
}
|
||||
|
||||
/* Row 5: Autre membres (left) | Autre autrepersonnes (right) */
|
||||
body.post-php #pods-meta-membres .pods-form-ui-row-name-autre-membres,
|
||||
body.post-new-php #pods-meta-membres .pods-form-ui-row-name-autre-membres {
|
||||
grid-column: 1;
|
||||
grid-row: 5;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-membres .pods-form-ui-row-name-autre-autrepersonnes,
|
||||
body.post-new-php #pods-meta-membres .pods-form-ui-row-name-autre-autrepersonnes {
|
||||
grid-column: 2;
|
||||
grid-row: 5;
|
||||
}
|
||||
|
||||
/* Liens externes: two-column layout — URL field and title field side by side per link */
|
||||
body.post-php #pods-meta-liens-externes .form-table,
|
||||
body.post-new-php #pods-meta-liens-externes .form-table {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-liens-externes .form-table tbody,
|
||||
body.post-new-php #pods-meta-liens-externes .form-table tbody {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
column-gap: 16px;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-liens-externes .form-table tr,
|
||||
body.post-new-php #pods-meta-liens-externes .form-table tr {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 6px 0;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-liens-externes .form-table th,
|
||||
body.post-new-php #pods-meta-liens-externes .form-table th,
|
||||
body.post-php #pods-meta-liens-externes .form-table td,
|
||||
body.post-new-php #pods-meta-liens-externes .form-table td {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0 0 4px;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-liens-externes .form-table input[type="text"],
|
||||
body.post-new-php #pods-meta-liens-externes .form-table input[type="text"] {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
/* Visual separator between link pairs 2 and 3 */
|
||||
body.post-php #pods-meta-liens-externes .pods-form-ui-row-name-lien-externe-2,
|
||||
body.post-new-php #pods-meta-liens-externes .pods-form-ui-row-name-lien-externe-2,
|
||||
body.post-php #pods-meta-liens-externes .pods-form-ui-row-name-titre-du-lien-externe-2,
|
||||
body.post-new-php #pods-meta-liens-externes .pods-form-ui-row-name-titre-du-lien-externe-2,
|
||||
body.post-php #pods-meta-liens-externes .pods-form-ui-row-name-lien-externe-3,
|
||||
body.post-new-php #pods-meta-liens-externes .pods-form-ui-row-name-lien-externe-3,
|
||||
body.post-php #pods-meta-liens-externes .pods-form-ui-row-name-titre-du-lien-externe-3,
|
||||
body.post-new-php #pods-meta-liens-externes .pods-form-ui-row-name-titre-du-lien-externe-3 {
|
||||
border-top: 1px solid #dcdcde;
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
/* Dates: date de début and date de fin side by side */
|
||||
body.post-php #pods-meta-dates .form-table,
|
||||
body.post-new-php #pods-meta-dates .form-table {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-dates .form-table tbody,
|
||||
body.post-new-php #pods-meta-dates .form-table tbody {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
column-gap: 16px;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-dates .form-table tr,
|
||||
body.post-new-php #pods-meta-dates .form-table tr {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 6px 0;
|
||||
}
|
||||
|
||||
body.post-php #pods-meta-dates .form-table th,
|
||||
body.post-new-php #pods-meta-dates .form-table th,
|
||||
body.post-php #pods-meta-dates .form-table td,
|
||||
body.post-new-php #pods-meta-dates .form-table td {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0 0 4px;
|
||||
}
|
||||
|
||||
/* Taxonomy pages — hide unused description field */
|
||||
.edit-tags-php .term-description-wrap,
|
||||
.term-php .term-description-wrap {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user