Enhance button styling in search div: add relative positioning and high z-index to anchor tags within .btn-primary for improved layering.
This commit is contained in:
@@ -55,13 +55,16 @@ class cvIngListener
|
||||
|
||||
$billing = $action->getRequestParameter('user_data_billing', array());
|
||||
|
||||
if(!$billing['full_name']) {
|
||||
$i18n = $action->getContext()->getI18N();
|
||||
$action->getRequest()->setError('user_data_billing{full_name}', $i18n->__('Brak imienia i nazwiska.'));
|
||||
$ok = false;
|
||||
} elseif(!cvIngService::validateName($billing['full_name'])) {
|
||||
$action->getRequest()->setError('user_data_billing{full_name}', $validateError['full_name']);
|
||||
$ok = false;
|
||||
// Tylko dla osób prywatnych (customer_type != 2) wymagamy imienia i nazwiska
|
||||
if($billing['customer_type'] != 2) {
|
||||
if(!$billing['full_name']) {
|
||||
$i18n = $action->getContext()->getI18N();
|
||||
$action->getRequest()->setError('user_data_billing{full_name}', $i18n->__('Brak imienia i nazwiska.'));
|
||||
$ok = false;
|
||||
} elseif(!cvIngService::validateName($billing['full_name'])) {
|
||||
$action->getRequest()->setError('user_data_billing{full_name}', $validateError['full_name']);
|
||||
$ok = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -632,6 +632,11 @@ div#search .btn-primary {
|
||||
margin-top: -10px;
|
||||
background: #c00;
|
||||
padding: 2px;
|
||||
|
||||
a {
|
||||
position: relative;
|
||||
z-index: 9999;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user