-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathApp.css
More file actions
113 lines (96 loc) · 1.7 KB
/
App.css
File metadata and controls
113 lines (96 loc) · 1.7 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
.App {
text-align: center;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
height: 100vh;
}
.whole-phone {
width: 30rem;
overflow-y: scroll;
height: 80vh;
border-radius: 40px;
margin: 1rem 0;
border: 10px solid black;
box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.1);
padding: 20px;
background-color: #f9f9f9;
}
/* Table Styling */
table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
padding: 10px;
text-align: center;
vertical-align: middle;
border-bottom: 1px solid #ddd;
}
/* Thead and Th Styling */
thead {
background-color: #333;
color: white;
}
th {
font-size: 12px;
text-transform: uppercase;
}
/* Tbody and Td Styling */
tbody tr:hover {
background-color: #f1f1f1;
}
td img {
width: 50px;
height: auto;
border-radius: 5px;
}
/* Trash Button */
.trash-btn {
border: none;
background-color: transparent;
cursor: pointer;
color: black;
padding: 0;
}
.trash-btn:hover {
transform: scale(1.2);
background-color: #888;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 6px;
height: 3px;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 40px;
}
::-webkit-scrollbar-track {
background: transparent;
border-radius: 40px;
}
button {
padding: 8px 15px;
margin: 10px;
border-radius: 5px;
border: 1px solid #333;
cursor: pointer;
background-color: #333;
color: white;
}
button:hover {
background-color: #555;
}
/* Ensures consistent layout across the table */
.whole-phone > table > thead > tr > th,
.whole-phone > table > tbody > tr > td {
width: auto;
padding: 5px;
}
.whole-phone>table>tbody>tr td {
padding: 10px 0;
}