From fea81bf8ce7403ac78cea2302e9ec2645cf2a8eb Mon Sep 17 00:00:00 2001 From: fifi97 <46933637+fifi97@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:33:15 +0800 Subject: [PATCH] fix skit2 --- .../views/homepage/khazanah/home.blade.php | 44 ++++++++- resources/views/layouts/app.blade.php | 94 +++++++++++++++++++ 2 files changed, 137 insertions(+), 1 deletion(-) diff --git a/resources/views/homepage/khazanah/home.blade.php b/resources/views/homepage/khazanah/home.blade.php index e3a2147..3e1e121 100644 --- a/resources/views/homepage/khazanah/home.blade.php +++ b/resources/views/homepage/khazanah/home.blade.php @@ -153,8 +153,36 @@ + +
+
+ +
+ Baki Maksimum + Baki peti besi melebihi RM 150,000.00 +
+ +
+
+
+ + {{--
+
+ +
+ Baki Minimum + Baki peti besi melebihi RM 150,000.00 +
+ +
+
+
--}} + +
+ +
@@ -495,7 +523,7 @@ function simpanfunc() { - console.log('simpan'); + // console.log('simpan'); //Swal.fire({ // title: 'Adakah anda pasti untuk mengemaskini denominasi?', // text: "Sila pastikan denominasi anda betul!", @@ -749,6 +777,20 @@ } + // function clickedbutton(){ + // const button = $('#show').val(); + // } + + $("#showbutton").click(function(){ + // alert("The paragraph was clicked."); + $(".notify-petibesi").addClass("active"); + }); + + $(".close").click(function(){ + // alert("The paragraph was clicked."); + $(".notify-petibesi").removeClass("active"); + }); + @endsection diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 4ef40a9..c82fe93 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -75,6 +75,100 @@ align-items: flex-start !important; } + .notify-petibesi.max{ + position: absolute; + bottom:50px; + right: 30px; + border-radius:12px; + background: #fff; + padding: 20px 35px 20px 25px; + box-shadow:0 5px 10px rgba(0,0,0,0.1); + border-left: 6px solid #e67e22; + z-index:1; + display:none; + -webkit-transition: opacity 600ms, visibility 600ms; + transition: opacity 600ms, visibility 600ms; + } + + .notify-petibesi.min{ + position: absolute; + bottom:50px; + right: 30px; + border-radius:12px; + background: #fff; + padding: 20px 35px 20px 25px; + box-shadow:0 5px 10px rgba(0,0,0,0.1); + border-left: 6px solid #e74c3c; + z-index:1; + display:none; + -webkit-transition: opacity 600ms, visibility 600ms; + transition: opacity 600ms, visibility 600ms; + } + + .notify-petibesi.active{ + display:block; + } + + .notify-petibesi .toast-content{ + display:flex; + align-items:center; + + } + + .toast-content .message{ + display:flex; + flex-direction: column; + margin: 0 20px; + } + + .toast-content.max .check{ + display:flex; + align-items:center; + justify-content:center; + height:35px; + width:35px; + background-color:#e67e22; + color:#fff; + font-size:20px; + border-radius:50%; + } + + .toast-content.min .check{ + display:flex; + align-items:center; + justify-content:center; + height:35px; + width:35px; + background-color:#e74c3c; + color:#fff; + font-size:20px; + border-radius:50%; + } + + .message .text{ + font-size:20px; + font-weight:400; + color:#666666; + } + + .message .text.text-1{ + font-weight:600; + color:#333; + } + + .notify-petibesi .close{ + position:absolute; + top:10px; + right:15px; + padding:5px; + cursor:pointer; + opacity:0.7; + } + + .notify-petibesi .close:hover{ + opacity:1; + } +