Spaces:
Running
Running
.qe-prompt-list { | |
padding: 20px; | |
.create-button { | |
margin-bottom: 20px; | |
padding: 8px 16px; | |
background-color: #007bff; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
&:hover { | |
background-color: #0056b3; | |
} | |
} | |
.table-container { | |
width: 100%; | |
margin-top: 20px; | |
border: 1px solid #ddd; | |
.table-header { | |
display: flex; | |
background-color: #f2f2f2; | |
font-weight: bold; | |
.table-cell { | |
flex: 1; | |
padding: 8px; | |
border-right: 1px solid #ddd; | |
cursor: pointer; | |
&:nth-child(1) { | |
min-width: 30px; | |
} | |
&:nth-child(2) { | |
flex: 30; | |
} | |
&:nth-child(3) { | |
min-width: 100px; | |
} | |
&:last-child { | |
border-right: none; | |
} | |
} | |
} | |
.table-row { | |
display: flex; | |
border-top: 1px solid #ddd; | |
&:hover { | |
background-color: #f5f5f5; | |
cursor: pointer; | |
} | |
.table-cell { | |
flex: 1; | |
padding: 8px; | |
border-right: 1px solid #ddd; | |
&:nth-child(1) { | |
min-width: 30px; | |
} | |
&:nth-child(2) { | |
flex: 30; | |
} | |
&:nth-child(3) { | |
min-width: 100px; | |
} | |
&:last-child { | |
border-right: none; | |
display: flex; | |
justify-content: center; | |
} | |
} | |
} | |
.set-default-button, | |
.delete-button { | |
padding: 5px; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
margin:3px; | |
} | |
.delete-button { | |
background-color: #dc3545; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
&:hover { | |
background-color: #c82333; | |
} | |
} | |
.set-default-button { | |
background-color: #28a745; | |
color: white; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
&:hover { | |
background-color: #218838; | |
} | |
} | |
} | |
.modal-overlay { | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
bottom: 0; | |
background-color: rgba(0, 0, 0, 0.5); | |
z-index: 1000; | |
} | |
.modal-content { | |
padding: 20px; | |
.label { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
margin-bottom: 20px; | |
.name { | |
margin: 0; | |
} | |
.close-button { | |
background: none; | |
border: none; | |
cursor: pointer; | |
padding: 0; | |
} | |
} | |
form { | |
display: flex; | |
flex-direction: column; | |
gap: 15px; | |
label { | |
display: flex; | |
flex-direction: column; | |
gap: 5px; | |
} | |
input { | |
padding: 8px; | |
border: 1px solid #ddd; | |
border-radius: 5px; | |
} | |
.button-group { | |
display: flex; | |
gap: 10px; | |
margin-top: 20px; | |
button { | |
padding: 8px 16px; | |
border: none; | |
border-radius: 5px; | |
cursor: pointer; | |
&:first-child { | |
background-color: #007bff; | |
color: white; | |
&:hover { | |
background-color: #0056b3; | |
} | |
} | |
&:nth-child(2) { | |
background-color: #28a745; | |
color: white; | |
&:hover { | |
background-color: #218838; | |
} | |
} | |
&:last-child { | |
background-color: #6c757d; | |
color: white; | |
&:hover { | |
background-color: #5a6268; | |
} | |
} | |
} | |
} | |
} | |
} | |
} |