fix: correções no logo, degradê e alertas
This commit is contained in:
@@ -28,6 +28,7 @@ body {
|
|||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--text-light) !important;
|
color: var(--text-light) !important;
|
||||||
@@ -38,18 +39,18 @@ body {
|
|||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-logo {
|
.navbar-logo, .login-logo {
|
||||||
height: 35px;
|
height: 35px;
|
||||||
width: auto;
|
width: auto;
|
||||||
margin-right: 10px;
|
object-fit: contain;
|
||||||
display: block;
|
max-width: 100%;
|
||||||
|
image-rendering: -webkit-optimize-contrast;
|
||||||
|
image-rendering: crisp-edges;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-logo {
|
.login-logo {
|
||||||
height: 100px;
|
height: 100px;
|
||||||
width: auto;
|
margin: 0 auto 1rem;
|
||||||
display: block;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-link {
|
.nav-link {
|
||||||
@@ -123,6 +124,7 @@ body {
|
|||||||
box-shadow: 0 0 0 0.2rem rgba(232, 0, 12, 0.25);
|
box-shadow: 0 0 0 0.2rem rgba(232, 0, 12, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Alert styles */
|
||||||
.alert {
|
.alert {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 1rem;
|
top: 1rem;
|
||||||
@@ -132,23 +134,36 @@ body {
|
|||||||
min-width: 300px;
|
min-width: 300px;
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
backdrop-filter: blur(5px);
|
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 10px;
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-info {
|
.alert i {
|
||||||
background-color: rgba(255,255,255,0.9);
|
font-size: 1.2rem;
|
||||||
color: var(--secondary-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.alert-danger {
|
|
||||||
background-color: var(--primary-color);
|
|
||||||
color: white;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-success {
|
.alert-success {
|
||||||
background-color: rgba(40, 167, 69, 0.9);
|
background-color: #28a745;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert-danger {
|
||||||
|
background-color: #dc3545;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert-warning {
|
||||||
|
background-color: #ffc107;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert-info {
|
||||||
|
background-color: #17a2b8;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -97,6 +97,15 @@
|
|||||||
{% if messages %}
|
{% if messages %}
|
||||||
{% for category, message in messages %}
|
{% for category, message in messages %}
|
||||||
<div class="alert alert-{{ category }} alert-dismissible fade show" role="alert">
|
<div class="alert alert-{{ category }} alert-dismissible fade show" role="alert">
|
||||||
|
{% if category == 'success' %}
|
||||||
|
<i class="fas fa-check-circle"></i>
|
||||||
|
{% elif category == 'danger' %}
|
||||||
|
<i class="fas fa-exclamation-circle"></i>
|
||||||
|
{% elif category == 'warning' %}
|
||||||
|
<i class="fas fa-exclamation-triangle"></i>
|
||||||
|
{% elif category == 'info' %}
|
||||||
|
<i class="fas fa-info-circle"></i>
|
||||||
|
{% endif %}
|
||||||
{{ message }}
|
{{ message }}
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
|
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
background: linear-gradient(135deg, var(--primary-color), white);
|
background: linear-gradient(135deg, var(--primary-color) 40%, white 100%);
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user