mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-10-05 22:05:50 +01:00
Add further responsive UI using uiKit (#36)
Utilising [UiKit](https://getuikit.com/) as the CSS framework Adjusted existing functionality & CSS to integrate with UiKits - should retain same functionality - Ui colors are UiKit defaults - Search results automatically expand when searching - UiKit ensures its automatically responsive for mobile ### **Search results**  ### **Details dialog**   **- The dialog could be improved further by adjusting to a modal in UiKit purely, however wasn't sure on how to do / time reqs.** ### **Search Results & Download Status are in expandable accordions**   ### **Adjusted search to UiKits with clickable search icon**  ### **Added gitHub link to footer and increased font sizing**  ### **Mobile views (Chrome on Desktop) - scales & retains scroll**    ### **TODO:** - Improvements to modal functionality - Pagination - Cleaning (removing unused CSS etc)
This commit is contained in:
+1
-28
@@ -33,12 +33,6 @@ header {
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
@@ -73,27 +67,6 @@ footer {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.search-container button,
|
||||
.download-button {
|
||||
padding: 0.75rem 1.5rem;
|
||||
background: var(--primary-color);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.download-button {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.search-container button:hover,
|
||||
.download-button:hover {
|
||||
background: var(--primary-dark);
|
||||
}
|
||||
|
||||
/* Table Styles */
|
||||
.table-responsive {
|
||||
margin-bottom: 1rem;
|
||||
@@ -214,7 +187,7 @@ tbody tr:hover {
|
||||
|
||||
.details-container {
|
||||
background: white;
|
||||
padding: 2rem;
|
||||
padding: 0.25rem 0.25rem 2rem 3rem;
|
||||
border-radius: 4px;
|
||||
max-width: 800px;
|
||||
width: 90%;
|
||||
|
||||
Reference in New Issue
Block a user