-
-
Notifications
You must be signed in to change notification settings - Fork 466
Expand file tree
/
Copy pathemployeeDatabase.css
More file actions
149 lines (130 loc) · 2.41 KB
/
employeeDatabase.css
File metadata and controls
149 lines (130 loc) · 2.41 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
* {
box-sizing: border-box;
}
.flex-container {
display: flex;
}
.flex-child {
flex: 1;
/* width: 30%; */
text-align: -webkit-center;
border: 2px solid rgb(255, 162, 162);
}
.flex-child:first-child {
margin-right: 20px;
}
/* Add padding to containers */
.container {
padding: 16px;
}
/* Full-width input fields */
input[type="text"] {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
}
input[type="number"]:focus {
background-color: #ddd;
outline: none;
}
#heading1 {
margin-top: 0px;
text-align: center;
font-size: 40px;
}
#p1 {
margin-top: 0px;
text-align: center;
font-size: 20px;
}
#label {
font-size: 22px;
}
#salary {
border: 1px inherit;
border-radius: 30px;
font-size: 18px;
height: 30px;
color: black;
/* background-color: rgb(252, 207, 230); */
/* display: block; */
justify-content: space-between;
}
/* Overwrite default styles of hr */
hr {
border: 1px solid #f1f1f1;
margin-bottom: 25px;
}
/* Set a style for the submit/register button */
.registerbtn {
background-color: #340ea8;
color: white;
padding: 16px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
opacity: 0.9;
height: 50px;
border-radius: 30px;
font-size: 20px;
}
.registerbtn:hover {
opacity: 1;
}
/* Add a blue text color to links */
a {
color: dodgerblue;
cursor: pointer;
}
/* Set a grey background color and center the text of the "sign in" section */
.signin {
background-color: #f1f1f1;
text-align: center;
}
/* --------------------------------------------------------------------------------- */
th {
background-color: rgb(175, 173, 173);
}
#myTable#alter tr:nth-child(even) {
background-color: rgb(230, 89, 89);
}
#myTable#alter tr:nth-child(odd) {
background-color: rgb(197, 38, 38);
}
#myTable#alter th {
color: white;
background-color: gray;
}
#record {
display: flex;
justify-content: center;
}
#myInput {
background-position: 10px 10px;
background-repeat: no-repeat;
width: 100%;
font-size: 16px;
padding: 12px 20px 12px 40px;
border: 1px solid #ddd;
margin-bottom: 12px;
}
#myTable {
border-collapse: collapse;
width: 100%;
border: 1px solid #ddd;
font-size: 18px;
}
#myTable th, #myTable td {
text-align: left;
padding: 12px;
}
#myTable tr {
border-bottom: 1px solid #ddd;
}
#myTable tr.header, #myTable tr:hover {
background-color: #f1f1f1;
}