Changes First Version
This commit is contained in:
1 parent
42660a1f9c
commit
83a79dd346
4 files changed
+743
-305
No files matched your search
+297
-165
@@ -8,7 +8,7 @@ body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
||||
background: #0f1419;
|
||||
min-height: 100vh;
|
||||
padding: 20px;
|
||||
padding: 16px;
|
||||
color: #e4e6eb;
|
||||
}
|
||||
|
||||
@@ -17,20 +17,77 @@ body {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* ─── Header ─── */
|
||||
header {
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.8em;
|
||||
font-size: 1.4em;
|
||||
color: #e4e6eb;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Context Menu */
|
||||
.header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
/* ─── View Toggle ─── */
|
||||
.view-toggle {
|
||||
display: flex;
|
||||
background: #1a2332;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #2d3748;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.toggle-btn {
|
||||
padding: 7px 16px;
|
||||
font-size: 0.85em;
|
||||
background: transparent;
|
||||
color: #8b96a5;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
font-weight: 500;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.toggle-btn:hover {
|
||||
color: #e4e6eb;
|
||||
background: rgba(255,255,255,0.04);
|
||||
}
|
||||
|
||||
.toggle-btn.active {
|
||||
background: #4299e1;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.archive-count {
|
||||
background: rgba(255,255,255,0.2);
|
||||
padding: 1px 7px;
|
||||
border-radius: 10px;
|
||||
font-size: 0.8em;
|
||||
font-weight: 600;
|
||||
min-width: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.toggle-btn:not(.active) .archive-count {
|
||||
background: #2d3748;
|
||||
color: #a0aec0;
|
||||
}
|
||||
|
||||
/* ─── Context Menu ─── */
|
||||
.context-menu {
|
||||
position: fixed;
|
||||
background: #1e2936;
|
||||
@@ -38,8 +95,9 @@ h1 {
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
|
||||
z-index: 2000;
|
||||
min-width: 150px;
|
||||
min-width: 160px;
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.context-menu.show {
|
||||
@@ -47,11 +105,11 @@ h1 {
|
||||
}
|
||||
|
||||
.context-menu-item {
|
||||
padding: 10px 16px;
|
||||
padding: 9px 14px;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
font-size: 0.9em;
|
||||
border-bottom: 1px solid #2d3748;
|
||||
transition: background 0.15s;
|
||||
font-size: 0.85em;
|
||||
border-bottom: 1px solid #232e3c;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
@@ -71,7 +129,7 @@ h1 {
|
||||
color: #feb2b2;
|
||||
}
|
||||
|
||||
/* Modal Styles */
|
||||
/* ─── Modal ─── */
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
@@ -93,7 +151,7 @@ h1 {
|
||||
background: #1a2332;
|
||||
border-radius: 12px;
|
||||
width: 90%;
|
||||
max-width: 500px;
|
||||
max-width: 460px;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
|
||||
@@ -104,12 +162,12 @@ h1 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
padding: 16px 20px;
|
||||
border-bottom: 1px solid #2d3748;
|
||||
}
|
||||
|
||||
.modal-header h2 {
|
||||
font-size: 1.25em;
|
||||
font-size: 1.1em;
|
||||
font-weight: 600;
|
||||
color: #e4e6eb;
|
||||
}
|
||||
@@ -117,11 +175,11 @@ h1 {
|
||||
.close-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 1.8em;
|
||||
font-size: 1.6em;
|
||||
color: #8b96a5;
|
||||
cursor: pointer;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -136,36 +194,36 @@ h1 {
|
||||
}
|
||||
|
||||
.modal-content form {
|
||||
padding: 20px;
|
||||
padding: 16px 20px;
|
||||
}
|
||||
|
||||
/* Form Styles */
|
||||
/* ─── Form ─── */
|
||||
.form-group {
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 12px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: 4px;
|
||||
font-weight: 500;
|
||||
color: #a0aec0;
|
||||
font-size: 0.875em;
|
||||
font-size: 0.82em;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
select,
|
||||
textarea {
|
||||
width: 100%;
|
||||
padding: 10px 12px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid #2d3748;
|
||||
border-radius: 6px;
|
||||
font-size: 0.95em;
|
||||
font-size: 0.9em;
|
||||
font-family: inherit;
|
||||
transition: all 0.2s;
|
||||
background: #0f1419;
|
||||
@@ -184,12 +242,36 @@ textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.checkbox-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
cursor: pointer;
|
||||
font-size: 0.82em;
|
||||
color: #a0aec0;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.checkbox-label input[type="checkbox"] {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
cursor: pointer;
|
||||
accent-color: #4299e1;
|
||||
}
|
||||
|
||||
.task-description.expanded {
|
||||
-webkit-line-clamp: unset;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
select option {
|
||||
background: #1a2332;
|
||||
color: #e4e6eb;
|
||||
}
|
||||
|
||||
/* Button Styles */
|
||||
/* ─── Buttons ─── */
|
||||
button {
|
||||
font-family: inherit;
|
||||
cursor: pointer;
|
||||
@@ -201,8 +283,8 @@ button {
|
||||
|
||||
.btn-primary {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
font-size: 1em;
|
||||
padding: 10px;
|
||||
font-size: 0.95em;
|
||||
background: #4299e1;
|
||||
color: white;
|
||||
}
|
||||
@@ -212,8 +294,8 @@ button {
|
||||
}
|
||||
|
||||
.btn-add {
|
||||
padding: 10px 20px;
|
||||
font-size: 0.95em;
|
||||
padding: 7px 16px;
|
||||
font-size: 0.85em;
|
||||
background: #4299e1;
|
||||
color: white;
|
||||
}
|
||||
@@ -223,8 +305,8 @@ button {
|
||||
}
|
||||
|
||||
.btn-small {
|
||||
padding: 6px 12px;
|
||||
font-size: 0.85em;
|
||||
padding: 4px 10px;
|
||||
font-size: 0.78em;
|
||||
}
|
||||
|
||||
.btn-complete {
|
||||
@@ -236,6 +318,24 @@ button {
|
||||
background: #38a169;
|
||||
}
|
||||
|
||||
.btn-archive {
|
||||
background: #805ad5;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-archive:hover {
|
||||
background: #6b46c1;
|
||||
}
|
||||
|
||||
.btn-restore {
|
||||
background: #4299e1;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-restore:hover {
|
||||
background: #3182ce;
|
||||
}
|
||||
|
||||
.btn-delete {
|
||||
background: #f56565;
|
||||
color: white;
|
||||
@@ -254,21 +354,26 @@ button {
|
||||
background: #3182ce;
|
||||
}
|
||||
|
||||
/* Overall Progress */
|
||||
/* ─── Overall Progress ─── */
|
||||
.overall-progress {
|
||||
background: #1a2332;
|
||||
padding: 20px;
|
||||
padding: 14px 18px;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 24px;
|
||||
margin-bottom: 16px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
border: 1px solid #2d3748;
|
||||
}
|
||||
|
||||
.overall-progress.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.overall-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 8px;
|
||||
font-weight: 600;
|
||||
font-size: 0.9em;
|
||||
color: #e4e6eb;
|
||||
}
|
||||
|
||||
@@ -277,22 +382,10 @@ button {
|
||||
}
|
||||
|
||||
.task-counter {
|
||||
margin-top: 12px;
|
||||
margin-top: 8px;
|
||||
text-align: center;
|
||||
color: #a0aec0;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
#completed-count {
|
||||
color: #4299e1;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.task-counter {
|
||||
margin-top: 12px;
|
||||
text-align: center;
|
||||
color: #a0aec0;
|
||||
font-size: 0.9em;
|
||||
font-size: 0.82em;
|
||||
}
|
||||
|
||||
.task-counter span {
|
||||
@@ -300,25 +393,26 @@ button {
|
||||
color: #e4e6eb;
|
||||
}
|
||||
|
||||
/* Tasks Container */
|
||||
/* ─── Tasks Container ─── */
|
||||
.tasks-container {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
/* ─── Task Cards — Compact ─── */
|
||||
.task-card {
|
||||
background: #1a2332;
|
||||
border-radius: 10px;
|
||||
padding: 16px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
|
||||
border-radius: 8px;
|
||||
padding: 12px 14px;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
|
||||
cursor: grab;
|
||||
transition: all 0.2s;
|
||||
border: 2px solid transparent;
|
||||
border: 1px solid transparent;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.task-card:hover {
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
|
||||
border-color: #2d3748;
|
||||
}
|
||||
|
||||
@@ -335,27 +429,45 @@ button {
|
||||
background: #1e3a5f;
|
||||
}
|
||||
|
||||
.task-card.archived-card {
|
||||
cursor: default;
|
||||
border-left: 3px solid #805ad5;
|
||||
}
|
||||
|
||||
.task-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 12px;
|
||||
align-items: center;
|
||||
margin-bottom: 6px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.task-title {
|
||||
font-size: 1.1em;
|
||||
font-size: 0.95em;
|
||||
font-weight: 600;
|
||||
color: #e4e6eb;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.task-meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.task-size-badge {
|
||||
padding: 4px 10px;
|
||||
border-radius: 12px;
|
||||
font-size: 0.75em;
|
||||
padding: 2px 8px;
|
||||
border-radius: 10px;
|
||||
font-size: 0.7em;
|
||||
font-weight: 600;
|
||||
margin-left: 10px;
|
||||
white-space: nowrap;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
|
||||
.task-size-badge.small {
|
||||
@@ -364,42 +476,41 @@ button {
|
||||
}
|
||||
|
||||
.task-size-badge.medium {
|
||||
background: #7c2d12;
|
||||
color: #fed7aa;
|
||||
background: #744210;
|
||||
color: #fbd38d;
|
||||
}
|
||||
|
||||
.task-size-badge.large {
|
||||
background: #7c2d12;
|
||||
color: #fbb6ce;
|
||||
background: #742a2a;
|
||||
color: #feb2b2;
|
||||
}
|
||||
|
||||
.task-description {
|
||||
color: #a0aec0;
|
||||
margin-bottom: 12px;
|
||||
font-size: 0.9em;
|
||||
line-height: 1.5;
|
||||
color: #8b96a5;
|
||||
margin-bottom: 8px;
|
||||
font-size: 0.82em;
|
||||
line-height: 1.4;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Progress Bar */
|
||||
.progress-section {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.progress-label {
|
||||
/* ─── Inline Progress ─── */
|
||||
.progress-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 6px;
|
||||
font-size: 0.85em;
|
||||
color: #a0aec0;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
flex: 1;
|
||||
height: 6px;
|
||||
background: #0f1419;
|
||||
border-radius: 10px;
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@@ -407,22 +518,44 @@ button {
|
||||
height: 100%;
|
||||
background: #4299e1;
|
||||
transition: width 0.3s ease;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.progress-text {
|
||||
font-size: 0.78em;
|
||||
font-weight: 600;
|
||||
color: #a0aec0;
|
||||
min-width: 32px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Overall progress bar is taller */
|
||||
.overall-progress .progress-bar {
|
||||
height: 16px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.overall-progress .progress-fill {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
font-weight: 600;
|
||||
font-size: 0.75em;
|
||||
font-size: 0.72em;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
/* Reward Section */
|
||||
/* ─── Reward ─── */
|
||||
.reward-section {
|
||||
background: #2d3748;
|
||||
padding: 12px;
|
||||
border-radius: 8px;
|
||||
margin-top: 12px;
|
||||
font-size: 0.95em;
|
||||
border: 1px solid #4a5568;
|
||||
background: #1e2936;
|
||||
padding: 6px 10px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 6px;
|
||||
font-size: 0.82em;
|
||||
border: 1px solid #2d3748;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.reward-hidden {
|
||||
@@ -433,36 +566,40 @@ button {
|
||||
.reward-revealed {
|
||||
color: #68d391;
|
||||
font-weight: 600;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Task Actions */
|
||||
/* ─── Task Actions — Compact row ─── */
|
||||
.task-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
gap: 6px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
/* Subtasks */
|
||||
/* ─── Subtasks ─── */
|
||||
.subtasks-container {
|
||||
margin-top: 12px;
|
||||
padding-left: 16px;
|
||||
margin-top: 8px;
|
||||
padding-left: 12px;
|
||||
border-left: 2px solid #2d3748;
|
||||
}
|
||||
|
||||
.subtask {
|
||||
background: #0f1419;
|
||||
padding: 10px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 6px;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: 4px;
|
||||
cursor: grab;
|
||||
font-size: 0.9em;
|
||||
border: 1px solid #2d3748;
|
||||
font-size: 0.85em;
|
||||
border: 1px solid #1e2936;
|
||||
position: relative;
|
||||
transition: border-color 0.15s;
|
||||
}
|
||||
|
||||
.subtask:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.subtask:hover {
|
||||
border-color: #4a5568;
|
||||
border-color: #3a4a5c;
|
||||
}
|
||||
|
||||
.subtask:active {
|
||||
@@ -477,56 +614,70 @@ button {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 6px;
|
||||
margin-bottom: 4px;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.subtask-title {
|
||||
font-weight: 600;
|
||||
color: #e4e6eb;
|
||||
font-size: 0.92em;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.subtask-progress-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.subtask-progress {
|
||||
width: 100%;
|
||||
height: 16px;
|
||||
flex: 1;
|
||||
height: 4px;
|
||||
background: #1a2332;
|
||||
border-radius: 8px;
|
||||
border-radius: 2px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.subtask-progress-fill {
|
||||
height: 100%;
|
||||
background: #48bb78;
|
||||
transition: width 0.3s ease;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.subtask-actions {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
margin-top: 8px;
|
||||
gap: 4px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
/* Drop Zone */
|
||||
/* ─── Drop Zone ─── */
|
||||
.drop-zone {
|
||||
border: 2px dashed #4a5568;
|
||||
border-radius: 6px;
|
||||
padding: 12px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
color: #718096;
|
||||
margin-top: 12px;
|
||||
font-size: 0.85em;
|
||||
font-size: 0.8em;
|
||||
transition: all 0.2s;
|
||||
opacity: 0;
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.drop-zone.visible {
|
||||
opacity: 1;
|
||||
max-height: 100px;
|
||||
padding: 12px;
|
||||
margin-top: 12px;
|
||||
max-height: 60px;
|
||||
padding: 10px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.drop-zone.drag-over {
|
||||
@@ -535,46 +686,37 @@ button {
|
||||
color: #4299e1;
|
||||
}
|
||||
|
||||
/* Completed State */
|
||||
/* ─── Completed ─── */
|
||||
.completed .task-title,
|
||||
.completed .subtask-title {
|
||||
text-decoration: line-through;
|
||||
color: #718096;
|
||||
}
|
||||
|
||||
.completed {
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.completed .task-title {
|
||||
text-decoration: line-through;
|
||||
color: #a0aec0;
|
||||
}
|
||||
|
||||
/* Checkbox */
|
||||
.checkbox-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.checkbox-group input[type="checkbox"] {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Empty State */
|
||||
/* ─── Empty / Loading State ─── */
|
||||
.empty-state {
|
||||
text-align: center;
|
||||
padding: 60px 20px;
|
||||
padding: 50px 20px;
|
||||
color: #a0aec0;
|
||||
}
|
||||
|
||||
.empty-state h2 {
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 8px;
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 6px;
|
||||
color: #cbd5e0;
|
||||
}
|
||||
|
||||
/* Loading State */
|
||||
.empty-state p {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.loading {
|
||||
text-align: center;
|
||||
padding: 60px 20px;
|
||||
padding: 50px 20px;
|
||||
color: #a0aec0;
|
||||
}
|
||||
|
||||
@@ -582,10 +724,10 @@ button {
|
||||
border: 3px solid #2d3748;
|
||||
border-top: 3px solid #4299e1;
|
||||
border-radius: 50%;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
animation: spin 1s linear infinite;
|
||||
margin: 0 auto 16px;
|
||||
margin: 0 auto 12px;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
@@ -593,36 +735,26 @@ button {
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
/* ─── Responsive ─── */
|
||||
@media (max-width: 640px) {
|
||||
h1 {
|
||||
font-size: 1.5em;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
header {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.form-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.task-header {
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.task-size-badge {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.task-actions {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.task-actions button {
|
||||
width: 100%;
|
||||
.task-card {
|
||||
padding: 10px 12px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user