aboutsummaryrefslogtreecommitdiff
path: root/modern/src/theme/overrides.js
blob: c8d64a9d52db1caa5e7ba81631569acde622d6c2 (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
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,
    }
  }
};