parent
df4e01064b
commit
fda30fa71b
3 changed files with 89 additions and 8 deletions
@ -0,0 +1,75 @@ |
||||
$red: #e92424; |
||||
$errorToastBgColor: #ffeaea; |
||||
|
||||
$lightGreen: #3ee924; |
||||
$successToastBgColor: #f2ffea; |
||||
|
||||
$white: #fff; |
||||
|
||||
.swal2-popup.swal2-toast .swal2-title { |
||||
font-size: 14px !important; |
||||
} |
||||
|
||||
.swal2-popup.swal2-toast .swal2-close { |
||||
margin-left: 0px !important; |
||||
margin-top: 0px !important; |
||||
} |
||||
|
||||
.swal2-timer-progress-bar-container { |
||||
direction: ltr !important; |
||||
} |
||||
|
||||
// .swal2-timer-progress-bar { |
||||
// background-color: yellow !important; |
||||
// } |
||||
|
||||
.swal2-icon { |
||||
font-size: 13px !important; |
||||
} |
||||
|
||||
// ! error Tost |
||||
.error-toast-title { |
||||
color: $red !important; |
||||
} |
||||
|
||||
.error-toast-modalBox, |
||||
.error-toast-modalBox-timer { |
||||
background-color: $errorToastBgColor !important; |
||||
} |
||||
|
||||
.error-toast-closeButton { |
||||
background-color: $red !important; |
||||
color: $white !important; |
||||
padding: 15px !important; |
||||
} |
||||
|
||||
.success-toast-title { |
||||
color: $lightGreen !important; |
||||
} |
||||
|
||||
.success-toast-modalBox, |
||||
.success-toast-modalBox-timer { |
||||
background-color: $successToastBgColor !important; |
||||
} |
||||
|
||||
.success-toast-closeButton { |
||||
background-color: $lightGreen !important; |
||||
color: $white !important; |
||||
padding: 15px !important; |
||||
} |
||||
|
||||
.error-toast-modalBox-timer .swal2-timer-progress-bar-container { |
||||
background-color: #e9242455 !important; |
||||
} |
||||
|
||||
.error-toast-modalBox-timer .swal2-timer-progress-bar { |
||||
background-color: $red !important; |
||||
} |
||||
|
||||
.success-toast-modalBox-timer .swal2-timer-progress-bar-container { |
||||
background-color: #3ee92455 !important; |
||||
} |
||||
|
||||
.success-toast-modalBox-timer .swal2-timer-progress-bar { |
||||
background-color: $lightGreen !important; |
||||
} |
Loading…
Reference in new issue