Files
formipay/admin/assets/css/admin-global.css
2025-09-15 17:44:39 +07:00

53 lines
1.8 KiB
CSS

li#toplevel_page_formipay .wp-menu-image img {
width: 18px;
}
li#toplevel_page_formipay a[href^="admin.php?page=formipay-orders"]:before,
li#toplevel_page_formipay a[href^="admin.php?page=formipay-settings"]:before{
border-bottom: 1px solid hsla(0, 0%, 100%, .2);
display: block;
float: left;
margin: 8px -15px 13px;
content: "";
width: calc(100% + 26px);
}
/** CHOICES */
.category > .choices {
min-width: 200px;
}
.choices__inner {
max-width: 100%;
width: unset;
display: block;
min-height: unset!important;
padding: 2px!important;
border: 1px solid #b7b7b7!important;
border-radius: .5em!important;
background-color: #ffffff;
}
.choices__list {
display: block;
}
.choices__list:not(.choices__list--dropdown) {
padding: 10px 14px;
}
.choices__list.choices__list--dropdown {
margin-top: .5em;
border-radius: .5em;
}
.choices__list.choices__list--dropdown > .choices__list {
padding: 0;
}
.choices__item.choices__item--choice.is-selected.choices__item--selectable.is-highlighted {
background-color: #277aff25!important;
}
/** END CHOICES */
.wp-submenu-wrap li:has(a[href="edit-tags.php?taxonomy=formipay-product-category&post_type=formipay-product"]) {
display: none;
}
.wp-submenu-wrap li:has(a[href="admin.php?page=formipay-products"]).current ~ li:has(a[href="edit-tags.php?taxonomy=formipay-product-category&post_type=formipay-product"]),
.wp-submenu-wrap li:has(a[href="admin.php?page=formipay-products"]):hover ~ li:has(a[href="edit-tags.php?taxonomy=formipay-product-category&post_type=formipay-product"]),
li:has(a[href="edit-tags.php?taxonomy=formipay-product-category&post_type=formipay-product"]):hover,
.wp-submenu-wrap li:has(a[href="edit-tags.php?taxonomy=formipay-product-category&post_type=formipay-product"]).current {
display: block;
}