#success class

This commit is contained in:
Thomas G 2022-07-28 18:25:02 +10:00
parent c8414d613f
commit 07d26b9f98
6 changed files with 24 additions and 11 deletions

View File

@ -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;

View File

@ -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;
}

View File

@ -5,8 +5,7 @@
@section('alert')
@if (session()->has('success'))
<div id="alert"
style="background:linear-gradient(0deg,#02b757 0%,#118237 49%,#01a64e 50%,#3fc679 95%,#a3e2bd 100%)">
<div id="success">
{{ session()->get('success') }}
</div>
@endif

View File

@ -5,9 +5,7 @@
@section('alert')
@if (session()->has('success'))
<div id="alert"
style="background:linear-gradient(0deg,#02b757 0%,#118237 49%,#01a64e 50%,#3fc679 95%,#a3e2bd 100%)">
{{ session()->get('success') }}</div>
<div id="success">{{ session()->get('success') }}</div>
@endif
@if ($errors->any())
<div id="alert">{{ $errors->first() }}</div>

View File

@ -5,7 +5,7 @@
@section('alert')
@if (session()->has('success'))
<div id="alert" style="background:linear-gradient(0deg,#02b757 0%,#118237 49%,#01a64e 50%,#3fc679 95%,#a3e2bd 100%)">{{ session()->get('success') }}
<div id="success">{{ session()->get('success') }}
</div>
@endif
@endsection

View File

@ -97,10 +97,7 @@
<div id="alert">{{ $errors->first() }}</div>
@endif
@if (session()->has('change'))
<div id="alert"
style="background:linear-gradient(0deg,#02b757 0%,#118237 49%,#01a64e 50%,#3fc679 95%,#a3e2bd 100%)">
{{ session()->get('change') }}
</div>
<div id="success">{{ session()->get('change') }}</div>
@endif
@endsection