Skip to content

Commit

Permalink
minor bugs - ready to be deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
Manu committed Jun 12, 2018
1 parent c339574 commit b3e48d3
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
import {
defaultFont,
primaryColor,
primaryBoxShadow
primaryBoxShadow,
infoColor,
infoBoxShadow,
successColor,
successBoxShadow,
warningColor,
warningBoxShadow,
dangerColor,
dangerBoxShadow,
roseColor,
roseBoxShadow,
} from "assets/jss/material-kit-react.jsx";

const customDropdownStyle = theme => ({
Expand Down Expand Up @@ -70,6 +80,41 @@ const customDropdownStyle = theme => ({
...primaryBoxShadow
}
},
infoHover: {
"&:hover": {
backgroundColor: infoColor,
color: "#FFFFFF",
...infoBoxShadow
}
},
successHover: {
"&:hover": {
backgroundColor: successColor,
color: "#FFFFFF",
...successBoxShadow
}
},
warningHover: {
"&:hover": {
backgroundColor: warningColor,
color: "#FFFFFF",
...warningBoxShadow
}
},
dangerHover: {
"&:hover": {
backgroundColor: dangerColor,
color: "#FFFFFF",
...dangerBoxShadow
}
},
roseHover: {
"&:hover": {
backgroundColor: roseColor,
color: "#FFFFFF",
...roseBoxShadow
}
},
dropdownItemRTL: {
textAlign: "right"
},
Expand Down
2 changes: 1 addition & 1 deletion src/assets/jss/material-kit-react/views/landingPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { container, title } from "assets/jss/material-kit-react.jsx";

const landingPageStyle = {
container: {
zIndex: "1",
zIndex: "12",
color: "#FFFFFF",
...container
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/CustomDropdown/CustomDropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ CustomDropdown.defaultProps = {

CustomDropdown.propTypes = {
classes: PropTypes.object.isRequired,
hoverColor: PropTypes.oneOf(["primary", "black"]),
hoverColor: PropTypes.oneOf(["black", "primary", "info", "success", "warning", "danger", "rose"]),
buttonText: PropTypes.node,
buttonIcon: PropTypes.func,
dropdownList: PropTypes.array,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Header extends React.Component {
[classes.fixed]: fixed
});
const brandComponent = (
<Button href="#" className={classes.title}>
<Button className={classes.title}>
{brand}
</Button>
);
Expand Down
1 change: 1 addition & 0 deletions src/views/Components/Sections/SectionNavbars.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class SectionNavbars extends React.Component {
<ListItem className={classes.listItem}>
<CustomDropdown
left
hoverColor="info"
dropdownHeader="Dropdown Header"
buttonIcon={Settings}
buttonProps={{
Expand Down

0 comments on commit b3e48d3

Please sign in to comment.