-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exposed new APIs, updated existing API contract, modified the UI desi…
…gn and other changes
- Loading branch information
1 parent
78fe5c6
commit c80417d
Showing
12 changed files
with
484 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
src/main/java/com/expensys/controller/ReportController.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,232 @@ | ||
/* CSS Reset */ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
/* Global styling */ | ||
body { | ||
font-family: 'Arial', sans-serif; | ||
margin: 0; | ||
padding: 0; | ||
background: #ecf0f1; /* Clouds background */ | ||
color: #333; /* Dark gray text */ | ||
transition: background-color 0.3s ease-in-out; | ||
} | ||
|
||
/* Headings */ | ||
h1, h2 { | ||
text-align: center; | ||
} | ||
|
||
h1 { | ||
font-size: 48px; | ||
margin-top: 20px; | ||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); | ||
color: #3498db; /* Dodger blue */ | ||
transition: color 0.3s ease-in-out; | ||
} | ||
|
||
h2 { | ||
font-size: 30px; | ||
margin: 0; | ||
color: #3498db; /* Dodger blue */ | ||
} | ||
|
||
/* Form elements */ | ||
section#filter-options { | ||
background-color: #fff; | ||
padding: 10px 0; | ||
border-radius: 8px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); | ||
text-align: center; | ||
} | ||
|
||
label { | ||
font-weight: bold; | ||
} | ||
|
||
select { | ||
font-size: 14px; | ||
padding: 10px; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
background: #f2f2f2; | ||
} | ||
|
||
select:hover { | ||
border-color: #2980b9; /* Darker blue on hover */ | ||
} | ||
|
||
/* Additional Elements */ | ||
#loadingSpinner { | ||
display: block; | ||
margin: 20px auto; | ||
border: 8px solid rgba(0, 0, 0, 0.1); | ||
border-radius: 50%; | ||
border-top: 8px solid #333; | ||
width: 50px; | ||
height: 50px; | ||
animation: spin 1s linear infinite; | ||
} | ||
|
||
#errorMessage { | ||
display: block; | ||
margin: 20px auto; | ||
padding: 20px; | ||
background-color: #e74c3c; /* Alizarin crimson */ | ||
color: #fff; | ||
border-radius: 10px; | ||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | ||
text-align: center; | ||
} | ||
|
||
/* Pagination controls */ | ||
.pagination { | ||
text-align: center; | ||
margin: 20px 0; | ||
} | ||
|
||
.pagination button { | ||
background-color: #3498db; /* Dodger blue */ | ||
color: #fff; | ||
padding: 12px 24px; | ||
border: none; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
margin: 0 10px; | ||
transition: background 0.3s ease-in-out; | ||
} | ||
|
||
.pagination button:hover { | ||
background-color: #2980b9; /* Darker blue on hover */ | ||
transform: scale(1.05); /* Add scale effect on hover */ | ||
} | ||
|
||
.current-page { | ||
margin: 0 10px; | ||
font-size: 18px; | ||
font-weight: bold; | ||
color: #3498db; /* Dodger blue */ | ||
transition: color 0.3s ease-in-out; | ||
} | ||
|
||
/* Tables */ | ||
table { | ||
width: 100%; | ||
border-collapse: collapse; | ||
margin: 50px auto; | ||
background-color: #fff; | ||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); | ||
border-radius: 10px; | ||
overflow: hidden; | ||
transition: box-shadow 0.3s ease-in-out; | ||
color: #333; /* Dark gray text */ | ||
} | ||
|
||
th, td { | ||
padding: 15px; | ||
text-align: left; | ||
border-bottom: 1px solid #ccc; | ||
font-size: 18px; | ||
transition: background-color 0.3s ease-in-out; | ||
} | ||
|
||
th { | ||
background-color: #3498db; /* Dodger blue */ | ||
color: #fff; | ||
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
tr:nth-child(even) { | ||
background-color: #f9f9f9; /* Light gray background for even rows */ | ||
} | ||
|
||
tr:hover { | ||
background-color: #e0e0e0; /* Slightly darker gray on hover */ | ||
} | ||
|
||
/* Sorting icons */ | ||
.sort-icon { | ||
display: inline-block; | ||
margin-left: 5px; | ||
font-size: 16px; | ||
transition: transform 0.3s ease-in-out; | ||
} | ||
|
||
.sortable:hover .sort-icon { | ||
transform: scale(1.2); | ||
} | ||
|
||
/* Pagination controls at the top and bottom */ | ||
.pagination-controls { | ||
text-align: center; | ||
margin: 20px 0; | ||
} | ||
|
||
.pagination-controls button { | ||
background-color: #3498db; /* Dodger blue */ | ||
color: #fff; | ||
padding: 12px 24px; | ||
border: none; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
margin: 0 10px; | ||
transition: background 0.3s ease-in-out; | ||
} | ||
|
||
.pagination-controls button:hover { | ||
background-color: #2980b9; /* Darker blue on hover */ | ||
transform: scale(1.05); /* Add scale effect on hover */ | ||
} | ||
|
||
.pagination-controls .current-page { | ||
margin: 0 10px; | ||
font-size: 18px; | ||
font-weight: bold; | ||
color: #3498db; /* Dodger blue */ | ||
transition: color 0.3s ease-in-out; | ||
} | ||
|
||
/* Responsive styles */ | ||
@media only screen and (max-width: 768px) { | ||
select { | ||
width: 100%; | ||
max-width: calc(100% - 40px); | ||
} | ||
|
||
table { | ||
max-width: calc(100% - 40px); | ||
overflow-x: auto; | ||
} | ||
|
||
th, td { | ||
font-size: 14px; | ||
word-break: break-all; | ||
padding: 15px; | ||
text-align: left; | ||
} | ||
|
||
h1 { | ||
font-size: 36px; | ||
} | ||
|
||
h2 { | ||
font-size: 26px; | ||
} | ||
|
||
.pagination-controls button { | ||
padding: 10px 20px; | ||
font-size: 14px; | ||
margin: 0 5px; | ||
} | ||
} | ||
|
||
/* Loading Spinner Animation */ | ||
@keyframes spin { | ||
0% { transform: rotate(0deg); } | ||
100% { transform: rotate(360deg); } | ||
} |
Oops, something went wrong.