82 lines
1.7 KiB
CSS
82 lines
1.7 KiB
CSS
@import "bootstrap/dist/css/bootstrap.min.css";
|
|
@import "bootstrap-icons/font/bootstrap-icons.css";
|
|
|
|
body {
|
|
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
.task-description-editor {
|
|
min-height: 12rem;
|
|
overflow-y: auto;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.task-description-editor:empty::before {
|
|
color: #6c757d;
|
|
content: attr(data-placeholder);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.task-description-preview {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 1;
|
|
}
|
|
|
|
.priority-picker {
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.priority-option {
|
|
align-items: center;
|
|
background: #fff;
|
|
border: 2px solid var(--priority-color);
|
|
border-radius: 0.5rem;
|
|
color: var(--priority-color);
|
|
display: flex;
|
|
font-size: 0.8rem;
|
|
justify-content: center;
|
|
padding: 0.5rem 0.35rem;
|
|
transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.priority-option:hover,
|
|
.priority-option.active {
|
|
background: var(--priority-color);
|
|
color: var(--priority-active-text);
|
|
}
|
|
|
|
.priority-option.active {
|
|
box-shadow: 0 0 0 3px #212529;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.priority-option-urgent {
|
|
--priority-color: #dc3545;
|
|
--priority-active-text: #fff;
|
|
}
|
|
|
|
.priority-option-high {
|
|
--priority-color: #ffc107;
|
|
--priority-active-text: #212529;
|
|
}
|
|
|
|
.priority-option-medium {
|
|
--priority-color: #0d6efd;
|
|
--priority-active-text: #fff;
|
|
}
|
|
|
|
.priority-option-low {
|
|
--priority-color: #6c757d;
|
|
--priority-active-text: #fff;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.priority-picker {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|