buttons in table footer
This commit is contained in:
@@ -0,0 +1,196 @@
|
||||
/*.table {*/
|
||||
/* width: 100%;*/
|
||||
/* border-collapse: separate;*/
|
||||
/* border-spacing: 0;*/
|
||||
/* margin: 10px auto;*/
|
||||
/* border: 1px solid #a57d52;*/
|
||||
/* border-radius: 10px;*/
|
||||
/* overflow: hidden;*/
|
||||
/*}*/
|
||||
|
||||
/*.table th {*/
|
||||
/* text-align: left;*/
|
||||
/* padding: 0.75rem;*/
|
||||
/* font-size: 0.75rem;*/
|
||||
/* text-transform: uppercase;*/
|
||||
/* font-weight: 600;*/
|
||||
/* border-bottom: 1px solid #a57d52;*/
|
||||
/* background-color: #F2E8DB;*/
|
||||
/*}*/
|
||||
|
||||
/*.table td {*/
|
||||
/* padding: 0.75rem;*/
|
||||
/* font-size: 0.875rem;*/
|
||||
/* border-bottom: 1px solid #a57d52;*/
|
||||
/*}*/
|
||||
|
||||
/*!* Last row shouldn't have bottom border *!*/
|
||||
/*.table tr:last-child td {*/
|
||||
/* border-bottom: none;*/
|
||||
/*}*/
|
||||
|
||||
/*!* Selection styles *!*/
|
||||
/*.selectable-row {*/
|
||||
/* cursor: pointer;*/
|
||||
/*}*/
|
||||
|
||||
/*.selected-row {*/
|
||||
/* background-color: rgba(165, 125, 82, 0.1);*/
|
||||
/*}*/
|
||||
|
||||
/*.status-received {*/
|
||||
/* background-color: #e8f5e9;*/
|
||||
/* color: #2e7d32;*/
|
||||
/*}*/
|
||||
|
||||
/*.status-pending {*/
|
||||
/* background-color: #fff3e0;*/
|
||||
/* color: #ef6c00;*/
|
||||
/*}*/
|
||||
|
||||
/*.status-overdue {*/
|
||||
/* background-color: #ffebee;*/
|
||||
/* color: #c62828;*/
|
||||
/*}*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
tbody tr {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
|
||||
/*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;
|
||||
}
|
||||
|
||||
/* Keep header and footer styles */
|
||||
thead {
|
||||
background-color: #E1C6A8;
|
||||
}
|
||||
|
||||
tfoot {
|
||||
background-color: #E1C6A8;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user