From 1a1640a56da5223adfbcbee34b649aab502a75ba Mon Sep 17 00:00:00 2001 From: Kakarot <57848836+GhzGarage@users.noreply.github.com> Date: Sun, 28 May 2023 18:37:55 -0500 Subject: [PATCH] Update notify Changed styling and icons, updated cdn's --- config.lua | 6 +++--- html/css/style.css | 35 +++++++++++++++-------------------- html/index.html | 6 +++--- 3 files changed, 21 insertions(+), 26 deletions(-) diff --git a/config.lua b/config.lua index c3d9a19..0be136a 100644 --- a/config.lua +++ b/config.lua @@ -46,15 +46,15 @@ QBConfig.Notify.NotificationStyling = { QBConfig.Notify.VariantDefinitions = { success = { classes = 'success', - icon = 'done' + icon = 'task_alt' }, primary = { classes = 'primary', - icon = 'info' + icon = 'notifications' }, error = { classes = 'error', - icon = 'dangerous' + icon = 'warning' }, police = { classes = 'police', diff --git a/html/css/style.css b/html/css/style.css index 357b04e..881cd00 100644 --- a/html/css/style.css +++ b/html/css/style.css @@ -46,36 +46,31 @@ html::-webkit-scrollbar { } .success { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 0.5rem solid #20bb44; + background-color: #20bb44; + border-radius: 5px; + border: 1px solid #6ae587; } .primary { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 5px solid #1c75d2; + background-color: #1c75d2; + border-radius: 5px; + border: 1px solid #6facec; } .error { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 5px solid #c10114; + background-color: #c10114; + border-radius: 5px; + border: 1px solid #fe4255; } .police { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 5px solid #2197f2; + background-color: #2197f2; + border-radius: 5px; + border: 1px solid #7ac1f7; } .ambulance { - background-color: rgba(23, 23, 23, 90%); - border-radius: 10px; - box-shadow: 0rem 0rem 0.1rem 0.05rem #000000; - border-left: 5px solid #f44236; + background-color: #f44236; + border-radius: 5px; + border: 1px solid #f88e86; } \ No newline at end of file diff --git a/html/index.html b/html/index.html index ee1875f..801f533 100644 --- a/html/index.html +++ b/html/index.html @@ -1,12 +1,12 @@
- - + + - +