forked from Simnation/Main
93 lines
1.4 KiB
CSS
93 lines
1.4 KiB
CSS
![]() |
body {
|
||
|
margin-top: 200px;
|
||
|
margin-right: 50px;
|
||
|
font-family: 'Roboto', sans-serif;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.toast {
|
||
|
width: 100px;
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.wrapper {
|
||
|
width: 100px;
|
||
|
height: 40px;
|
||
|
background-color: #1e1e1e;
|
||
|
float: right;
|
||
|
}
|
||
|
|
||
|
.main {
|
||
|
margin: 12px 16px 12px 56px;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.main::before {
|
||
|
font-size: 24px;
|
||
|
top: calc(50% - 12px);
|
||
|
left: -40px;
|
||
|
line-height: 24px;
|
||
|
position: absolute;
|
||
|
}
|
||
|
|
||
|
/* Success Notification*/
|
||
|
|
||
|
.success-icon::before {
|
||
|
font-family: "Font Awesome 5 Free";
|
||
|
content: "\f00c";
|
||
|
color: #47cf73;
|
||
|
}
|
||
|
|
||
|
.success {
|
||
|
background-color: rgba(0, 0, 0, 0.313);
|
||
|
color: #fff;
|
||
|
padding: 5px 5px 5px 5px;
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Info Notification*/
|
||
|
|
||
|
.info-icon::before {
|
||
|
font-family: "Font Awesome 5 Free";
|
||
|
content: "\f129";
|
||
|
color: #2f83ff;
|
||
|
left: -35px;
|
||
|
}
|
||
|
|
||
|
.info {
|
||
|
background-color: rgba(0, 0, 0, 0.313);
|
||
|
color: #fff;
|
||
|
padding: 5px 5px 5px 5px;
|
||
|
}
|
||
|
|
||
|
/* Warning Notification */
|
||
|
|
||
|
.warning-icon::before {
|
||
|
font-family: "Font Awesome 5 Free";
|
||
|
content: "\f12a";
|
||
|
color: #ffc107;
|
||
|
left: -35px;
|
||
|
}
|
||
|
|
||
|
.warning {
|
||
|
background-color: rgba(0, 0, 0, 0.313);
|
||
|
color: #fff;
|
||
|
padding: 5px 5px 5px 5px;
|
||
|
}
|
||
|
|
||
|
/* Error Notification */
|
||
|
|
||
|
|
||
|
.error-icon::before {
|
||
|
font-family: "Font Awesome 5 Free";
|
||
|
content: "\f00d";
|
||
|
color: #dc3545;
|
||
|
scale: 1.3;
|
||
|
left: -35px;
|
||
|
}
|
||
|
|
||
|
.error {
|
||
|
background-color: rgba(0, 0, 0, 0.313);
|
||
|
color: #fff;
|
||
|
padding: 5px 5px 5px 5px;
|
||
|
}
|