forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
css fixes and removed placeholder (kubeflow#1260)
- Loading branch information
1 parent
8deef2d
commit 7b16bef
Showing
8 changed files
with
276 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
import { createMuiTheme } from '@material-ui/core'; | ||
|
||
export const CommonCss = { | ||
accent: '#3b78e7', | ||
}; | ||
|
||
export const theme = createMuiTheme({ | ||
overrides: { | ||
MuiButton: { | ||
containedPrimary: { | ||
'&:hover': { | ||
backgroundColor: '#3d8df5', | ||
}, | ||
backgroundColor: '#1a73e8', | ||
}, | ||
root: { | ||
color: CommonCss.accent, | ||
fontFamily: '"google sans", Helvetica', | ||
fontWeight: 'inherit', | ||
textTransform: 'none', | ||
}, | ||
}, | ||
MuiFormLabel: { | ||
focused: { | ||
color: CommonCss.accent + ' !important', | ||
}, | ||
root: { | ||
color: '#333', | ||
fontSize: 18, | ||
fontWeight: 500, | ||
margin: '12px 10px', | ||
}, | ||
}, | ||
MuiInput: { | ||
input: { | ||
color: '#555', | ||
fontSize: 15, | ||
height: 40, | ||
padding: '0 10px', | ||
}, | ||
root: { | ||
marginTop: '25px !important', | ||
}, | ||
underline: { | ||
'&:after': { | ||
borderBottom: `2px solid ${CommonCss.accent}`, | ||
}, | ||
'&:before': { | ||
borderBottom: '1px solid #ccc', | ||
}, | ||
'&:hover:not($disabled):not($focused):not($error):before': { | ||
borderBottom: '1px solid #555', | ||
}, | ||
}, | ||
}, | ||
MuiInputLabel: { | ||
root: { | ||
color: '#555', | ||
}, | ||
}, | ||
}, | ||
}); |
Oops, something went wrong.