From 07d26b9f98db49627e840255e01533147fc77f0b Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Thu, 28 Jul 2022 18:25:02 +1000 Subject: [PATCH] #success class --- public/css/2018.css | 12 ++++++++++++ public/css/app.css | 9 ++++++++- resources/views/messages/deleted.blade.php | 3 +-- resources/views/messages/index.blade.php | 4 +--- resources/views/messages/sent.blade.php | 2 +- resources/views/misc/settings.blade.php | 5 +---- 6 files changed, 24 insertions(+), 11 deletions(-) diff --git a/public/css/2018.css b/public/css/2018.css index 09c039c..3455a79 100644 --- a/public/css/2018.css +++ b/public/css/2018.css @@ -48,6 +48,18 @@ body { height: 28px; } +#alert, #success { + top: 40px; +} + +#alert { + background: #D86868; +} + +#success { + background: #02b757; +} + .smallnavbarbutton:nth-child(1):hover, .smallnavbarbutton:nth-child(3):hover, .profilefriend #FeedContainerBox1Username:hover, .smallnavbarbutton:nth-child(4):hover, .smallnavbarbutton:nth-child(5):hover, .smallnavbarbutton:nth-child(6):hover { color: #00a2ff; text-decoration: none; diff --git a/public/css/app.css b/public/css/app.css index ed1cc51..22b4fe4 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -10,7 +10,7 @@ } } -#alert { +#alert, #success { height: fit-content; margin: 0px; position: fixed; @@ -21,9 +21,16 @@ padding-left: 5px; width: 100%; text-align: center; +} + +#alert { background: linear-gradient(#f07575 10%, #de2323 100%); } +#success { + background:linear-gradient(#a3e2bd 10%,#02b757 100%) +} + .warningtext { color: red; } diff --git a/resources/views/messages/deleted.blade.php b/resources/views/messages/deleted.blade.php index f09bc96..7669c59 100644 --- a/resources/views/messages/deleted.blade.php +++ b/resources/views/messages/deleted.blade.php @@ -5,8 +5,7 @@ @section('alert') @if (session()->has('success')) -