-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
189 lines (163 loc) · 3.58 KB
/
style.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
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
/* Reset margin and padding for all elements */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Styles for the body to align content */
body {
}
/* Styles for the topbar */
.topbar {
background-color: #343a40; /* Grey color */
width: 100%; /* Full width */
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
}
/* Container for topbar content */
.topbar-content {
width: 100%;
max-width: 1200px; /* Max width for inner content */
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Styles for the text inside the topbar */
.topbar-text {
color: white;
font-size: 24px; /* Example size */
}
/* Styles for the logo inside the topbar */
.topbar-logo {
height: 50px; /* Adjust size as needed */
background-color: #343a40; /* Same as topbar */
}
/* Styles for the form to center it */
form {
margin-top: 20px; /* Space between topbar and form */
width: 100%;
padding: 20px; /* Padding inside the form */
border: 1px solid #ccc; /* Example border */
border-radius: 5px; /* Rounded corners */
}
.logout{
display: flex;
flex-direction: column;
justify-content: center;
}
input[type="text"], textarea {
width: 100%;
padding: 12px 20px;
margin-top: 17px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.searchbar{
}
input[type="password"],
textarea {
width: 100%;
padding: 15px;
margin-top: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type="email"],
textarea {
width: 100%;
padding: 15px;
margin-bottom: 10px;
margin-top: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
select {
margin-left:20px;
width: 20%;
padding: 10px;
/* margin-bottom: 10px; */
margin-top: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
font-size: 100%;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #45a049;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
table, th, td {
border: 1px solid #ccc;
}
th, td {
padding: 10px;
text-align: left;
}
td button{
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
td button:hover{
background-color: #45a049;
}
.logout-button {
display: flex;
flex-direction: column;
justify-content: center;
background-color: #16a592;
color: rgb(116, 116, 18);
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.logout-button:hover{
background-color: rgb(207, 134, 134);
}
th {
background-color: #292b2c
;
color: white;
}
tr:nth-child(even) {
background-color: #f2f2f2;
}
a {
text-decoration: none;
color: #333;
margin-right: 10px;
}
.controls {
display: flex; /* Align items in a row */
justify-content: space-between; /* Space between the controls */
align-items: center; /* Align items vertically */
margin-bottom: 20px; /* Space between controls and the table */
}
.sort-queries, .search-bar, .logout-button {
margin-right: 10px; /* Space between controls */
}
/* Add any specific styles for search bar, sort dropdown, and logout button if needed */