You've already forked wc-tier-and-package-prices
Release version 1.2.3 - Admin UI styling improvements
Fixed two admin UI bugs: - Applied borderless table styling to all tier/package tables for consistency - Fixed checkbox tooltip display and improved checkbox-label spacing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,29 +23,23 @@
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* Table styling */
|
||||
/* Table styling - borderless design for all tier/package tables */
|
||||
.wc-tpp-tiers-table,
|
||||
.wc-tpp-packages-table {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.wc-tpp-tiers-table th,
|
||||
.wc-tpp-packages-table th {
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* Remove borders for variation pricing tables to match WooCommerce variation UI style */
|
||||
.wc-tpp-variation-pricing .wc-tpp-tiers-table,
|
||||
.wc-tpp-variation-pricing .wc-tpp-packages-table {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.wc-tpp-variation-pricing .wc-tpp-tiers-table th,
|
||||
.wc-tpp-variation-pricing .wc-tpp-packages-table th,
|
||||
.wc-tpp-variation-pricing .wc-tpp-tiers-table td,
|
||||
.wc-tpp-variation-pricing .wc-tpp-packages-table td {
|
||||
.wc-tpp-tiers-table td,
|
||||
.wc-tpp-packages-table td {
|
||||
border: none;
|
||||
}
|
||||
|
||||
@@ -101,3 +95,22 @@
|
||||
color: #666;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Checkbox styling improvements */
|
||||
#_wc_tpp_restrict_to_packages,
|
||||
input[id^="wc_tpp_restrict_to_packages_"] {
|
||||
margin-right: 8px !important;
|
||||
}
|
||||
|
||||
/* Ensure description is properly hidden when desc_tip is used */
|
||||
.wc-tpp-tier-pricing .woocommerce-help-tip,
|
||||
.wc-tpp-package-pricing .woocommerce-help-tip,
|
||||
.wc-tpp-variation-pricing .woocommerce-help-tip {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
/* Hide inline description text when tooltip is shown */
|
||||
#_wc_tpp_restrict_to_packages + .description,
|
||||
input[id^="wc_tpp_restrict_to_packages_"] + .description {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user