1
0
silverbullet/web/styles/modals.scss
2022-12-21 16:08:51 +01:00

80 lines
1.2 KiB
SCSS

.sb-modal-wrapper {
position: absolute;
margin: auto;
max-width: 500px;
height: 600px;
left: 0;
right: 0;
top: 0;
bottom: 0;
max-height: 290px;
z-index: 100;
}
.sb-modal-box {
border-radius: 8px;
overflow: hidden;
margin: 10px;
.sb-header {
padding: 13px 10px 10px 10px;
display: flex;
label {
color: var(--highlight-color);
margin: 3px;
}
}
.sb-prompt {
padding: 13px 10px 10px 10px;
label {
font-weight: bold;
}
.sb-mini-editor {
border: 1px solid #333;
margin: 10px 0;
}
}
.sb-help-text {
padding: 5px;
}
.sb-result-list {
max-height: 216px;
overflow-y: scroll;
.sb-icon {
padding: 0 8px 0 5px;
position: relative;
top: 3px;
}
}
.sb-option,
.sb-selected-option {
padding: 8px;
cursor: pointer;
line-height: 20px;
}
.sb-selected-option {
background-color: var(--highlight-color);
}
.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;
}
}