-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path_05_ProductCRUD.css
More file actions
90 lines (74 loc) · 1.04 KB
/
_05_ProductCRUD.css
File metadata and controls
90 lines (74 loc) · 1.04 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
body {
font-family: Arial, sans-serif;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
h1,
h2 {
text-align: center;
}
form {
display: flex;
flex-direction: column;
gap: 15px;
max-width: 400px;
margin-bottom: 20px;
}
form div {
display: flex;
flex-direction: column;
}
input,
select,
button {
padding: 8px;
font-size: 16px;
}
button {
background-color: #4CAF50;
color: white;
border: none;
padding: 10px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
#cancelEdit {
background-color: #f44336;
}
#cancelEdit:hover {
background-color: #da190b;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th,
td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
th {
background-color: #f2f2f2;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
tr:hover {
background-color: #f5f5f5;
}
button.edit,
button.delete {
padding: 5px 10px;
margin: 0 5px;
}
button.edit {
background-color: #008CBA;
}
button.delete {
background-color: #f44336;
}