-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathstudent.styles.ts
More file actions
58 lines (51 loc) · 1.25 KB
/
student.styles.ts
File metadata and controls
58 lines (51 loc) · 1.25 KB
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
import { css } from '@emotion/css';
import { theme } from 'core/theme';
const { typography, spacing, palette, breakpoints } = theme;
const color = palette.customPalette;
export const root = css`
display: grid;
grid-template-columns: auto;
grid-row-gap: 1rem;
grid-column-gap: 1rem;
padding: 1rem;
@media (min-width: ${breakpoints.values.md}px) {
padding: 2rem;
grid-template-columns: 1fr 6fr 1fr;
& > :nth-child(n) {
grid-column-start: 2;
grid-column-end: 3;
}
}
@media (min-width: ${breakpoints.values.lg}px) {
grid-template-columns: 1fr 4fr 1fr;
}
`;
export const sessionName = css`
@media (min-width: ${breakpoints.values.md}px) {
justify-self: start;
}
font-size: 1.125rem;
text-align: center;
border-bottom: 2px solid ${color.primary};
`;
export const label = css`
display: block;
font-family: ${typography.fontFamily};
font-size: 1.125rem;
`;
export const textView = css`
width: 100%;
height: 600px;
overflow: auto;
box-sizing: border-box;
padding: ${spacing(2)};
font-family: ${typography.fontFamily};
font-size: 1rem;
white-space: pre-wrap;
resize: none;
background-color: ${color.background};
border: 2px solid ${color.secondary};
&:focus {
outline: none;
}
`;