forked from Rohitpatil4141/Employee-management-system
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
132 lines (114 loc) · 1.96 KB
/
styles.css
File metadata and controls
132 lines (114 loc) · 1.96 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/* Reset & base */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
background: #f0f2f5;
color: #333;
min-height: 100vh;
display: flex;
flex-direction: column;
}
header {
background: #0052cc;
color: white;
padding: 20px;
text-align: center;
box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
}
h1 {
font-weight: 700;
}
main {
flex-grow: 1;
max-width: 900px;
margin: 40px auto;
padding: 0 20px;
}
.form-section,
.table-section {
background: white;
padding: 20px 30px;
margin-bottom: 40px;
border-radius: 8px;
box-shadow: 0 0 15px rgb(0 0 0 / 0.1);
}
h2 {
margin-bottom: 20px;
color: #0052cc;
font-weight: 600;
}
form {
display: flex;
gap: 15px;
flex-wrap: wrap;
}
form input,
form select {
flex: 1;
min-width: 180px;
padding: 12px 15px;
border: 2px solid #ddd;
border-radius: 6px;
font-size: 1rem;
transition: border-color 0.3s;
}
form input:focus,
form select:focus {
border-color: #0052cc;
outline: none;
}
form button {
background: #0052cc;
color: white;
border: none;
border-radius: 6px;
padding: 12px 25px;
cursor: pointer;
font-size: 1rem;
transition: background-color 0.3s;
}
form button:hover {
background: #003d99;
}
table {
width: 100%;
border-collapse: collapse;
}
thead {
background: #0052cc;
color: white;
}
th,
td {
padding: 15px 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
tbody tr:hover {
background: #f9f9f9;
}
.action-btn {
background: #e74c3c;
border: none;
color: white;
padding: 7px 12px;
border-radius: 4px;
cursor: pointer;
font-size: 0.9rem;
transition: background-color 0.3s;
}
.action-btn:hover {
background: #c0392b;
}
footer {
background: #f0f2f5;
text-align: center;
padding: 15px;
font-size: 0.9rem;
color: #777;
border-top: 1px solid #ddd;
}