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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
const space = {
margin: '40px 0'
};
const styles = theme => ({
gradient: {
extend: space,
border: 0,
height: 1,
background: '#333',
backgroundImage: 'linear-gradient(to right, #fff, #8c8c8c, #fff)'
},
colorDash: {
border: 0,
extend: space,
borderBottom: `1px dashed ${theme.palette.grey[100]}`,
background: '#999'
},
shadow: {
height: 12,
extend: space,
border: 0,
boxShadow: 'inset 0 12px 12px -12px rgba(0, 0, 0, 0.5)'
},
inset: {
border: 0,
extend: space,
height: 0,
borderTop: '1px solid rgba(0, 0, 0, 0.1)',
borderBottom: '1px solid rgba(255, 255, 255, 0.3)'
},
flairedEdges: {
overflow: 'visible', /* For IE */
extend: space,
height: 30,
borderStyle: 'solid',
borderColor: theme.palette.grey[400],
borderWidth: '1px 0 0 0',
borderRadius: 20,
'&:before': {
display: 'block',
content: '""',
height: 30,
marginTop: -31,
borderStyle: 'solid',
borderColor: theme.palette.grey[400],
borderWidth: '0 0 1px 0',
borderRadius: 20
}
},
content: {
overflow: 'visible', /* For IE */
extend: space,
padding: 0,
border: 'none',
borderTop: `1px solid ${theme.palette.grey[400]}`,
color: '#333',
textAlign: 'center',
'&:after': {
content: 'attr(data-content)',
display: 'inline-block',
position: 'relative',
top: -15,
fontSize: 14,
padding: '0 0.25em',
background: '#FFF'
}
}
});
export default styles;
|