1
0
silverbullet/web/styles/modals.scss

88 lines
1.2 KiB
SCSS
Raw Normal View History

2022-12-21 15:08:51 +00:00
.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;
2022-08-01 11:05:30 +00:00
}
2022-12-21 15:08:51 +00:00
.sb-modal-box {
border-radius: 8px;
2022-08-01 15:06:17 +00:00
overflow: hidden;
2022-08-01 11:05:30 +00:00
margin: 10px;
.cm-content {
padding: 0;
.cm-line {
padding: 2px 0 0 3px;
}
}
2022-08-02 12:40:04 +00:00
.sb-header {
padding: 13px 10px 10px 10px;
display: flex;
2022-12-17 08:07:09 +00:00
label {
margin: 3px;
}
}
2022-12-21 15:08:51 +00:00
.sb-prompt {
padding: 13px 10px 10px 10px;
label {
font-weight: bold;
}
.sb-mini-editor {
margin: 10px 0;
width: 100%;
border: 0;
outline: none;
2022-12-21 15:08:51 +00:00
}
}
2022-08-02 12:40:04 +00:00
.sb-help-text {
padding: 5px;
}
2022-08-02 12:40:04 +00:00
.sb-result-list {
2022-08-01 15:06:17 +00:00
max-height: 216px;
overflow-y: scroll;
2022-08-02 12:40:04 +00:00
.sb-icon {
padding: 0 8px 0 5px;
position: relative;
top: 3px;
}
2023-12-21 17:37:50 +00:00
.sb-description {
font-size: 75%;
}
}
2022-08-02 12:40:04 +00:00
.sb-option,
.sb-selected-option {
padding: 8px;
cursor: pointer;
2022-08-01 15:06:17 +00:00
line-height: 20px;
}
2022-08-02 12:40:04 +00: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;
}
2023-12-21 17:37:50 +00:00
}