Skip to content
Snippets Groups Projects
Commit fa7f53f7 authored by Sreeram, Sudarshan's avatar Sreeram, Sudarshan :carrot:
Browse files

Fix hover background colour on buttons

parent 681da6c6
No related branches found
No related tags found
No related merge requests found
......@@ -10,4 +10,4 @@ body {
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
\ No newline at end of file
}
......@@ -5,7 +5,7 @@ import TopBar from "./organisms/TopBar";
import BottomBar from "./organisms/BottomBar";
import {
faBookOpen,
faEllipsisH,
faHome,
faCalendarWeek,
faChalkboardTeacher,
} from "@fortawesome/free-solid-svg-icons";
......@@ -30,10 +30,10 @@ class App extends React.Component<{}, MyState> {
render() {
const horizontalBarPages = [
{ name: "Home", path: "/home", icon: faHome },
{ name: "Modules", path: "/modules", icon: faChalkboardTeacher },
{ name: "Timetable", path: "/timetable", icon: faCalendarWeek },
{ name: "Exams", path: "/exams", icon: faBookOpen },
{ name: "Other", path: "/other", icon: faEllipsisH },
];
return (
......
@import "assets/scss/custom";
@media (max-width: 992px) {
.btn:active,
.btn:global(.active) {
......@@ -28,5 +29,11 @@
.btn:hover {
border: 0px;
background-color: #ced4da;
color: #000;
}
.btn:active:hover,
.btn:global(.active):hover {
background-color: $gray-900 !important;
}
}
\ No newline at end of file
}
......@@ -25,4 +25,9 @@
font-weight: 500 !important;
color: $white !important;
}
}
\ No newline at end of file
.pageButton:active:hover,
.pageButton:global(.active):hover {
background-color: $gray-900 !important;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment