mirror of
https://github.com/quorafind/Obsidian-Float-Search.git
synced 2026-07-22 07:30:25 +00:00
style: update modal style
This commit is contained in:
parent
36e22c887d
commit
31fdb1d409
1 changed files with 41 additions and 41 deletions
82
styles.css
82
styles.css
|
|
@ -7,107 +7,107 @@ If your plugin does not need CSS, delete this file.
|
|||
|
||||
*/
|
||||
.float-search-modal {
|
||||
width: 600px;
|
||||
width: 700px;
|
||||
|
||||
padding-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.float-search-modal.float-search-width {
|
||||
width: 1200px;
|
||||
width: 1200px;
|
||||
}
|
||||
|
||||
.float-search-modal-search-ctn, .float-search-modal-file-ctn {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.float-search-modal-file-ctn .view-header {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.float-search-modal-content {
|
||||
height: 800px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
height: 800px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.float-search-modal-file-ctn .view-content {
|
||||
height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.float-search-modal .modal-close-button {
|
||||
z-index: 40;
|
||||
z-index: 40;
|
||||
}
|
||||
|
||||
.fs-content .workspace-split.mod-vertical {
|
||||
height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.fs-content {
|
||||
height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.fs-content .cm-scroller {
|
||||
margin-top: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.fs-block {
|
||||
height: 100% !important;
|
||||
height: 100% !important;
|
||||
}
|
||||
|
||||
.fs-block .workspace-leaf-resize-handle {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.modal-container.float-search-modal-container.mod-dim {
|
||||
z-index: 30;
|
||||
z-index: 30;
|
||||
}
|
||||
|
||||
|
||||
.float-search-modal-instructions {
|
||||
border-top: 1px solid var(--background-secondary);
|
||||
user-select: none;
|
||||
font-size: var(--font-ui-smaller);
|
||||
color: var(--text-muted);
|
||||
padding: var(--size-4-2);
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: var(--size-4-3);
|
||||
border-top: 1px solid var(--background-secondary);
|
||||
user-select: none;
|
||||
font-size: var(--font-ui-smaller);
|
||||
color: var(--text-muted);
|
||||
padding: var(--size-4-2);
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: var(--size-4-3);
|
||||
}
|
||||
|
||||
.float-search-modal-instructions .float-search-modal-instructions-key {
|
||||
font-weight: var(--font-extrabold);
|
||||
margin-right: var(--size-2-2);
|
||||
font-weight: var(--font-extrabold);
|
||||
margin-right: var(--size-2-2);
|
||||
}
|
||||
|
||||
.float-search-modal-content:has(.float-search-modal-file-ctn) .float-search-modal-search-ctn {
|
||||
border-right: 1px solid var(--background-secondary);
|
||||
border-right: 1px solid var(--background-secondary);
|
||||
}
|
||||
|
||||
.float-search-modal-file-ctn:has(.mod-active) {
|
||||
border-bottom: 3px solid var(--color-accent);
|
||||
border-bottom: 3px solid var(--color-accent);
|
||||
}
|
||||
|
||||
.float-search-modal-file-ctn:has(.mod-active) .cm-scroller {
|
||||
background-color: var(--background-primary);
|
||||
background-color: var(--background-primary);
|
||||
}
|
||||
|
||||
.float-search-view-switch {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.float-search-view-menu .menu-item-icon {
|
||||
color: var(--text-muted);
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.float-search-view-menu svg {
|
||||
fill: none;
|
||||
stroke: currentcolor;
|
||||
stroke-width: 2;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
fill: none;
|
||||
stroke: currentcolor;
|
||||
stroke-width: 2;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue