aboutsummaryrefslogtreecommitdiff
path: root/modern/src/theme/overrides.js
blob: 28ac7467b233745ea98072c5d9c41e49fe294bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import dimensions from './dimensions';

export default {
  MuiFormControl: {
    root: {
      height: dimensions.inputHeight,
    }
  },
  MuiInputLabel: {
    filled: {
      transform: 'translate(12px, 14px) scale(1)',
        '&$shrink' :{
          transform: 'translate(12px, -12px) scale(0.75)'
        }
    },
  },      
  MuiFilledInput: {
    root: {
      height: dimensions.inputHeight,
      borderRadius: dimensions.borderRadius,
      background: 'rgba(0, 0, 0, 0.035)',
    },
    input: {
      height: dimensions.inputHeight,
      borderRadius: dimensions.borderRadius,
      paddingTop: '10px',
      boxSizing: 'border-box',
      '&:-webkit-autofill': {
        WebkitBoxShadow: '0 0 0 100px #eeeeee inset',
      },        
    },
    underline: {
      "&:before": {
        borderBottom: 'none',
      },
      "&:after": {
        borderBottom: 'none',
      },
      "&:hover:before": {
        borderBottom: 'none',
      },             
    }
  },
  MuiButton: {
    root: {
      height: dimensions.inputHeight,
      textTransform: 'none'
    }
  }
};