Skip to content

Commit a8bfae7

Browse files
hannahmcgtesttestkatconnors
authored
Student Modal Styling (#318)
* update modal styling to mirror DS and edit button font * update header typography and update outline styling * ran prettier * update button padding to align with other containers * run prettier * re-add modalContent styling class * reinstate env example file * prevent render of IEP fields if null or undefined * edit to CI workflow --------- Co-authored-by: test <test@hannnahs-mbp.attlocal.net> Co-authored-by: test <test@hannnahs-mbp.lan> Co-authored-by: Katrina Connors <koktakatrina@gmail.com>
1 parent 3694816 commit a8bfae7

File tree

5 files changed

+240
-97
lines changed

5 files changed

+240
-97
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ S3_USER_UPLOADS_SECRET_ACCESS_KEY=minioadmin
1717
S3_USER_UPLOADS_BUCKET_NAME=compass-files
1818

1919
EMAIL=no.reply.project.compass@gmail.com
20-
EMAIL_PASS=
20+
EMAIL_PASS=

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: PR
2-
on: [pull_request]
2+
on: [push]
33
jobs:
44
type-check:
55
name: type-check

src/components/design_system/button/Button.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
text-decoration: none;
1010
text-align: center;
1111
font-size: var(--base-size);
12+
font-family: var(--quicksand);
13+
font-weight: normal;
1214
text-transform: none;
1315
line-height: normal;
1416
letter-spacing: 0;
Lines changed: 74 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,74 @@
1-
/* PLACEHOLDER FOR DESIGN SYSTEMS COMPONENT CSS
2-
see notes in component file */
1+
.editForm {
2+
width: 100%;
3+
}
4+
5+
.modalContent {
6+
position: absolute;
7+
top: 25%;
8+
left: 50%;
9+
transform: translate(-50%);
10+
width: 400;
11+
background-color: white;
12+
border: 1px solid #000;
13+
border-radius: 10px;
14+
box-shadow: 24;
15+
padding: 3rem;
16+
}
17+
18+
.editModalContent {
19+
position: absolute;
20+
top: 50%;
21+
left: 50%;
22+
transform: translate(-50%, -50%);
23+
width: 80%;
24+
height: auto;
25+
background-color: white;
26+
border: 1px solid var(--on-primary-container);
27+
border-radius: 10px;
28+
box-shadow: 24;
29+
padding: 2rem;
30+
color: var(--on-primary-container);
31+
font-family: var(--inter);
32+
}
33+
34+
.editModalHeader {
35+
font-family: var(--quicksand);
36+
font-weight: var(--semibold);
37+
font-size: var(--h4);
38+
text-align: center;
39+
}
40+
41+
.editModalContainer {
42+
background-color: #ffffff;
43+
border-radius: 10px;
44+
padding: 10px 20px;
45+
}
46+
47+
.editModalTextfield {
48+
width: 100%;
49+
}
50+
51+
.editModalContainerButtons {
52+
margin-top: 1rem;
53+
padding: 10px 20px;
54+
}
55+
56+
.editModalButtonWrap {
57+
display: flex;
58+
justify-content: space-between;
59+
width: 100%;
60+
}
61+
62+
/* Small Devices, Tablets */
63+
@media only screen and (min-width: 768px) {
64+
.editModalContent {
65+
width: 60%;
66+
}
67+
}
68+
69+
/* Medium Devices, Desktops */
70+
@media only screen and (min-width: 992px) {
71+
.editModalContent {
72+
width: 40%;
73+
}
74+
}

0 commit comments

Comments
 (0)