mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
style: cores
This commit is contained in:
@@ -1,40 +1,4 @@
|
||||
|
||||
button {
|
||||
background-color: #007BFF;
|
||||
color: white;
|
||||
padding: 10px 10px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
padding: 20px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
margin: 15% auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
border-radius: 10px;
|
||||
width: 90%;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
@@ -51,14 +15,10 @@ input, textarea {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
* dialog {
|
||||
transform: scale(1);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
.grid-buttons {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
@@ -75,28 +35,7 @@ input, textarea {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
background-color: #f2f2f2;
|
||||
border-radius: 15px;
|
||||
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
|
||||
text-align: center;
|
||||
line-height: 120px;
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: scale(1.05);
|
||||
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hide-on-mobile {
|
||||
|
||||
@@ -32,8 +32,10 @@ function editclient(id) {
|
||||
openModal();
|
||||
var buttonSave = document.getElementById('save');
|
||||
var buttonEdit = document.getElementById('edit');
|
||||
var titleWindow = document.getElementById('title-window')
|
||||
buttonSave.style.display = 'none';
|
||||
buttonEdit.style.display = 'block';
|
||||
titleWindow.innerText = 'Editar '
|
||||
var clientId = document.getElementById('clientId');
|
||||
var clientName = document.getElementById('clientName');
|
||||
var clientContact = document.getElementById('clientContact');
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 2fr);
|
||||
@@ -24,59 +23,18 @@
|
||||
|
||||
.card-product:hover {
|
||||
transform: scale(1.05);
|
||||
box-shadow: 3px 3px 10px rgba(185, 185, 185, 0.678);
|
||||
box-shadow: 0px 0px 10px rgba(86, 187, 255, 0.815);
|
||||
}
|
||||
|
||||
table td th {
|
||||
text-align: center;
|
||||
table td th {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
button {
|
||||
background-color: #007BFF;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
padding: 20px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
margin: 15% auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
border-radius: 10px;
|
||||
width: 90%;
|
||||
height: 90%;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
input, textarea {
|
||||
width: 95%;
|
||||
@@ -85,4 +43,4 @@ input, textarea {
|
||||
margin-top: 5px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,52 +24,13 @@
|
||||
|
||||
.card-product:hover {
|
||||
transform: scale(1.05);
|
||||
box-shadow: 2px 2px 10px rgba(185, 185, 185, 0.678);
|
||||
box-shadow: 0px 0px 10px rgba(86, 187, 255, 0.815);
|
||||
}
|
||||
|
||||
table td th {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
/* button {
|
||||
background-color: #007BFF;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #0056b3;
|
||||
} */
|
||||
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
padding: 20px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
margin: 15% auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
border-radius: 10px;
|
||||
width: 90%;
|
||||
height: 90%;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
.card:hover {
|
||||
transform: translateY(-10px);
|
||||
box-shadow: 0 4px 8px rgba(199, 199, 199, 0.25);
|
||||
box-shadow: 0px 0px 8px rgba(86, 187, 255, 0.815);
|
||||
}
|
||||
|
||||
.card-resumo {
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
.card-resumo:hover {
|
||||
|
||||
box-shadow: 0 4px 15px rgba(175, 175, 175, 0.295);
|
||||
box-shadow: 0px 0px 15px rgba(86, 187, 255, 0.815);
|
||||
text-align: left;
|
||||
line-height: 20px;
|
||||
padding: 15px 30px 15px 30px;
|
||||
|
||||
@@ -1,40 +1,4 @@
|
||||
|
||||
button {
|
||||
background-color: #007BFF;
|
||||
color: white;
|
||||
padding: 10px 10px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #0056b3;
|
||||
}
|
||||
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
padding: 20px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
margin: 15% auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
border-radius: 10px;
|
||||
width: 90%;
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
|
||||
form {
|
||||
display: flex;
|
||||
@@ -51,21 +15,11 @@ input, textarea {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
* dialog {
|
||||
transform: scale(1);
|
||||
/* display: flexbox;
|
||||
max-width: 200;
|
||||
max-height: 400; */
|
||||
}
|
||||
|
||||
|
||||
|
||||
.grid-buttons {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 10px;
|
||||
max-width: 500px; /* Define a largura máxima do grid */
|
||||
/* margin: 0 auto; */
|
||||
max-width: 500px;
|
||||
}
|
||||
|
||||
.grid-container {
|
||||
@@ -81,27 +35,6 @@ input, textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
background-color: #f2f2f2;
|
||||
border-radius: 15px;
|
||||
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
|
||||
text-align: center;
|
||||
line-height: 120px; /* Centraliza o texto verticalmente */
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
transform: scale(1.05);
|
||||
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.hide-on-mobile {
|
||||
|
||||
Reference in New Issue
Block a user