@material-ui/core#makeStyles JavaScript Examples
The following examples show how to use
@material-ui/core#makeStyles.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MainView.js From akashlytics-deploy with GNU General Public License v3.0 | 6 votes |
useStyles = makeStyles((theme) => ({
root: {
display: "flex",
flexDirection: "column",
height: "100%"
},
accountAppBar: {
top: "30px",
backgroundColor: theme.palette.grey[300]
},
accountBar: {
height: `${accountBarHeight}px`,
display: "flex",
alignItems: "center",
justifyContent: "space-between",
width: "100%"
},
viewContainer: {
display: "flex",
width: "100%",
borderRadius: 0,
flexGrow: 1,
height: "100%"
},
viewContentContainer: {
flexGrow: 1,
overflowX: "hidden",
transition: "margin-left .3s ease"
}
}))
Example #2
Source File: CoinButton.js From Alternative-Uniswap-Interface with GNU General Public License v3.0 | 6 votes |
useStyles = makeStyles((theme) => ({
button: {
width: "100%",
paddingTop: theme.spacing(0.5),
paddingBottom: theme.spacing(0.5),
"&:hover, &$focusVisible": {
backgroundColor: COLORS.grey[200],
},
},
coinName: {
opacity: 0.6,
},
}))
Example #3
Source File: Activities.js From AdaptivApps-fe with MIT License | 6 votes |
useStyles = makeStyles({
root: {
"& td": {
marginLeft: "3rem",
width: "20rem",
padding: "0 1% 2% 0",
display: "flex",
textAlign: "left",
fontSize: "1.6rem",
},
"& a": {
fontSize: "1.6rem",
textDecoration: "none",
},
},
nameLink: {
color: "#2962FF",
"& .MuiButton-label": {
fontSize: "1.6rem",
fontWeight: 500,
},
},
rolesDialog: {
display: "flex",
justifyContent: "center",
alignItems: "center",
margin: "0",
padding: "0",
},
time: {
margin: "0",
maxWidth: "5rem",
},
})
Example #4
Source File: Resume.js From resumeker-fe with MIT License | 6 votes |
useStyles = makeStyles((theme) => ({
wrapper: {
display: "flex",
justifyContent: "center",
},
paper: {
width: "1240px",
height: "1754px",
display: "flex",
flexDirection: "column",
paddingTop: "2%",
paddingBottom: "2%",
paddingLeft: "5%",
paddingRight: "5%",
},
name: {
fontSize: "30px",
},
}))
Example #5
Source File: Success.js From social-media-strategy-fe with MIT License | 6 votes |
useStyles = makeStyles({
root: {
width: 700,
height: 350,
margin: "1%",
marginTop: "0!important",
display: "flex",
justifyContent: "space-between",
"@media (max-width: 890px)": {
maxWidth: "600px",
},
"@media (max-width: 700px)": {
maxWidth: "390px",
},
},
title: {
fontSize: 40,
fontFamily: "Roboto Condensed",
fontWeight: "Bold",
lineHeight: "100%",
},
words: {
fontSize: 18,
"@media (max-width: 890px)": {
fontSize: 14,
},
// "@media (max-width: 700px)": {
// fontSize: 9,
// },
},
})