1
0
silverbullet/web/styles/modals.scss
Zef Hemel a2dbf7b3db
PlugOS refactor and other tweaks (#631)
* Prep for in-process plug loading (e.g. for CF workers, Deno Deploy)
* Prototype of fixed in-process loading plugs
* Fix: buttons not to scroll with content
* Better positioning of modal especially on mobile
* Move query caching outside query
* Fix annoying mouse behavior when filter box appears
* Page navigator search tweaks
2024-01-15 16:43:12 +01:00

84 lines
1.2 KiB
SCSS

.sb-modal-box {
position: absolute;
// At the toppest of the toppest
z-index: 1000;
top: 60px;
left: 50%;
transform: translateX(-50%);
width: 700px;
max-width: 90%;
border-radius: 8px;
overflow: hidden;
.cm-content {
padding: 0;
.cm-line {
padding: 2px 0 0 3px;
}
}
.sb-header {
padding: 13px 10px 10px 10px;
display: flex;
label {
margin: 3px;
}
}
.sb-prompt {
padding: 13px 10px 10px 10px;
label {
font-weight: bold;
}
.sb-mini-editor {
margin: 10px 0;
width: 100%;
border: 0;
outline: none;
}
}
.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;
}
}