/**
 * File Name: wheelersAdminTweaks.css
 * Description: Styles for admin pages used for managing posts, pages etc.
 * Version: 1.0
 * 05 May 26
 * Graham Knight
 */

/************************************************
 * Styles to highlight private files and        *
 * category buttons on media library displays   *
 ************************************************/

/*Red border round private files in icon view*/
.wp-core-ui .attachment .thumbnail:has(img[src*="protectedfiles"]) {
  border: 3px solid red;
}

/* Red border round private files in list view*/
.wp-list-table .has-media-icon span.media-icon:has(img[src*="protectedfiles"]) {
  border: 3px solid red;
}

/* Red border around privacy radio buttons in list and icon views*/
tr.compat-field-pmw_private {
  border: 3px solid red;
  width: fit-content;
  padding: 5px;
}

/* Red border around category buttons in list view */
#media-categorydiv {
  border: 3px solid red;
  width: fit-content;
  padding: 5px;
}

/* Red border around category buttons in list view */
#media-categorydiv {
  border: 3px solid red;
  width: fit-content;
  padding: 5px;
}

/* Add text above category buttons in list view */
#media-categorydiv .inside::before {
  content: "Please select a category (assists with media search).";
  color: red;
  font-weight: bold;
}

/* Red border around category box in icon view */
tr.compat-field-media-category {
  border: 3px solid red;
  padding: 5px;
  margin-top: 10px;
}

/* Add text above category buttons in icon view */
tr.compat-field-media-category td.field ul.term-list::before {
  content: "Please select a category (assists with media search).";
  color: red;
  font-weight: bold;
  font-size: 13px;
}

tr.compat-field-media-category td.field {
  margin-top: 30px;
}

/************************************************
 * End of private files highlighting            *
 ************************************************/
