Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7-Need-To-Add-Dropdown-Functionality #20

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
144 changes: 31 additions & 113 deletions eliis-front-end/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions eliis-front-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"@mdi/react": "^1.6.1",
"@mui/material": "^5.14.13",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"axios": "^1.5.1",
"bootstrap": "^5.3.2",
"cdbreact": "^1.5.18",
Expand Down Expand Up @@ -52,5 +50,9 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1"
}
}

This file was deleted.

10 changes: 0 additions & 10 deletions eliis-front-end/src/components/buttons/button/CustomButton.js

This file was deleted.

6 changes: 0 additions & 6 deletions eliis-front-end/src/components/buttons/dropdown/Dropdown.css

This file was deleted.

18 changes: 0 additions & 18 deletions eliis-front-end/src/components/buttons/dropdown/Dropdown.js

This file was deleted.

24 changes: 24 additions & 0 deletions eliis-front-end/src/components/sidebar/Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/* Makes the casing of buttons round */
.rounded-lg {
border-radius: 0.5rem;

}
/* Makes icons from black --> white */
.text-white {
Expand All @@ -35,6 +36,12 @@
align-items: center;
margin-right: 8px;
}
.dropdown-open {
margin-bottom: calc(2.4rem + 2rem * var(--nav-links, 1.7));
}
.chevron-icon {
margin-left: auto !important;
}
/* Styling for whole side navigation bar */
.sidebar {
color: #444;
Expand Down Expand Up @@ -67,3 +74,20 @@
transition: filter .2s ease-in,transform .2s ease-in-out;
}
}

.custom-dropdown-toggle {
color: #444 !important; /* Set text color to black */
background-color: transparent !important; /* Set background color to transparent */
border: none !important; /* Remove border */
}

.custom-dropdown-toggle:hover {
background-color: transparent !important; /* Set background color to transparent on hover */
}

.custom-dropdown-toggle::after {
border: none !important; /* Remove the caret icon */
content: none !important; /* Remove any content (caret icon) */
}


Loading