Kumi
1ddae1b7d3
- Added a date input and an "Update Date" button in the header to allow users to select and update the current date for the Kanban board. - Modified CSS to support new header layout with flexbox for better alignment and distribution. - Enhanced JavaScript to initialize the Kanban board with the selected date and to allow dynamic updates based on the chosen date. - Improved user experience with button hover state and default date setting to today's date. - Ensured the Kanban state is retained across date changes, enhancing data persistence and usability.
78 lines
1.2 KiB
CSS
78 lines
1.2 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
header {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
position: relative;
|
|
text-align: center;
|
|
padding: 1em 2em;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
header h1 {
|
|
margin: 0;
|
|
display: inline-block;
|
|
flex: 1;
|
|
text-align: left;
|
|
}
|
|
|
|
header input[type="date"] {
|
|
margin: 0 1em;
|
|
padding: 0.5em;
|
|
border: none;
|
|
border-radius: 5px;
|
|
outline: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
header button {
|
|
padding: 0.5em 1em;
|
|
background-color: #fff;
|
|
border: 1px solid #4CAF50;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
margin-left: 0.5em;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
header button:hover {
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
padding: 1em;
|
|
padding-bottom: 4em;
|
|
}
|
|
|
|
|
|
footer {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
text-align: center;
|
|
padding: 1em 0;
|
|
position: fixed;
|
|
bottom: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
footer a {
|
|
color: white;
|
|
}
|
|
|
|
.footer-left {
|
|
float: left;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.footer-right {
|
|
float: right;
|
|
margin-right: 1em;
|
|
}
|