2026-02-08 17:01:36 +03:00
|
|
|
.wishlist-form {
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
max-width: 800px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
position: relative;
|
|
|
|
|
padding-bottom: 5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.close-x-button {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 1rem;
|
|
|
|
|
right: 1rem;
|
|
|
|
|
background: rgba(255, 255, 255, 0.9);
|
|
|
|
|
border: none;
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
color: #7f8c8d;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
transition: background-color 0.2s, color 0.2s;
|
|
|
|
|
z-index: 1600;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.close-x-button:hover {
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
color: #2c3e50;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wishlist-form h2 {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #1f2937;
|
|
|
|
|
margin: 0 0 1.5rem 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wishlist-form form {
|
|
|
|
|
background: white;
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-group label {
|
|
|
|
|
display: block;
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #374151;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
border: 1px solid #d1d5db;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
transition: border-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-input:focus {
|
|
|
|
|
outline: none;
|
|
|
|
|
border-color: #3498db;
|
|
|
|
|
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-24 17:06:44 +03:00
|
|
|
/* Одинаковая высота всех инпутов на экране */
|
|
|
|
|
.wishlist-form .form-input {
|
|
|
|
|
height: 2.75rem;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
padding-top: 0;
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-08 17:01:36 +03:00
|
|
|
.image-preview {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 400px;
|
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-preview img {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
aspect-ratio: 5 / 6;
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.remove-image-button {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0.5rem;
|
|
|
|
|
right: 0.5rem;
|
|
|
|
|
background: rgba(231, 76, 60, 0.9);
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.remove-image-button:hover {
|
|
|
|
|
background: rgba(192, 57, 43, 1);
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-24 17:06:44 +03:00
|
|
|
.image-url-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-url-row + .image-url-row {
|
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-url-label {
|
|
|
|
|
font-size: 0.9rem;
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: 3.5rem;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-url-input {
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 120px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.wishlist-form .file-input-label {
|
|
|
|
|
height: 2.75rem;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-input-label {
|
|
|
|
|
flex: 1;
|
|
|
|
|
position: relative;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
padding: 0 0.75rem;
|
|
|
|
|
border: 1px solid #d1d5db;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: border-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-input-label:hover {
|
|
|
|
|
border-color: #3498db;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-input-hidden {
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-input-button {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
color: #9ca3af;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-url-load-button {
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 44px;
|
|
|
|
|
height: 44px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background: #3498db;
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-url-load-button svg {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-url-load-button:hover:not(:disabled) {
|
|
|
|
|
background: #2980b9;
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.image-url-load-button:disabled {
|
|
|
|
|
background: #9ca3af;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-08 17:01:36 +03:00
|
|
|
.cropper-modal {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
background: rgba(0, 0, 0, 0.8);
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
z-index: 2000;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-container {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 600px;
|
|
|
|
|
height: 450px;
|
|
|
|
|
background: white;
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-controls {
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
background: white;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 600px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-controls label {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-controls input[type="range"] {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-actions {
|
|
|
|
|
margin-top: 1rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
width: 100%;
|
|
|
|
|
max-width: 600px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-actions button {
|
|
|
|
|
flex: 1;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-actions button:first-child {
|
|
|
|
|
background: #6b7280;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-actions button:first-child:hover {
|
|
|
|
|
background: #4b5563;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-actions button:last-child {
|
|
|
|
|
background: #3498db;
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cropper-actions button:last-child:hover {
|
|
|
|
|
background: #2980b9;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.conditions-list {
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-item-text {
|
|
|
|
|
flex: 1;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 0.25rem 0;
|
|
|
|
|
transition: color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-item-text:hover {
|
|
|
|
|
color: #3498db;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-item-text.condition-item-other-user {
|
|
|
|
|
color: #95a5a6;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-item-text.condition-item-other-user:hover {
|
|
|
|
|
color: #95a5a6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.remove-condition-button {
|
|
|
|
|
background: #e74c3c;
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
width: 24px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.remove-condition-button:hover {
|
|
|
|
|
background: #c0392b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.add-condition-button {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
border: 1px dashed #9ca3af;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
color: #374151;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.add-condition-button:hover {
|
|
|
|
|
background: #e5e7eb;
|
|
|
|
|
border-color: #6b7280;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-form-overlay {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
z-index: 1700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-form {
|
|
|
|
|
background: white;
|
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
|
padding: 0;
|
|
|
|
|
max-width: 500px;
|
|
|
|
|
width: 90%;
|
|
|
|
|
max-height: 90vh;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-form-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 1rem 1.5rem;
|
|
|
|
|
border-bottom: 1px solid #e5e7eb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-form h3 {
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #1f2937;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-form-close-button {
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 0;
|
|
|
|
|
width: 2rem;
|
|
|
|
|
height: 2rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
transition: background-color 0.2s, color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-form-close-button:hover {
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
color: #1f2937;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-form form {
|
|
|
|
|
padding: 1.5rem 1.5rem 0.75rem 1.5rem;
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
|
margin-bottom: 0.125rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.calculated-weeks-info {
|
|
|
|
|
margin-top: 0.125rem;
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
text-align: left;
|
|
|
|
|
color: #666;
|
|
|
|
|
font-size: 0.85em;
|
|
|
|
|
min-height: 1.2em;
|
|
|
|
|
line-height: 1.2em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.submit-button {
|
|
|
|
|
flex: 1;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
background: #3498db;
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.condition-form-submit-button {
|
|
|
|
|
width: 100%;
|
|
|
|
|
flex: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.submit-button:hover:not(:disabled) {
|
|
|
|
|
background: #2980b9;
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.submit-button:disabled {
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cancel-button {
|
|
|
|
|
flex: 1;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
background: #6b7280;
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cancel-button:hover {
|
|
|
|
|
background: #4b5563;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.error-message {
|
|
|
|
|
color: #e74c3c;
|
|
|
|
|
background-color: #f8d7da;
|
|
|
|
|
border: 1px solid #f5c6cb;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Link input with pull button */
|
|
|
|
|
.link-input-wrapper {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.link-input-wrapper .form-input {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pull-metadata-button {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 44px;
|
|
|
|
|
height: 44px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background: #3498db;
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pull-metadata-button:hover:not(:disabled) {
|
|
|
|
|
background: #2980b9;
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pull-metadata-button:disabled {
|
|
|
|
|
background: #9ca3af;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pull-metadata-button svg {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mini-spinner {
|
|
|
|
|
width: 20px;
|
|
|
|
|
height: 20px;
|
|
|
|
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
|
|
|
|
border-top-color: white;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
animation: spin 0.8s linear infinite;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
|
to {
|
|
|
|
|
transform: rotate(360deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Date Selector Styles (аналогично task-postpone-input-group) */
|
|
|
|
|
.date-selector-input-group {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
align-items: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-selector-input {
|
|
|
|
|
position: absolute;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
width: 0;
|
|
|
|
|
height: 0;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-selector-display-date {
|
|
|
|
|
flex: 1;
|
2026-02-24 17:06:44 +03:00
|
|
|
height: 2.75rem;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
padding: 0 0.75rem;
|
2026-02-08 17:01:36 +03:00
|
|
|
border: 1px solid #d1d5db;
|
|
|
|
|
border-radius: 0.375rem;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
background: white;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
color: #1f2937;
|
|
|
|
|
user-select: none;
|
2026-02-24 17:06:44 +03:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-02-08 17:01:36 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-selector-display-date:hover {
|
|
|
|
|
border-color: #3498db;
|
|
|
|
|
background: #f9fafb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-selector-display-date:active {
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-selector-clear-button {
|
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
background: #e5e7eb;
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 0.875rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
transition: all 0.2s;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-selector-clear-button:hover {
|
|
|
|
|
background: #d1d5db;
|
|
|
|
|
color: #374151;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.date-selector-clear-button:active {
|
|
|
|
|
transform: scale(0.95);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Task Autocomplete Styles */
|
|
|
|
|
.task-autocomplete {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-input-wrapper {
|
|
|
|
|
flex: 1;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-input {
|
|
|
|
|
width: 100%;
|
2026-02-24 17:06:44 +03:00
|
|
|
height: 2.75rem;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
padding: 0 36px 0 14px;
|
2026-02-08 17:01:36 +03:00
|
|
|
border: 1px solid #d1d5db;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
transition: border-color 0.2s, box-shadow 0.2s;
|
|
|
|
|
background: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-input:focus {
|
|
|
|
|
outline: none;
|
|
|
|
|
border-color: #4f46e5;
|
|
|
|
|
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-input::placeholder {
|
|
|
|
|
color: #9ca3af;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-clear {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 10px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
color: #9ca3af;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-clear:hover {
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Кнопка создания */
|
|
|
|
|
.create-task-button {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
width: 44px;
|
|
|
|
|
height: 44px;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background: #4f46e5;
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.2s;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.create-task-button:hover {
|
|
|
|
|
background: #4338ca;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Dropdown список */
|
|
|
|
|
.task-autocomplete-dropdown {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: calc(100% + 4px);
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 52px; /* Учитываем ширину кнопки + gap */
|
|
|
|
|
max-height: 240px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
background: white;
|
|
|
|
|
border: 1px solid #e5e7eb;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
|
|
|
z-index: 50;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-empty {
|
|
|
|
|
padding: 16px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
color: #9ca3af;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-item {
|
|
|
|
|
padding: 12px 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #374151;
|
|
|
|
|
border-bottom: 1px solid #f3f4f6;
|
|
|
|
|
transition: background 0.1s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-item:last-child {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-item:hover,
|
|
|
|
|
.task-autocomplete-item.highlighted {
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-item.selected {
|
|
|
|
|
background: #eef2ff;
|
|
|
|
|
color: #4f46e5;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.task-autocomplete-item.selected.highlighted {
|
|
|
|
|
background: #e0e7ff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Group Autocomplete */
|
|
|
|
|
.group-autocomplete {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.group-autocomplete-input-wrapper {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.group-autocomplete-clear {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 10px;
|
|
|
|
|
top: 50%;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
color: #9ca3af;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
transition: all 0.15s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.group-autocomplete-clear:hover {
|
|
|
|
|
color: #6b7280;
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.group-autocomplete-dropdown {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: calc(100% + 4px);
|
|
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
|
|
|
|
max-height: 240px;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
background: white;
|
|
|
|
|
border: 1px solid #e5e7eb;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
|
|
|
z-index: 50;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.group-autocomplete-item {
|
|
|
|
|
padding: 12px 14px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #374151;
|
|
|
|
|
border-bottom: 1px solid #f3f4f6;
|
|
|
|
|
transition: background 0.1s;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.group-autocomplete-item:last-child {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.group-autocomplete-item:hover,
|
|
|
|
|
.group-autocomplete-item.highlighted {
|
|
|
|
|
background: #f3f4f6;
|
|
|
|
|
}
|