Skip to content

Commit 4f35e49

Browse files
authored
Merge pull request #2651 from objectcomputing/hard-coded-css-background-colors
Hard coded css background colors
2 parents 7cb3342 + 66a5533 commit 4f35e49

File tree

6 files changed

+5
-87
lines changed

6 files changed

+5
-87
lines changed

web-ui/src/components/admin/users/Users.css

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,6 @@
44
justify-content: flex-end;
55
}
66

7-
.add-member-modal {
8-
position: absolute;
9-
min-width: 400px;
10-
max-width: 600px;
11-
background-color: #fff;
12-
top: 50%;
13-
left: 50%;
14-
padding: 0.5rem;
15-
transform: translate(-50%, -50%);
16-
border: 2px solid #fff;
17-
}
18-
19-
.add-member-modal h2 {
20-
margin-block-end: 0rem;
21-
margin-left: 0.5rem;
22-
}
23-
24-
.add-member-modal-actions {
25-
margin-top: 1rem;
26-
width: calc(100% - 1rem);
27-
display: flex;
28-
flex-direction: row;
29-
justify-content: flex-end;
30-
}
31-
32-
.add-member-modal .MuiTextField-root.fullWidth {
33-
width: calc(100% - 1rem);
34-
}
35-
36-
.add-member-modal .MuiTextField-root.halfWidth {
37-
width: calc(50% - 0.5rem);
38-
}
39-
40-
.add-member-modal .MuiTextField-root {
41-
margin: 0.5rem;
42-
width: 25ch;
43-
}
44-
457
.user-page {
468
padding: 12px;
479
}

web-ui/src/components/edit_skills/EditSkills.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
position: absolute;
33
min-width: 400px;
44
max-width: 600px;
5-
background-color: #fff;
5+
background-color: var(--checkins-palette-background-default);
66
top: 50%;
77
left: 50%;
88
padding: 0.5rem;
@@ -40,7 +40,7 @@
4040
position: absolute;
4141
min-width: 400px;
4242
max-width: 600px;
43-
background-color: #fff;
43+
background-color: var(--checkins-palette-background-default);
4444
top: 50%;
4545
left: 50%;
4646
padding: 0.5rem;

web-ui/src/components/skills/SkillSection.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
position: absolute;
2727
min-width: 400px;
2828
max-width: 600px;
29-
background-color: #fff;
29+
background-color: var(--checkins-palette-background-default);
3030
top: 50%;
3131
left: 50%;
3232
padding: 0.5rem;

web-ui/src/pages/CheckinsPage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
position: absolute;
1010
min-width: 400px;
1111
max-width: 600px;
12-
background-color: #fff;
12+
background-color: var(--checkins-palette-background-default);
1313
top: 50%;
1414
left: 50%;
1515
padding: 0.5rem;

web-ui/src/pages/ErrorBoundaryPage.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
position: absolute;
33
min-width: 400px;
44
max-width: 600px;
5-
background-color: #fff;
5+
background-color: var(--checkins-palette-background-default);
66
top: 50%;
77
left: 50%;
88
padding: 0.5rem;

web-ui/src/pages/PeoplePage.css

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,3 @@
1-
.add-member {
2-
align-items: center;
3-
display: flex;
4-
justify-content: flex-end;
5-
}
6-
7-
.add-member-modal {
8-
position: absolute;
9-
min-width: 400px;
10-
max-width: 600px;
11-
background-color: #fff;
12-
top: 50%;
13-
left: 50%;
14-
padding: 0.5rem;
15-
transform: translate(-50%, -50%);
16-
border: 2px solid #fff;
17-
}
18-
19-
.add-member-modal h2 {
20-
margin-block-end: 0rem;
21-
margin-left: 0.5rem;
22-
}
23-
24-
.add-member-modal-actions {
25-
margin-top: 1rem;
26-
width: calc(100% - 1rem);
27-
display: flex;
28-
flex-direction: row;
29-
justify-content: flex-end;
30-
}
31-
32-
.add-member-modal .MuiTextField-root.fullWidth {
33-
width: calc(100% - 1rem);
34-
}
35-
36-
.add-member-modal .MuiTextField-root.halfWidth {
37-
width: calc(50% - 0.5rem);
38-
}
39-
40-
.add-member-modal .MuiTextField-root {
41-
margin: 0.5rem;
42-
width: 25ch;
43-
}
44-
451
.people-page {
462
padding: 12px;
473
}

0 commit comments

Comments
 (0)