No edit summary
No edit summary
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Remove standard Edit button */
body.category-Artist #ca-edit,  
body.category-Artist #ca-edit,  
body.category-Artist #p-cactions #ca-edit {
body.category-Artist #p-cactions #ca-edit {
Line 4: Line 5:
}
}


/* Force Page Forms tables to stack vertically on mobile screens */
/* ==========================================================================
  MOBILE RESPONSIVE OVERRIDES FOR PAGE FORMS (MINERVA SKIN)
  ========================================================================== */
@media screen and (max-width: 767px) {
@media screen and (max-width: 767px) {
   
    /* 1. Force structural tables to break and stack vertically */
     .formtable,  
     .formtable,  
     .formtable tbody,  
     .formtable tbody,  
Line 17: Line 22:
     }
     }
      
      
    /* Add clean separation between rows */
     .formtable tr {
     .formtable tr {
         margin-bottom: 15px; /* Spacing between different fields */
         margin-bottom: 15px;  
     }
     }


    /* Give labels slight spacing from the inputs below them */
     .formtable th {
     .formtable th {
         padding-bottom: 4px;
         padding-bottom: 4px;
     }
     }


     /* Prevent text inputs from overflowing the mobile screen boundaries */
     /* 2. Scale standard HTML form inputs */
     .pfForm input[type="text"],  
     .pfForm input[type="text"],  
    .pfForm tokens,
     .pfForm textarea,  
     .pfForm textarea,  
     .pfForm select,
     .pfForm select,
Line 34: Line 40:
         max-width: 100% !important;
         max-width: 100% !important;
         box-sizing: border-box !important;
         box-sizing: border-box !important;
    }
    /* 3. Aggressive Reset for JavaScript Token Fields (Select2 & OOUI overrides) */
    .pfForm .select2-container,
    .pfForm .select2-container-multi,
    .pfForm .select2-choices,
    .pfForm .oo-ui-tagMultiselectWidget,
    .pfForm .oo-ui-textInputWidget,
    .pfForm .oo-ui-tagMultiselectWidget-handle {
        width: 100% !important;            /* Explicitly override JavaScript calculated pixels */
        max-width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    /* Keep individual token tags from expanding off-screen */
    .pfForm .select2-choices li {
        max-width: 95% !important;
     }
     }
}
}

Latest revision as of 18:38, 28 October 2026

/* Remove standard Edit button */
body.category-Artist #ca-edit, 
body.category-Artist #p-cactions #ca-edit {
    display: none !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE OVERRIDES FOR PAGE FORMS (MINERVA SKIN)
   ========================================================================== */
@media screen and (max-width: 767px) {
    
    /* 1. Force structural tables to break and stack vertically */
    .formtable, 
    .formtable tbody, 
    .formtable tr, 
    .formtable th, 
    .formtable td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }
    
    /* Add clean separation between rows */
    .formtable tr {
        margin-bottom: 15px; 
    }

    /* Give labels slight spacing from the inputs below them */
    .formtable th {
        padding-bottom: 4px;
    }

    /* 2. Scale standard HTML form inputs */
    .pfForm input[type="text"], 
    .pfForm textarea, 
    .pfForm select,
    .createboxInput {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Aggressive Reset for JavaScript Token Fields (Select2 & OOUI overrides) */
    .pfForm .select2-container,
    .pfForm .select2-container-multi,
    .pfForm .select2-choices,
    .pfForm .oo-ui-tagMultiselectWidget,
    .pfForm .oo-ui-textInputWidget,
    .pfForm .oo-ui-tagMultiselectWidget-handle {
        width: 100% !important;             /* Explicitly override JavaScript calculated pixels */
        max-width: 100% !important;
        min-width: 100% !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    /* Keep individual token tags from expanding off-screen */
    .pfForm .select2-choices li {
        max-width: 95% !important;
    }
}