121 lines
2.2 KiB
CSS

/* Table styles */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
background-color: #fafafa;
font-family: 'Arial', sans-serif;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 10px;
overflow: hidden;
}
/* Table headers */
table th, table td {
padding: 15px;
text-align: left;
border: 1px solid #e1e1e1;
}
table th {
background-color: #d9534f;
color: white;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Even rows */
table tr:nth-child(even) {
background-color: #f8f8f8;
}
/* Row hover effect */
table tr:hover {
background-color: #f1f1f1;
cursor: pointer;
}
/* Action links */
a {
text-decoration: none;
color: #d9534f;
font-weight: bold;
transition: color 0.3s ease;
}
a:hover {
color: #fff;
text-decoration: underline;
}
/* New client button */
a[href*="app_clients_new"] {
display: inline-block;
margin-top: 20px;
padding: 12px 25px;
background-color: #28a745;
color: white;
border-radius: 8px;
font-size: 16px;
text-align: center;
transition: background-color 0.3s ease, transform 0.2s ease;
}
a[href*="app_clients_new"]:hover {
background-color: #218838;
transform: scale(1.05);
}
/* Empty table row message */
table td[colspan="6"] {
text-align: center;
font-style: italic;
color: #999;
padding: 20px;
font-size: 18px;
}
/* Button container */
.btn-container {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
/* Button styles */
.btn {
padding: 10px 20px;
text-decoration: none;
color: white;
background-color: #d9534f;
border-radius: 8px;
font-weight: bold;
margin-top: 25px;
text-transform: uppercase;
letter-spacing: 1px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn:hover {
background-color: #c9302c;
transform: scale(1.05);
}
/* For card-like container around the table */
.card {
background-color: #fff;
padding: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
border-radius: 15px;
margin-bottom: 30px;
}
/* Card title */
.card h2 {
font-size: 24px;
color: #333;
margin-bottom: 15px;
font-family: 'Roboto', sans-serif;
}