| 1 |
/** |
| 2 |
* MLS property list-table columns — admin styling. |
| 3 |
* |
| 4 |
* Skins the wp-admin edit.php list for mlsimport_property to read like the |
| 5 |
* WPResidence property list: square thumbnail, a status pill and an accented |
| 6 |
* price, using the same warm tokens as the public single-property design. |
| 7 |
*/ |
| 8 |
|
| 9 |
/* Per-column widths for the custom list-table columns (thumb / title / price / |
| 10 |
status / type / location / IDs), scoped to the mlsimport_property screen. */ |
| 11 |
.post-type-mlsimport_property .wp-list-table .column-mlsimport_thumb { width: 70px; } |
| 12 |
.post-type-mlsimport_property .wp-list-table .column-title { width: 22%; } |
| 13 |
.post-type-mlsimport_property .wp-list-table .column-mlsimport_price, |
| 14 |
.post-type-mlsimport_property .wp-list-table .column-mlsimport_status { width: 12%; } |
| 15 |
.post-type-mlsimport_property .wp-list-table .column-mlsimport_type, |
| 16 |
.post-type-mlsimport_property .wp-list-table .column-mlsimport_location { width: 13%; } |
| 17 |
.post-type-mlsimport_property .wp-list-table .column-mlsimport_ids { width: 14%; } |
| 18 |
|
| 19 |
/* Taxonomy value next to its row label (Type / Location). */ |
| 20 |
.mlsimport-col-tax { |
| 21 |
font-size: 12px; |
| 22 |
color: #1c1917; |
| 23 |
} |
| 24 |
|
| 25 |
/* IDs column — three labelled rows (Local ID / MLS ID / Listing Key). */ |
| 26 |
.mlsimport-col-id-row { |
| 27 |
display: block; |
| 28 |
line-height: 1.6; |
| 29 |
} |
| 30 |
.mlsimport-col-id-label { |
| 31 |
display: inline-block; |
| 32 |
/* min-width: 78px; */ |
| 33 |
color: #9a9285; |
| 34 |
font-size: 11px; |
| 35 |
padding-right: 10px; |
| 36 |
} |
| 37 |
.mlsimport-col-id { |
| 38 |
padding: 1px 6px; |
| 39 |
border-radius: 4px; |
| 40 |
background: #f3efe7; |
| 41 |
color: #6b6358; |
| 42 |
font-size: 11.5px; |
| 43 |
word-break: break-all; |
| 44 |
} |
| 45 |
|
| 46 |
/* Square thumbnail (mirrors the WPResidence dashboard unit image). */ |
| 47 |
.mlsimport-col-thumb__img, |
| 48 |
.mlsimport-col-thumb__ph { |
| 49 |
display: block; |
| 50 |
width: 56px; |
| 51 |
height: 56px; |
| 52 |
border-radius: 8px; |
| 53 |
object-fit: cover; |
| 54 |
} |
| 55 |
.mlsimport-col-thumb__ph { |
| 56 |
background: #efe7dc; /* --mlsimport-hairline */ |
| 57 |
background-image: linear-gradient(135deg, #f4ede3, #e9ddcd); |
| 58 |
} |
| 59 |
|
| 60 |
/* Status pill — warm accent tint, matching the front-end soft chip. */ |
| 61 |
.mlsimport-col-status { |
| 62 |
display: inline-block; |
| 63 |
padding: 3px 10px; |
| 64 |
border-radius: 999px; |
| 65 |
background: #fde4d8; |
| 66 |
color: #a63c1f; |
| 67 |
font-size: 11.5px; |
| 68 |
font-weight: 600; |
| 69 |
text-transform: capitalize; |
| 70 |
} |
| 71 |
|
| 72 |
/* Price — accent2, mirrors the front-end title-bar price colour. */ |
| 73 |
.mlsimport-col-price { |
| 74 |
color: #a63c1f; |
| 75 |
font-size: 14px; |
| 76 |
font-weight: 600; |
| 77 |
} |
| 78 |
|
| 79 |
.mlsimport-col-empty { color: #9a9285; } |
| 80 |
|
| 81 |
/* Taxonomy values link to their public term archive; keep the quiet list-table |
| 82 |
look and only reveal the link on hover. */ |
| 83 |
.mlsimport-col-tax a, |
| 84 |
.mlsimport-col-status a { |
| 85 |
color: inherit; |
| 86 |
text-decoration: none; |
| 87 |
} |
| 88 |
.mlsimport-col-tax a:hover, |
| 89 |
.mlsimport-col-tax a:focus, |
| 90 |
.mlsimport-col-status a:hover, |
| 91 |
.mlsimport-col-status a:focus { |
| 92 |
text-decoration: underline; |
| 93 |
} |
| 94 |
|