-
Notifications
You must be signed in to change notification settings - Fork 0
/
tabels.css
59 lines (54 loc) · 1.59 KB
/
tabels.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
cursor: pointer; /* Indicates that a header is clickable */
}
th:hover {
background-color: #c7cfed; /* Darker green when hovered */
}
.multi-button{
margin: 10px 0;
}
.multi-button button {
background-color: #5362a0; /* Green background */
border: none; /* No borders */
color: white; /* White text */
padding: 15px 32px; /* Padding inside the button */
text-align: center; /* Centered text */
text-decoration: none; /* No underline */
display: inline-block; /* Align buttons in a row */
font-size: 16px; /* Text size */
margin: 4px 2px; /* Space between buttons */
cursor: pointer; /* Pointer cursor on hover */
border-radius: 5px; /* Rounded corners */
transition: background-color 0.3s; /* Smooth transition for hover effect */
}
.multi-button button:hover {
background-color: #0c2379; /* Darker green when hovered */
}
/*----------------------------- */
.table-container {
overflow-x: auto; /* Enable horizontal scrolling */
-webkit-overflow-scrolling: touch; /* Smooth scrolling for touch devices */
}
.multi-button button.active {
background-color: #0c2379; /* Color when button is active */
color: white; /* Text color for active state */
}
@media (max-width: 768px) {
.table-container {
width: 100%;
overflow-x: auto; /* Horizontal scrolling for smaller screens */
}
table {
width: 100%; /* Ensure table is responsive */
}
}