buttons in table footer

This commit is contained in:
2025-07-11 20:26:02 +03:00
parent d72cf0a0b3
commit d986fdf232
46 changed files with 1828 additions and 1720 deletions
+150 -51
View File
@@ -1,18 +1,35 @@
/* Basic form styling */
:root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 16px;
font-weight: 600; /* Makes all text semi-bold by default */
line-height: 1.5;
}
form {
max-width: 600px;
margin: 20px auto;
padding: 20px;
/*background-color: #ead9cb;; !* Add this line *!*/
border-radius: 8px; /* Optional: for better appearance */
/*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
border: 1px solid #a57d52;
/*border-width: 3px;*/
/*border-color: #00aaff;*/
}
/* Label styling */
label {
display: block;
margin-bottom: 2px;
font-weight: 500;
/*font-weight: 500;*/
color: #a57d52;
}
/* Input field styling */
input[type="text"],
input[type="email"],
@@ -23,10 +40,18 @@ select,
textarea {
width: 100%;
padding: 8px;
margin-bottom: 10px;
margin-bottom: 0px;
border: 1px solid #a57d52;
border-radius: 4px;
box-sizing: border-box;
font-family: "Noto Sans", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
font-size: 1.1rem;
font-variation-settings:
"wdth" 100;
}
/* Submit button styling */
@@ -82,68 +107,142 @@ button[type="submit"]:hover {
}
.card-body {
padding: 24px;
padding: 15px;
overflow-x: auto; /* Allow horizontal scroll if table is wide */
}
.table-container {
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
}
/*table {*/
/* width: 100%;*/
/* border-collapse: collapse;*/
/*}*/
thead {
background-color: #f9f9f9;
}
/*thead {*/
/* background-color: #f9f9f9;*/
/*}*/
th, td {
padding: 12px 16px;
text-align: left;
font-size: 14px;
}
/*th, td {*/
/* padding: 12px 16px;*/
/* text-align: left;*/
/* font-size: 14px;*/
/*}*/
th {
font-weight: bold;
text-transform: uppercase;
color: #666;
border-bottom: 1px solid #ddd;
}
/*th {*/
/* font-weight: bold;*/
/* text-transform: uppercase;*/
/* color: #666;*/
/* border-bottom: 1px solid #ddd;*/
/*}*/
tbody tr {
border-bottom: 1px solid #eee;
}
/*tbody tr {*/
/* border-bottom: 1px solid #eee;*/
/*}*/
.status {
display: inline-block;
padding: 4px 8px;
font-size: 12px;
font-weight: bold;
border-radius: 12px;
background-color: #e0f0ff;
color: #0066cc;
}
.actions button {
background: none;
border: none;
color: #0066cc;
font-size: 14px;
cursor: pointer;
margin-right: 10px;
}
/* Rename dashboard-table to match exactly with your HTML */
/*.dashboard-table,*/
/*table {*/
/* border-collapse: separate;*/
/* border-spacing: 0;*/
/* margin: 10px auto;*/
/* width: 100%;*/
/* border: 1px solid #E1C6A8; !* Make border more visible *!*/
/* border-radius: 10px;*/
/* overflow: hidden;*/
/* line-height: 1.2;*/
/*}*/
.actions button:hover {
color: #004999;
}
/*!* Keep header and footer styles *!*/
/*thead {*/
/* background-color: #E1C6A8;*/
/*}*/
.actions button:last-child {
color: #cc0000;
margin-right: 0;
}
/*tfoot {*/
/* background-color: #E1C6A8;*/
/*}*/
.actions button:last-child:hover {
color: #990000;
}
/*!* Update cell styles *!*/
/*.dashboard-table th,*/
/*.dashboard-table td,*/
/*table th,*/
/*table td {*/
/* padding: 8px;*/
/* text-align: center;*/
/* border-right: 1px solid #E1C6A8; !* Add vertical borders *!*/
/* border-bottom: 1px solid #E1C6A8; !* Add horizontal borders *!*/
/*}*/
/*!* Remove right border from last cell in each row *!*/
/*.dashboard-table th:last-child,*/
/*.dashboard-table td:last-child,*/
/*table th:last-child,*/
/*table td:last-child {*/
/* border-right: none;*/
/*}*/
/*!* Remove bottom border from last row cells *!*/
/*.dashboard-table tr:last-child td,*/
/*table tr:last-child td {*/
/* border-bottom: none;*/
/*}*/
/*.footer-container {*/
/* display: flex;*/
/* justify-content: space-between;*/
/* align-items: center;*/
/*}*/
/*.footer-left button,*/
/*.footer-right button {*/
/* margin: 0 3px;*/
/* padding: 3px 6px;*/
/* font-size: 12px;*/
/*}*/
/*.page-number {*/
/* margin: 0 10px;*/
/* font-weight: bold;*/
/*}*/
/*.status {*/
/* display: inline-block;*/
/* padding: 4px 8px;*/
/* font-size: 12px;*/
/* font-weight: bold;*/
/* border-radius: 12px;*/
/* background-color: #e0f0ff;*/
/* color: #0066cc;*/
/*}*/
/*.actions button {*/
/* background: none;*/
/* border: none;*/
/* color: #0066cc;*/
/* font-size: 14px;*/
/* cursor: pointer;*/
/* margin-right: 10px;*/
/*}*/
/*.actions button:hover {*/
/* color: #004999;*/
/*}*/
/*.actions button:last-child {*/
/* color: #cc0000;*/
/* margin-right: 0;*/
/*}*/
/*.actions button:last-child:hover {*/
/* color: #990000;*/
/*}*/
/* Update dashboard card styles */
.dashboard-card {
margin: 15px;
background-color: white;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
overflow: hidden; /* Ensure content doesn't overflow */
}