Files
wc-composable-product/assets/css/admin.css
magdev ea2261d8d7 Refactor to PSR-4: rename files and switch namespace
- Rename files to PascalCase: Product_Type → ProductType, Cart_Handler →
  CartHandler, Product_Selector → ProductSelector, Stock_Manager →
  StockManager, Admin/Product_Data → Admin/ProductData
- Switch namespace from WC_Composable_Product to Magdev\WcComposableProduct
- Update all cross-references in PHP, CSS, JS, translations, and docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 12:35:02 +01:00

63 lines
1.3 KiB
CSS
Executable File

/**
* Admin Styles for Composable Products
*
* @package Magdev\WcComposableProduct
*/
/* Hide composable panel by default */
#composable_product_data {
display: none;
padding: 12px;
}
/* Show composable panel when composable type is selected */
body.product-type-composable #composable_product_data {
display: block;
}
.composable_criteria_group {
border-top: 1px solid #eee;
padding-top: 12px;
margin-top: 12px;
}
#_composable_categories,
#_composable_tags {
min-height: 150px;
}
/* Hide composable-specific elements by default (but not tabs) */
.options_group.show_if_composable {
display: none;
}
/* Show composable elements when composable product type is selected */
body.product-type-composable .options_group.show_if_composable {
display: block;
}
/* Hide the Composable Options tab link by default */
.product_data_tabs li.composable_options {
display: none;
}
/* Show the Composable Options tab when composable type selected */
body.product-type-composable .product_data_tabs li.composable_options {
display: block;
}
.composable_options.composable_tab a::before {
content: '\f323';
font-family: 'Dashicons';
}
/* Enhanced select styling */
.wc-composable-product-admin .select2-container {
min-width: 50%;
}
/* Help tips */
.woocommerce-help-tip {
color: #666;
}