Files
front-AT/app/globals.css
T

447 lines
6.7 KiB
CSS
Raw Normal View History

2025-09-02 19:50:17 -04:00
* {
padding: 0;
margin: 0;
color: #333333;
2025-08-18 10:37:48 -04:00
}
2025-09-08 13:35:46 -04:00
*,
*::before,
*::after {
box-sizing: inherit;
}
html {
box-sizing: border-box;
font-size: 62.5%;
}
2025-09-02 19:50:17 -04:00
body {
2025-09-05 14:17:26 -04:00
position: relative;
2025-09-02 19:50:17 -04:00
font-family: var(--font-poppins), sans-serif;
display: grid;
grid-template-rows: auto auto 1fr auto;
min-height: 100dvh;
width: 100dvw;
2025-09-08 20:12:11 -04:00
overflow: hidden;
2025-08-18 10:37:48 -04:00
}
2025-09-02 19:50:17 -04:00
header {
2025-09-03 20:41:25 -04:00
display: grid;
grid-template-columns: auto 1fr;
2025-09-02 19:50:17 -04:00
padding: 5px 40px;
position: relative;
overflow: hidden;
background-color: #f9f9f9;
z-index: 1;
height: 57px;
2025-08-18 10:37:48 -04:00
}
2025-09-02 19:50:17 -04:00
header::after {
content: "";
top: 0;
left: -40px;
position: absolute;
background-color: rgba(0, 61, 121, 1);
height: 100%;
width: 30%;
min-width: 300px;
transform: skew(45deg);
z-index: 1;
2025-08-18 10:37:48 -04:00
}
2025-09-02 19:50:17 -04:00
header::before {
content: "";
top: 0;
left: -20px;
position: absolute;
background-color: rgb(1, 92, 184);
height: 100%;
width: 30%;
min-width: 300px;
transform: skew(45deg);
z-index: 1;
}
main {
display: flex;
align-items: center;
justify-content: center;
}
footer {
2025-09-08 19:35:24 -04:00
position: relative;
2025-09-05 18:24:12 -04:00
display: flex;
justify-content: center;
2025-09-02 19:50:17 -04:00
text-align: center;
padding: 10px;
background-color: rgba(0, 61, 121, 1);
2025-09-08 19:35:24 -04:00
z-index: 0;
2025-09-08 20:12:11 -04:00
overflow: hidden;
2025-09-05 18:24:12 -04:00
}
footer p {
2025-09-02 19:50:17 -04:00
color: white;
2025-09-08 15:06:01 -04:00
max-width: 900px;
2025-09-08 19:35:24 -04:00
z-index: 2;
2025-09-02 19:50:17 -04:00
}
.container {
2025-09-03 20:41:25 -04:00
display: flex;
flex-direction: column;
2025-09-02 19:50:17 -04:00
align-items: center;
justify-items: center;
position: relative;
padding: 1.5rem;
margin: 1.5rem auto;
border: 1px solid #d1d5db;
border-radius: 4px;
width: 90%;
max-width: 1100px;
height: 550px;
2025-09-02 19:50:17 -04:00
min-height: 520px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: hidden;
background-color: #f9f9f9;
z-index: 0;
}
.containerSection {
2025-09-03 20:41:25 -04:00
position: relative;
width: 100%;
height: 100%;
2025-09-02 19:50:17 -04:00
display: flex;
flex-direction: column;
}
2025-09-05 12:11:32 -06:00
.containerForm {
2025-09-03 20:41:25 -04:00
width: 100%;
max-width: 450px;
}
2025-09-02 19:50:17 -04:00
.img {
position: absolute;
top: 0;
right: 0;
width: 400px;
height: 615px;
2025-09-05 12:11:32 -06:00
background-image: url("/rock.jpg");
2025-09-02 19:50:17 -04:00
background-size: cover;
background-position: center;
overflow: hidden;
z-index: -1;
2025-09-05 14:17:26 -04:00
opacity: 1;
2025-09-02 19:50:17 -04:00
}
.img::after {
2025-09-05 12:11:32 -06:00
content: "";
2025-09-02 19:50:17 -04:00
position: absolute;
inset: 0;
background: linear-gradient(to right, #f9f9f9, rgba(128, 128, 128, 0));
}
2025-09-03 20:41:25 -04:00
input,
select {
2025-09-02 19:50:17 -04:00
flex: 1;
min-width: 200px;
2025-09-05 14:45:31 -04:00
max-width: 500px;
2025-09-08 13:35:46 -04:00
padding: 1rem;
2025-09-02 19:50:17 -04:00
border: 1px solid #cfcfcf;
2025-09-03 20:41:25 -04:00
background-color: #fff;
2025-09-02 19:50:17 -04:00
border-radius: 4px;
2025-09-08 13:35:46 -04:00
font-size: 1.5rem;
2025-09-02 19:50:17 -04:00
color: black;
}
2025-09-08 13:35:46 -04:00
label {
font-size: 1.5rem;
font-weight: bold;
display: block;
}
button {
font-size: 1.5rem;
padding: 1rem 1.75rem;
border-radius: 4px;
cursor: pointer;
}
2025-09-02 19:50:17 -04:00
.groupInput {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
justify-content: space-between;
}
.button {
font-weight: bold;
border: none;
color: #ffffff;
transition: background-color 0.2s ease;
max-width: 240px;
}
.buttonSearch {
background-color: #2563eb;
}
.buttonSearch:hover {
background-color: #1d4ed8;
}
.buttonCharge {
background-color: #16a34a;
}
.buttonCharge:hover {
background-color: #15803d;
}
2025-09-03 20:41:25 -04:00
.absoluteButton {
position: absolute;
bottom: 1rem;
right: 1rem;
2025-09-02 19:50:17 -04:00
display: flex;
gap: 1rem;
}
ul {
list-style: none;
2025-09-08 13:35:46 -04:00
font-size: 1.5rem;
2025-09-02 19:50:17 -04:00
}
.containerInput {
display: flex;
flex-direction: column;
margin-bottom: 10px;
}
2025-09-05 18:24:12 -04:00
.containerButton {
display: flex;
gap: 10px;
justify-content: start;
align-items: center;
width: 100%;
}
2025-08-18 10:37:48 -04:00
a {
text-decoration: none;
}
2025-09-02 19:50:17 -04:00
.information {
display: flex;
flex-direction: column;
border: 1px solid #e5e7eb;
border-radius: 4px;
background-color: #f3f4f6;
2025-09-03 20:41:25 -04:00
width: 100%;
max-width: 450px;
margin-top: 10px;
2025-09-02 19:50:17 -04:00
}
2025-09-05 12:11:32 -06:00
.information ul {
2025-09-03 20:41:25 -04:00
padding: 1rem;
2025-09-02 19:50:17 -04:00
}
.title {
top: 0;
left: 0;
width: 100%;
2025-09-08 13:35:46 -04:00
font-size: 2.5rem;
2025-09-02 19:50:17 -04:00
font-weight: bold;
text-align: start;
border-bottom: 1px solid #cfcfcf;
margin-bottom: 10px;
}
form {
display: flex;
flex-direction: column;
width: 100%;
2025-09-03 20:41:25 -04:00
}
.padding {
display: flex;
flex-direction: column;
padding: 1rem;
gap: 1rem;
}
.gap {
display: flex;
flex-direction: column;
2025-09-02 19:50:17 -04:00
gap: 1rem;
}
.toggleSection {
2025-09-03 20:41:25 -04:00
width: 100%;
2025-09-05 14:45:31 -04:00
max-width: 750px;
2025-09-02 19:50:17 -04:00
margin-top: 1rem;
border: 1px solid #e5e7eb;
border-radius: 4px;
background-color: #f9fafb;
}
.toggleGroup {
display: flex;
gap: 10px;
background-color: #f3f4f6;
border-radius: 6px;
flex-wrap: wrap;
2025-09-02 19:50:17 -04:00
}
.toggleButton {
flex: 1;
padding: 0.5rem 1rem;
background-color: transparent;
border: none;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.3s, color 0.3s;
font-weight: 500;
}
.toggleButton.active {
2025-09-05 14:45:31 -04:00
font-weight: 700;
2025-09-02 19:50:17 -04:00
background-color: #e5e7eb;
2025-09-05 14:17:26 -04:00
color: rgb(1, 92, 184);
2025-09-03 20:41:25 -04:00
border-radius: 4px 4px 0 0;
2025-09-05 14:17:26 -04:00
border-bottom: 1px solid rgb(1, 92, 184);
2025-09-02 19:50:17 -04:00
}
2025-09-08 19:35:24 -04:00
p {
2025-09-08 13:35:46 -04:00
font-size: 1.5rem;
}
2025-09-08 19:35:24 -04:00
table {
width: 100%;
border-collapse: collapse;
table-layout: auto;
}
table th,
table td {
2025-09-08 20:12:11 -04:00
padding: 10px;
text-align: center;
border-bottom: 1px solid #cfcfcf;
word-wrap: break-word;
overflow-wrap: break-word;
2025-09-08 19:35:24 -04:00
}
table th {
2025-09-08 20:12:11 -04:00
position: sticky;
top: 0px;
background-color: rgb(1, 92, 184);
color: white;
2025-09-08 19:35:24 -04:00
}
table tr {
2025-09-08 20:12:11 -04:00
min-width: 400px;
2025-09-08 19:35:24 -04:00
}
.tableContainer {
2025-09-08 20:12:11 -04:00
margin-top: 10px;
overflow-y: auto;
overflow-x: auto;
border-radius: 4px;
border: 1px solid #cfcfcf;
max-height: 430px;
scrollbar-color: rgb(1, 92, 184) rgba(0, 0, 0, 0);
background-color: #f9f9f9;
width: 100%;
2025-09-08 19:35:24 -04:00
}
.centerGrid {
display: grid;
grid-template-columns: auto 400px;
justify-content: center;
align-items: center;
}
2025-09-10 19:23:18 -04:00
.messageBox {
position: relative;
padding: 0.5rem 1.25rem;
border-radius: 4px;
font-weight: bold;
font-size: 1.5rem;
text-align: center;
opacity: 1;
z-index: 100;
}
.messageBox.hidden {
opacity: 0;
pointer-events: none;
transition: opacity 1s ease-out;
}
.success {
background-color: #d1f7c4;
color: #000000;
border: 1px solid #a5d6a7;
}
.error {
background-color: #ffcdd2;
color: #000000;
border: 1px solid #ef9a9a;
}
2025-09-05 12:11:32 -06:00
@media (max-width: 800px) {
2025-09-02 19:50:17 -04:00
header {
2025-09-03 20:41:25 -04:00
padding: 6px 16px;
2025-09-02 19:50:17 -04:00
}
.container {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
width: 100%;
height: 600px;
max-height: 600px;
border-radius: 0;
}
.img {
right: 50%;
transform: translateX(50%);
width: 600px;
opacity: 1;
height: 650px;
}
.img::before,
.img::after {
2025-09-05 12:11:32 -06:00
content: "";
2025-09-02 19:50:17 -04:00
position: absolute;
top: 0;
bottom: 0;
width: 100%;
z-index: 1;
}
.img::before {
left: 0;
background: linear-gradient(to right, #f9f9f9, rgba(128, 128, 128, 0));
}
.img::after {
right: 0;
background: linear-gradient(to left, #f9f9f9, rgba(128, 128, 128, 0));
2025-08-18 10:37:48 -04:00
}
2025-09-03 20:41:25 -04:00
.title {
text-align: center;
}
.containerSection {
align-items: center;
}
2025-08-18 10:37:48 -04:00
}
2025-09-02 19:50:17 -04:00
2025-09-05 12:11:32 -06:00
@media (max-height: 960px) {
2025-09-02 19:50:17 -04:00
.container {
2025-09-05 12:11:32 -06:00
margin: 0;
2025-09-02 19:50:17 -04:00
}
2025-09-05 18:24:12 -04:00
}