Enhance product links and translations; update styles and add registration modal
- Updated product links in rma.php and rma_manage.php to include icons for better UX. - Improved German, Spanish, Dutch, Polish, Portuguese, and US translations with new phrases for software licenses and user information prompts. - Refactored CSS to remove redundant styles and added new styles for a registration modal, enhancing the overall UI. - Introduced JavaScript variables for user information prompts in softwaretool.php for better localization support.
This commit is contained in:
181
style/admin.css
181
style/admin.css
@@ -1062,43 +1062,6 @@ main .manage-order-table .delete-item:hover {
|
||||
color: #e26060;
|
||||
}
|
||||
|
||||
.table table tbody .status {
|
||||
padding: 6px 12px;
|
||||
border-radius: 6px;
|
||||
background-color: #10b981;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
color: var(--color-white);
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
.table table tbody .status.enabled {
|
||||
padding: 6px 12px;
|
||||
border-radius: 6px;
|
||||
background-color: #10b981;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
color: var(--color-white);
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
.table table tbody .status.disabled {
|
||||
padding: 6px 12px;
|
||||
border-radius: 6px;
|
||||
background-color: #ef4444;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
color: var(--color-white);
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
|
||||
.status {
|
||||
padding: 3px 6px;
|
||||
border-radius: 4px;
|
||||
@@ -1335,6 +1298,24 @@ background-color: var(--color-indicator-1);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.link-with-icon {
|
||||
text-decoration: none;
|
||||
color: var(--color-green);
|
||||
font-weight: 500;
|
||||
transition: color 0.2s ease;
|
||||
}
|
||||
|
||||
.link-with-icon:hover {
|
||||
color: var(--color-dark-green);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.link-with-icon i {
|
||||
font-size: 0.75em;
|
||||
margin-left: 4px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.btn_link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -3128,4 +3109,128 @@ main .content-block .button-container {
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
}
|
||||
|
||||
/* Registration Modal Styles */
|
||||
|
||||
.reg-modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
z-index: 1000;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.reg-modal-content {
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
max-width: 600px;
|
||||
width: 90%;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
margin: 20px;
|
||||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.reg-modal-header {
|
||||
padding: 25px;
|
||||
border-bottom: 2px solid #e0e0e0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.reg-modal-header h3 {
|
||||
margin: 0;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.reg-modal-close {
|
||||
background: transparent;
|
||||
border: none;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.reg-tabs {
|
||||
border-bottom: 1px solid #e0e0e0;
|
||||
}
|
||||
|
||||
.reg-tab-link {
|
||||
padding: 15px 25px;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
color: #666;
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: all 0.3s;
|
||||
}
|
||||
|
||||
.reg-tab-link.active {
|
||||
border-bottom: 2px solid #04AA6D;
|
||||
color: #04AA6D;
|
||||
}
|
||||
|
||||
.reg-tab-content {
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
.reg-fields {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.reg-field-group {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.reg-field label {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
color: #666;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.reg-field p {
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
background: #f8f9fa;
|
||||
border-radius: 6px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.reg-field-email {
|
||||
color: #04AA6D;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.reg-field-email:hover {
|
||||
background: #e9ecef;
|
||||
}
|
||||
|
||||
.reg-empty-state {
|
||||
text-align: center;
|
||||
padding: 40px 20px;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.reg-empty-state i {
|
||||
font-size: 48px;
|
||||
margin-bottom: 15px;
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.reg-empty-state p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -80,9 +80,20 @@ body {
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
text-decoration: none;
|
||||
margin-left: auto;
|
||||
padding: 8px 16px;
|
||||
background-color: transparent;
|
||||
color: var(--text-color);
|
||||
border: 1px solid var(--text-color);
|
||||
border-radius: 4px;
|
||||
font-size: 12px;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.register-link:hover {
|
||||
background-color: var(--text-color);
|
||||
color: var(--color-white);
|
||||
}
|
||||
|
||||
.header {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user