-
Larbi Gharib authored
Change-Id: I67df0e1b0b7c7309d932dbe1367fd21d1a56c00c
Larbi Gharib authoredChange-Id: I67df0e1b0b7c7309d932dbe1367fd21d1a56c00c
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
headerStyle.js 1.61 KiB
import {
container,
defaultFont,
primaryColor,
defaultBoxShadow,
infoColor,
successColor,
warningColor,
dangerColor,
whiteColor,
grayColor,
} from "assets/jss/material-dashboard-react.js";
const headerStyle = (theme) => ({
appBar: {
backgroundColor: "transparent",
boxShadow: "none",
borderBottom: "0",
marginBottom: "0",
position: "absolute",
width: "50%",
[theme.breakpoints.down("md")]: {
width: "130px",
},
[theme.breakpoints.up("md")]: {
display: "none",
},
zIndex: "1029",
color: grayColor[7],
border: "0",
borderRadius: "3px",
transition: "all 150ms ease 0s",
minHeight: "50px",
display: "block",
},
container: {
...container,
minHeight: "50px",
},
flex: {
flex: 1,
},
title: {
...defaultFont,
letterSpacing: "unset",
lineHeight: "30px",
fontSize: "18px",
borderRadius: "3px",
textTransform: "none",
color: "inherit",
margin: "0",
"&:hover,&:focus": {
background: "transparent",
},
},
appResponsive: {
top: "8px",
},
primary: {
backgroundColor: primaryColor[0],
color: whiteColor,
...defaultBoxShadow,
},
info: {
backgroundColor: infoColor[0],
color: whiteColor,
...defaultBoxShadow,
},
success: {
backgroundColor: successColor[0],
color: whiteColor,
...defaultBoxShadow,
},
warning: {
backgroundColor: warningColor[0],
color: whiteColor,
...defaultBoxShadow,
},
danger: {
backgroundColor: dangerColor[0],
color: whiteColor,
...defaultBoxShadow,
},
});
export default headerStyle;