diff options
| -rw-r--r-- | views/mods/mod_revocation/wpsg_revocation.css | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/views/mods/mod_revocation/wpsg_revocation.css b/views/mods/mod_revocation/wpsg_revocation.css index dd16281..f1acd9b 100644 --- a/views/mods/mod_revocation/wpsg_revocation.css +++ b/views/mods/mod_revocation/wpsg_revocation.css @@ -5,6 +5,15 @@ /* Button am Produkt (Produkttemplate, SmartCheckout) */ .wpsg_revocation_product_button { display:inline-flex; align-items:center; gap:0.4rem; width:auto; padding:0.35rem 0.7rem; border:1px solid var(--rv-line); border-radius:var(--rv-radius); background:none; color:inherit; font-size:0.85rem; line-height:1.2; cursor:pointer; user-select:none; transition:background-color 0.15s ease-out, border-color 0.15s ease-out; } .wpsg_revocation_product_button, #wpsg_revocation_button, #wpsg_revocation_dialog .inner > .header .close, .wpsg_revocation_order_product_open { margin:0; font-family:inherit; text-align:left; -webkit-appearance:none; appearance:none; } +/* Seit 4.6.1 echte Knöpfe (K50): Knopfregeln der Themes auf button zurücksetzen, damit sie aussehen wie zuvor als div */ +.wpsg_revocation_product_button.wpsg_revocation_product_button, .wpsg_revocation_order_product_open.wpsg_revocation_order_product_open, #wpsg_revocation_button { min-height:0; box-shadow:none; font-weight:inherit; letter-spacing:inherit; text-transform:none; text-shadow:none; } +.wpsg_revocation_product_button.wpsg_revocation_product_button { padding:0.35rem 0.7rem; border:1px solid var(--rv-line); border-radius:var(--rv-radius); background:none; color:inherit; font-size:0.85rem; line-height:1.2; } +.wpsg_revocation_product_button.wpsg_revocation_product_button:focus, .wpsg_revocation_product_button.wpsg_revocation_product_button:active { background:none; color:inherit; border-color:var(--rv-line); } +.wpsg_revocation_product_button.wpsg_revocation_product_button:hover { background:var(--rv-flat); color:inherit; border-color:currentColor; } +.wpsg_revocation_order_product_open.wpsg_revocation_order_product_open, .wpsg_revocation_order_product_open.wpsg_revocation_order_product_open:hover, .wpsg_revocation_order_product_open.wpsg_revocation_order_product_open:focus { padding:0; border:0; border-radius:0; background:none; color:inherit; font-size:inherit; line-height:inherit; } +#wpsg_revocation_button { line-height:inherit; } +#wpsg_revocation_button:hover, #wpsg_revocation_button:focus, #wpsg_revocation_button:active { background-color:#FFFFFF; color:#1d1d1d; box-shadow:0 2px 10px rgba(0, 0, 0, 0.08); } +#wpsg_revocation_dialog .inner > .header .close:hover, #wpsg_revocation_dialog .inner > .header .close:focus { background:none; color:inherit; box-shadow:none; } #wpsg_revocation_dialog .inner > .header .close, .wpsg_revocation_order_product_open { padding:0; border:0; background:none; } .wpsg_revocation_order_product_open { color:inherit; font-size:inherit; line-height:inherit; cursor:pointer; text-decoration:underline; } .wpsg_revocation_product_button:hover { background:var(--rv-flat); border-color:currentColor; } |
