silverbullet/web/styles/modals.scss

94 lines
1.4 KiB
SCSS
Raw Normal View History

.sb-modal-box {
margin-top: 60px;
padding: 0;
width: 700px;
max-width: 90%;
2022-08-01 19:05:30 +08:00
border-radius: 8px;
2022-08-01 23:06:17 +08:00
overflow: hidden;
.cm-content {
padding: 0;
.cm-line {
padding: 2px 0 0 3px;
}
}
2022-08-02 20:40:04 +08:00
.sb-header {
padding: 13px 10px 10px 10px;
display: flex;
2022-12-17 16:07:09 +08:00
label {
margin: 3px;
}
.sb-mini-editor {
flex-grow: 1;
min-width: 0;
}
}
2022-12-21 23:08:51 +08:00
.sb-prompt {
padding: 13px 10px 10px 10px;
label {
font-weight: bold;
}
.sb-mini-editor {
background-color: var(--text-field-background-color);
2022-12-21 23:08:51 +08:00
margin: 10px 0;
padding: 0.2em 0.5em;
border: 0;
border-radius: 0.5em;
outline: none;
2022-12-21 23:08:51 +08:00
}
.sb-prompt-buttons {
display: flex;
justify-content: flex-end;
margin-top: 10px;
gap: 10px;
}
2022-12-21 23:08:51 +08:00
}
2022-08-02 20:40:04 +08:00
.sb-help-text {
padding: 5px;
}
2022-08-02 20:40:04 +08:00
.sb-result-list {
max-height: 250px;
overflow-y: scroll;
2022-08-02 20:40:04 +08:00
.sb-icon {
padding: 0 8px 0 5px;
position: relative;
top: 3px;
}
2023-12-22 01:37:50 +08:00
.sb-description {
font-size: 75%;
}
}
2022-08-02 20:40:04 +08:00
.sb-option,
.sb-selected-option {
padding: 8px;
cursor: pointer;
2022-08-01 23:06:17 +08:00
line-height: 20px;
}
2022-08-02 20:40:04 +08:00
.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;
}
}