Skip to content

Commit 1cca647

Browse files
authored
dialogue box UI update (#4330)
1 parent d4c814e commit 1cca647

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

css/activities.css

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,27 @@
2929
}
3030

3131
.modal-content {
32+
position: fixed;
33+
top: 50%;
34+
left: 50%;
35+
transform: translate(-50%, -50%);
36+
width: 400px;
37+
padding: 24px;
3238
background-color: #fefefe;
33-
margin: 15% auto;
34-
padding: 20px;
35-
border: 1px solid #888;
36-
width: 50%;
39+
box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px;
40+
border-radius: 8px;
41+
z-index: 10000;
42+
text-align: left;
43+
}
44+
45+
#submitLilypond {
46+
background-color: rgb(0, 102, 255);
47+
border: none;
48+
border-radius: 4px;
49+
padding: 8px 16px;
50+
font-weight: bold;
51+
cursor: pointer;
52+
margin-right: 16px;
3753
}
3854

3955
.close {

css/darkmode.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,11 @@
5454
color: #fff;
5555
}
5656

57+
.dark-mode .modal-content {
58+
background-color: #1c1c1c;
59+
color: #fff;
60+
}
5761

62+
.dark-mode #submitLilypond {
63+
background-color: rgb(0, 102, 255);
64+
}

0 commit comments

Comments
 (0)