-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.css
More file actions
269 lines (250 loc) · 6.16 KB
/
project.css
File metadata and controls
269 lines (250 loc) · 6.16 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
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
/* Sidebar Navigation */
.side-nav {
height: 100vh;
width: 60px; /* Only show the logo area by default */
position: fixed;
top: 0;
left: 0;
background-color: #f3f3f3; /* Parent background color */
overflow-x: hidden;
transition: width 0.3s ease; /* Smooth transition for expanding */
padding-top: 4px;
z-index: 2000;
display: flex;
flex-direction: column; /* Arrange items in a column */
align-items: center; /* Center items horizontally */
}
.side-nav:hover {
width: 250px; /* Expand the sidebar on hover */
}
.nav-items {
height: 80vh; /* Child div height */
display: flex;
flex-direction: column; /* Arrange items in a column */
justify-content: space-between; /* Space out items evenly */
width: 100%; /* Ensure it spans the full width of the parent */
padding-left: 20px; /* Add padding for spacing */
}
.side-nav a {
padding: 10px 0;
text-decoration: none;
font-size: 1.5em;
color: #333;
display: flex; /* Use flexbox for alignment */
align-items: center; /* Vertically center the content */
gap: 10px; /* Add space between the icon and the text */
transition: 0.3s;
white-space: nowrap; /* Prevent text wrapping */
}
.side-nav a span {
opacity: 0; /* Hide text by default */
transform: translateX(-20px); /* Slide text out of view */
transition: opacity 0.3s ease, transform 0.3s ease;
}
.side-nav:hover a span {
opacity: 1; /* Show text on hover */
transform: translateX(0); /* Slide text into view */
}
.side-nav a i {
font-size: 24px; /* Adjust icon size */
color: #333; /* Ensure icons are visible */
}
.side-nav a:hover {
background-color: #fff;
}
.side-nav:hover ~ #project_part {
margin-left: 250px; /* Adjust for the expanded sidebar */
}
/* side nav end here */
#project_part{
margin-left: 65px; /* Adjust for the collapsed sidebar */
margin-right: 0px;
padding: 15px;
transition: margin-left 0.3s ease;
margin-top: 1vh;
height: 100vh;
}
nav{
height: 60px;
font-size: 1.75rem;
border: black;
background-color: #fafafc;
cursor: pointer;
text-align: center;
display: flex;
justify-content: space-evenly;
align-items: center;
word-spacing: 10px;
}
/* Increases the font size of the text in the nav bar */
a{
text-decoration: none;
color:#80B918;
font-weight: 600;
border: 2px solid #1D1d1F;
padding: 7.5px 50px 7.5px 50px;
border-radius: 5px;
transition: all 0.05s linear 0s;
}
a:hover{
font-size: 35px;
color:#ff3c26;
}
table{
width: 100%;
border: 1px solid #a3c5f1;
border-collapse: collapse;
margin-top: 2%;
font-size: 20px;
color :#334663;
box-sizing: border-box;
text-align: center;
background-color: #ffffff;
border-radius: 5px;
border-right: none;
border-left: none;
/* box-shadow: #6E6E73 3px 3px 3px 0px; */
}
#addProject{
background-color: #ffffff;
color : #0c121d;
width: 100%;
padding: 2%;
font-size: 30px;
margin: 2%;
border-radius: 5px;
border: 1px solid #a3c5f1;
display: none;
justify-content: center;
}
input{
width: 55%;
padding: 1.8%;
font-size: 30px;
margin-left: 5px;
display: inline-flex;
justify-content: center;
align-items: center;
height: 60px;
font-size: 1.6rem;
border-radius: 5px;
}
#addProject input{
height: 20px;
width: 50%;
padding: 2%;
font-size: 30px;
margin-left: 5px;
}
button{
background-color: white;
color : #6E6E73;
display: inline-flex;
justify-content: center;
align-items: center;
height: 60px;
font-size: 1.6rem;
border-radius: 5px;
width: 30%;
margin-right: 10px;
}
#overdue{
display: none;
font-size: 30px;
list-style: circle;
box-sizing: border-box;
text-align: center;
background-color: #ffffff;
border-radius: 5px;
box-shadow: #6E6E73 3px 3px 3px 0px;
}
#today{
display: none;
font-size: 30px;
list-style: circle;
box-sizing: border-box;
text-align: center;
background-color: #ffffff;
border-radius: 5px;
box-shadow: #6E6E73 3px 3px 3px 0px;
}
#upcoming{
display: none;
font-size: 30px;
list-style: circle;
box-sizing: border-box;
text-align: center;
background-color: #ffffff;
border-radius: 5px;
box-shadow: #6E6E73 3px 3px 3px 0px;
}
h2{
text-align: center;
}
#btn2{
background-color: white;
color : #6E6E73;
display: inline-flex;
justify-content: center;
align-items: center;
height: 60px;
font-size: 1.1rem;
border-radius: 5px;
width: 23%;
}
h1{
color : #1D1d1F;
font-size: 50px;
text-align: center;
height: 70px;
width: 100%;
margin-top: 10px;
}
#addMembersBtn{
width : 20%;
}
#submitBtn{
width: 15%;
}
#members{
display: inline-flex;
gap: 10px;
}
#buttons{
display: inline-flex;
justify-content: center;
width: 50%;
gap: 20px;
}
/* Reset styles for side navigation bar anchor tags */
#mySidenav a {
all: unset; /* Reset all inherited styles */
display: flex; /* Ensure proper layout */
align-items: center;
padding: 10px 0;
text-decoration: none;
color: inherit; /* Use the default color */
font-size: 16px;
gap: 10px; /* Space between icon and text */
cursor: pointer;
font-size: 1.5em;
color: #333;
}
/* Add specific styles for side navigation bar anchor tags */
#mySidenav a:hover {
background-color: #f0f0f0; /* Add hover effect */
color: #333; /* Change text color on hover */
border-radius: 5px;
}
/* Style for span tags in the side navigation bar */
#mySidenav span {
font-family: Arial, sans-serif; /* Set font family */
font-size: 24px; /* Set font size */
color: #333; /* Optional: Adjust text color */
}
#searchicon{
width: 10%;
}
span{
font-weight: 400;
}