106 lines
1.8 KiB
SCSS
106 lines
1.8 KiB
SCSS
.sb-modal-box {
|
|
margin-top: 60px;
|
|
padding: 0;
|
|
width: 700px;
|
|
max-width: 90%;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
|
|
&::backdrop {
|
|
background-color: var(--modal-backdrop-color);
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
margin-top: 8px;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
max-height: calc(100vh - 16px);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.sb-header {
|
|
padding: 13px 10px 10px 10px;
|
|
display: flex;
|
|
|
|
label {
|
|
margin: 3px;
|
|
}
|
|
|
|
.sb-input {
|
|
flex-grow: 1;
|
|
min-width: 0;
|
|
background-color: transparent;
|
|
padding: 0;
|
|
border-radius: 0;
|
|
|
|
&:focus {
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sb-prompt {
|
|
padding: 13px 10px 10px 10px;
|
|
|
|
label {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sb-input {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
margin: 10px 0;
|
|
// Give the field roomier, balanced horizontal padding (the base
|
|
// `.sb-input` only sets 0.6em, which reads as cramped next to the
|
|
// vertical breathing room in the dialog).
|
|
padding: 0.4em 0.8em;
|
|
}
|
|
|
|
.sb-prompt-buttons {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 10px;
|
|
gap: 10px;
|
|
}
|
|
}
|
|
|
|
.sb-help-text {
|
|
padding: 5px;
|
|
}
|
|
|
|
.sb-result-list {
|
|
max-height: 250px;
|
|
overflow-y: scroll;
|
|
|
|
.sb-icon {
|
|
padding: 0 8px 0 5px;
|
|
position: relative;
|
|
top: 3px;
|
|
}
|
|
|
|
.sb-description {
|
|
font-size: 75%;
|
|
}
|
|
}
|
|
|
|
.sb-option,
|
|
.sb-selected-option {
|
|
padding: 8px;
|
|
cursor: pointer;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.sb-option .sb-hint,
|
|
.sb-selected-option .sb-hint {
|
|
float: right;
|
|
margin-right: 0;
|
|
margin-top: -4px;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
border-radius: 5px;
|
|
}
|
|
}
|