117 lines
2.2 KiB
CSS
117 lines
2.2 KiB
CSS
.path-management {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.path-input {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 12px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.btn-save {
|
|
min-width: 120px;
|
|
padding: 0 20px;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.path-list h4 {
|
|
margin: 0 0 12px;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #5e7285;
|
|
}
|
|
|
|
#pathList {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
#pathList li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 14px;
|
|
padding: 14px 16px;
|
|
border-radius: 18px;
|
|
background: linear-gradient(180deg, rgba(245, 248, 251, 0.95), rgba(235, 241, 246, 0.92));
|
|
border: 1px solid rgba(125, 148, 177, 0.14);
|
|
}
|
|
|
|
#pathList li > span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: #314355;
|
|
font-weight: 600;
|
|
}
|
|
|
|
#pathList li > div {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#pathList li button {
|
|
min-height: 38px;
|
|
padding: 0 14px;
|
|
border: 1px solid rgba(25, 76, 150, 0.3);
|
|
border-radius: 12px;
|
|
color: #ffffff;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.24),
|
|
0 8px 16px rgba(37, 111, 214, 0.18);
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
#pathList li button:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.28),
|
|
0 12px 18px rgba(37, 111, 214, 0.22);
|
|
}
|
|
|
|
#pathList li button.load-btn {
|
|
background: linear-gradient(160deg, var(--btn-secondary-start), var(--btn-secondary-end));
|
|
}
|
|
|
|
#pathList li button.delete-btn,
|
|
#pathList li button:not(.load-btn) {
|
|
background: linear-gradient(160deg, var(--btn-secondary-start), var(--btn-secondary-end));
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.path-input {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.btn-save {
|
|
width: 100%;
|
|
}
|
|
|
|
#pathList li {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
#pathList li > div {
|
|
width: 100%;
|
|
}
|
|
|
|
#pathList li button {
|
|
flex: 1;
|
|
}
|
|
}
|