
All checks were successful
Build / Build (push) Successful in 28s
This commit removes the `tasks.json` file from the `.vscode` directory. Additionally, it enhances the documentation in `fnc_buyItem.sqf` and `fnc_buyVehicle.sqf` by providing clearer descriptions of item and vehicle types. The `fnc_handlePurchase.sqf` has also been updated to improve variable scoping for better code clarity.
164 lines
2.6 KiB
CSS
164 lines
2.6 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
background-color: #f4f4f4;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
header {
|
|
background-color: #333;
|
|
color: white;
|
|
padding: 1rem 0;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.balance-display {
|
|
display: flex;
|
|
gap: 2rem;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.balance-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.balance-item i {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.actions-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.action-tile {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
transition: transform 0.3s;
|
|
aspect-ratio: 1;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.action-tile:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.action-tile h2 {
|
|
font-size: 1.5rem;
|
|
color: #333;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.form-group label {
|
|
font-weight: bold;
|
|
color: #555;
|
|
}
|
|
|
|
.form-group input, .form-group select {
|
|
padding: 0.5rem;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.submit-btn {
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
padding: 0.75rem 1rem;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.history-section {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 2rem;
|
|
margin-top: 2rem;
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.history-list {
|
|
list-style: none;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.history-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.history-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.transaction-type {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.amount-positive {
|
|
color: #28a745;
|
|
}
|
|
|
|
.amount-negative {
|
|
color: #dc3545;
|
|
}
|
|
|
|
.error-message {
|
|
color: #dc3545;
|
|
font-size: 0.875rem;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.success-message {
|
|
color: #28a745;
|
|
font-size: 0.875rem;
|
|
margin-top: 0.25rem;
|
|
}
|