woocommerce/plugins/woocommerce-admin/client/wp-admin-scripts/print-shipping-label-banner/style.scss

159 lines
2.3 KiB
SCSS
Raw Normal View History

#woocommerce-admin-print-label {
.postbox-header {
display: none;
}
min-height: 100px;
.hndle,
.handlediv {
display: none;
}
.wc-admin-shipping-banner-container {
display: flex;
align-items: center;
margin-top: 18px;
margin-bottom: 6px;
}
.wc-admin-shipping-banner-illustration {
margin-right: 8px;
}
.wc-admin-shipping-banner-blob {
margin-right: 8px;
}
h3 {
margin: 0;
font-size: 1.15em;
}
p {
margin: 0;
font-size: 15px;
line-height: 19px;
}
.components-button.is-primary {
margin: 10px 61px 10px auto;
padding: 0 30px;
font-size: 14px;
font-weight: 500;
line-height: 25px;
text-decoration: none;
text-shadow: none;
overflow: visible;
}
.notice-dismiss {
top: 14px;
right: 18px;
}
.wc-admin-shipping-banner-install-error {
color: #d63638;
> .warning-icon {
margin-right: 3px;
vertical-align: middle;
margin-top: -2px;
path {
fill: #d63638;
}
}
}
.components-external-link__icon {
display: none;
}
Update woocommerce shipping promo banner [wc-shipping-188] (#50970) * Make sure the WC Shipping slug is used for installation * Make sure the check to show banner metabox work for HPOS as well * Make ShippingLabelBannerDisplayRules::order_has_shippable_products work with HPOS as well * Remove Jetpack plugin specific checks in ShippingLabelBannerDisplayRules * Use correct variable names for dotcom connection * Fix comments * Remove depenency on WCS&T for showing WC Shipping promo banner * Remove WC Tax and WC Shipping from incompatible plugins * Vary action button label if WCS&T is already installed * Inject config and render label purchase app after activation * Open the purchase modal after adding it to DOM * Render Shipment tracking metabox * Use a different headline when WCS&T is already installed * Fix UX when a none-compatible WCS&T is already active * Fix CSS linting issues * Fix Jslint issues * Improve around usage of localized variables * Fix and update JS tests * Address phpcs issues * Delete metaboxes of compatible WCS&T * Remove redundant variable assignment * Remove css and js of WCS&T if a compatible version is installed * Fix failing legacy PHPUnit tests * Only open the new label purchase modal if WCS&T is not active * Remove redundant code around TOS acceptance for showing the banner * Remove redundant test for Jetpack version checking * Make sure target passed to MutationObserver.observe is available * Add changelog file * Add openWcsModal to component's prototype * Add more js unit tests * Address PHP notice * Remove redundant variable assignments * Rename wcsPluginSlug to more clear wcShippingPluginSlug * Add a link to plugins page if incompatible WCS&T is already installed * Remove unused function parameters * Fix API resource path * Handle a case where none compatible version of WCShipping is installed
2024-09-02 12:23:52 +00:00
&.error {
min-height: auto;
.inside {
padding-bottom: 6px;
p {
font-size: 13px;
}
}
}
}
.components-modal__frame.wc-admin-shipping-banner__dismiss-modal {
width: 500px;
max-width: 100%;
.components-modal__header {
.components-button.has-icon {
left: 15px;
svg {
width: 30px;
height: 30px;
}
}
}
.components-modal__header-heading {
font-style: normal;
font-weight: 500;
font-size: 20px;
line-height: 32px;
}
.wc-admin-shipping-banner__dismiss-modal-help-text {
font-size: 16px;
line-height: 24px;
}
.wc-admin-shipping-banner__dismiss-modal-actions {
text-align: right;
.components-button.is-primary {
padding-left: 15px;
padding-right: 15px;
text-align: center;
font-size: 14px;
line-height: 15px;
font-weight: 500;
align-items: center;
margin-left: 10px;
}
button.is-primary {
align-self: flex-end;
}
}
}
@media ( max-width: 1080px ) {
#woocommerce-admin-print-label {
text-align: center;
.wc-admin-shipping-banner-container {
flex-wrap: wrap;
justify-content: center;
}
.components-button.is-primary {
margin: 10px 0 0 0;
}
p {
margin: 5px 15px;
max-width: initial;
}
h3 {
margin-top: 10px;
}
}
}
.notice.wcs-nux__notice {
display: none;
}
.wc-admin-shipping-banner__dismiss-modal {
.components-button {
span {
display: none;
}
}
}