File tree 1 file changed +40
-1
lines changed
1 file changed +40
-1
lines changed Original file line number Diff line number Diff line change 17
17
color : white;
18
18
font-size : 30px ;
19
19
}
20
+
21
+ .badge {
22
+ background-color : red;
23
+ color : white;
24
+ padding : 4px 8px ;
25
+ text-align : center;
26
+ border-radius : 5px ;
27
+ }
28
+
29
+ /* The alert message box */
30
+ .alert {
31
+ padding : 20px ;
32
+ background-color : # f44336 ; /* Red */
33
+ color : white;
34
+ margin-bottom : 15px ;
35
+ }
36
+
37
+ /* The close button */
38
+ .closebtn {
39
+ margin-left : 15px ;
40
+ color : white;
41
+ font-weight : bold;
42
+ float : right;
43
+ font-size : 22px ;
44
+ line-height : 20px ;
45
+ cursor : pointer;
46
+ transition : 0.3s ;
47
+ }
48
+
49
+ /* When moving the mouse over the close button */
50
+ .closebtn : hover {
51
+ color : black;
52
+ }
20
53
21
54
.menu-container {
22
55
position : relative;
@@ -190,14 +223,20 @@ <h1>Messages</h1>
190
223
<!-- The actual snackbar -->
191
224
< div id ="snackbar "> This feature is Coming Soon!</ div >
192
225
193
- < h3 > Alerts From Coding Hut</ h3 >
226
+ < h3 > Alerts From Coding Hut < span class =" badge " > 1 Alert </ span > </ h3 >
194
227
195
228
< h4 > Higher Priority Alerts</ h4 >
196
229
< center > < h3 > You currently don't have any alerts. Check back later!</ h3 > </ center >
197
230
198
231
< h4 > Lower Priority Alerts</ h4 >
199
232
< center > < h3 > You currently don't have any alerts. Check back later!</ h3 > </ center >
200
233
234
+ < h4 > Lowest Priority Alerts < span class ="badge "> 1 Alert</ span > </ h4 >
235
+ < div class ="alert ">
236
+ < span class ="closebtn " onclick ="this.parentElement.style.display='none'; "> ×</ span >
237
+ Welcome to Coding Hut! Try signing in, making orders, becoming staff and more! We are glad you joined us.
238
+ </ div >
239
+
201
240
< h3 > Messages</ h3 >
202
241
< center > < h2 > You currently don't have any messages. Check back later!</ h2 > </ center >
203
242
You can’t perform that action at this time.
0 commit comments