show already completed tasks
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
}
|
||||
nav a:hover { color: var(--text-primary); }
|
||||
|
||||
.container { max-width: 900px; margin: 3rem auto; padding: 0 1.5rem; }
|
||||
.container { max-width: 1100px; margin: 3rem auto; padding: 0 1.5rem; }
|
||||
|
||||
/* Clean Notion-style Cards */
|
||||
.card {
|
||||
@@ -110,6 +110,98 @@
|
||||
box-shadow: 0 0 0 3px rgba(35, 131, 226, 0.1);
|
||||
}
|
||||
|
||||
/* Custom Select Style */
|
||||
select {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2337352f%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 12px center;
|
||||
background-size: 10px;
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
/* Notion-like Number Stepper */
|
||||
.stepper-input {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
background: var(--bg-input);
|
||||
border-radius: 4px;
|
||||
padding: 2px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.stepper-input:focus-within {
|
||||
background: white;
|
||||
box-shadow: 0 0 0 3px rgba(35, 131, 226, 0.1);
|
||||
}
|
||||
.stepper-input button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--text-secondary);
|
||||
font-size: 1.2rem;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
cursor: pointer;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.stepper-input button:hover {
|
||||
color: var(--text-primary);
|
||||
background: rgba(0,0,0,0.05);
|
||||
}
|
||||
.stepper-input input {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
border: none;
|
||||
background: transparent;
|
||||
font-weight: 500;
|
||||
}
|
||||
.stepper-input input:focus {
|
||||
box-shadow: none;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* Modern Checklist Styles */
|
||||
.checklist-container {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
.checklist-item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px solid var(--border-dim);
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
.checklist-item:last-child { border-bottom: none; }
|
||||
.checklist-item input[type="checkbox"] {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 12px;
|
||||
margin-top: 4px;
|
||||
margin-bottom: 0;
|
||||
accent-color: var(--primary-color);
|
||||
cursor: pointer;
|
||||
}
|
||||
.checklist-item label {
|
||||
margin: 0;
|
||||
font-size: 0.95rem;
|
||||
cursor: pointer;
|
||||
line-height: 1.5;
|
||||
text-transform: none;
|
||||
color: var(--text-primary);
|
||||
flex-grow: 1;
|
||||
}
|
||||
.checklist-item.completed label {
|
||||
text-decoration: line-through;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.checklist-item.completed {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
/* Minimalist Buttons */
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
@@ -147,6 +239,57 @@
|
||||
.active-section { border: 1px solid var(--primary-color); background: white; box-shadow: 0 4px 12px rgba(35, 131, 226, 0.1); }
|
||||
|
||||
small { color: var(--text-secondary); }
|
||||
|
||||
/* Modern Modal System */
|
||||
.modal-backdrop {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0; left: 0; width: 100%; height: 100%;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
backdrop-filter: blur(3px);
|
||||
z-index: 2000;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
}
|
||||
.modal-backdrop.show {
|
||||
display: flex;
|
||||
opacity: 1;
|
||||
}
|
||||
.modal-card {
|
||||
background: white;
|
||||
width: 100%; max-width: 480px;
|
||||
padding: 2.5rem;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 20px 40px rgba(0,0,0,0.2);
|
||||
transform: scale(0.95);
|
||||
transition: transform 0.2s ease-out;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.modal-backdrop.show .modal-card {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
/* Improved Date/Time Picker styling */
|
||||
input[type="datetime-local"], input[type="date"], input[type="time"] {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
font-family: inherit;
|
||||
color: var(--text-primary);
|
||||
background: var(--bg-input);
|
||||
cursor: pointer;
|
||||
}
|
||||
/* Customizing the icon */
|
||||
::-webkit-calendar-picker-indicator {
|
||||
filter: invert(0.4); /* Make icon grey */
|
||||
cursor: pointer;
|
||||
transition: opacity 0.2s;
|
||||
}
|
||||
::-webkit-calendar-picker-indicator:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user