-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathstudent.styles.ts
More file actions
102 lines (87 loc) · 2.08 KB
/
student.styles.ts
File metadata and controls
102 lines (87 loc) · 2.08 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
import { css } from 'emotion';
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 textarea = css`
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;
}
`;
export const downButton = css`
display: flex;
align-items: left;
width: 100%;
padding: ${spacing(1.25)} ${spacing(1.875)};
flex: 1;
font-size: 1.188rem;
font-weight: 400;
text-transform: capitalize;
border-radius: 0;
color: ${color.blueDark};
background-color: white;
border: 2px solid ${color.blueDark};
transition: all 0.2s;
&:hover,
&:active {
color: white;
background-color: ${color.blueDark};
border: 2px solid ${color.blueDark};
outline: none;
}
@media (min-width: ${breakpoints.values.xs}px) {
max-width:50%;
}
`;
export const downIcon = css`
margin-right: ${spacing(1.25)};
font-size: 1.25rem;
display: none;
@media (min-width: ${breakpoints.values.xs}px) {
display: initial;
}
`;
export const downScroll = css`
@media (min-width: ${breakpoints.values.xs}px) {
display: flex;
justify-content: space-between;
}
`