#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; 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 { .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; color: #00a2ff;
text-decoration: none; text-decoration: none;

View File

@ -10,7 +10,7 @@
} }
} }
#alert { #alert, #success {
height: fit-content; height: fit-content;
margin: 0px; margin: 0px;
position: fixed; position: fixed;
@ -21,9 +21,16 @@
padding-left: 5px; padding-left: 5px;
width: 100%; width: 100%;
text-align: center; text-align: center;
}
#alert {
background: linear-gradient(#f07575 10%, #de2323 100%); background: linear-gradient(#f07575 10%, #de2323 100%);
} }
#success {
background:linear-gradient(#a3e2bd 10%,#02b757 100%)
}
.warningtext { .warningtext {
color: red; color: red;
} }

View File

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

View File

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

View File

@ -5,7 +5,7 @@
@section('alert') @section('alert')
@if (session()->has('success')) @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> </div>
@endif @endif
@endsection @endsection

View File

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