2023-03-01 07:55:36 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
This CSS file will be included with your plugin, and
|
|
|
|
|
available in the app when your plugin is enabled.
|
|
|
|
|
|
|
|
|
|
If your plugin does not need CSS, delete this file.
|
|
|
|
|
|
|
|
|
|
*/
|
2023-03-01 09:22:14 +00:00
|
|
|
.float-search-modal {
|
2024-04-09 07:31:16 +00:00
|
|
|
width: 700px;
|
|
|
|
|
padding-bottom: 0;
|
2026-03-11 06:31:07 +00:00
|
|
|
transition: width 0.15s ease;
|
2023-03-16 23:58:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-modal.float-search-width {
|
2024-04-09 07:13:48 +00:00
|
|
|
width: 1200px;
|
2023-03-16 23:58:15 +00:00
|
|
|
}
|
|
|
|
|
|
2024-10-31 08:17:09 +00:00
|
|
|
.float-search-modal-search-ctn,
|
|
|
|
|
.float-search-modal-file-ctn {
|
2024-04-09 07:13:48 +00:00
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
2023-03-16 23:58:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-modal-file-ctn .view-header {
|
2024-04-09 07:13:48 +00:00
|
|
|
display: none;
|
2023-03-16 23:58:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-modal-content {
|
2024-04-09 07:13:48 +00:00
|
|
|
height: 800px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-direction: row;
|
2023-03-01 09:22:14 +00:00
|
|
|
}
|
|
|
|
|
|
2023-03-19 15:13:13 +00:00
|
|
|
.float-search-modal-file-ctn .view-content {
|
2024-04-09 07:13:48 +00:00
|
|
|
height: 100%;
|
2023-03-19 15:13:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-modal .modal-close-button {
|
2024-04-09 07:13:48 +00:00
|
|
|
z-index: 40;
|
2023-03-19 15:13:13 +00:00
|
|
|
}
|
|
|
|
|
|
2023-03-01 09:22:14 +00:00
|
|
|
.fs-content .workspace-split.mod-vertical {
|
2024-04-09 07:13:48 +00:00
|
|
|
height: 100%;
|
2023-03-01 09:22:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fs-content {
|
2024-04-09 07:13:48 +00:00
|
|
|
height: 100%;
|
2023-03-01 09:22:14 +00:00
|
|
|
}
|
|
|
|
|
|
2023-03-16 23:58:15 +00:00
|
|
|
.fs-content .cm-scroller {
|
2024-04-09 07:13:48 +00:00
|
|
|
margin-top: 20px;
|
2023-03-16 23:58:15 +00:00
|
|
|
}
|
|
|
|
|
|
2023-03-01 09:22:14 +00:00
|
|
|
.fs-block {
|
2024-04-09 07:13:48 +00:00
|
|
|
height: 100% !important;
|
2023-03-01 09:22:14 +00:00
|
|
|
}
|
2023-03-01 12:38:29 +00:00
|
|
|
|
2023-03-15 09:23:56 +00:00
|
|
|
.fs-block .workspace-leaf-resize-handle {
|
2024-04-09 07:13:48 +00:00
|
|
|
display: none;
|
2023-03-15 09:23:56 +00:00
|
|
|
}
|
|
|
|
|
|
2023-03-01 12:38:29 +00:00
|
|
|
.modal-container.float-search-modal-container.mod-dim {
|
2024-04-09 07:13:48 +00:00
|
|
|
z-index: 30;
|
2023-03-01 12:38:29 +00:00
|
|
|
}
|
2023-03-17 15:35:52 +00:00
|
|
|
|
|
|
|
|
.float-search-modal-instructions {
|
2024-04-09 07:13:48 +00:00
|
|
|
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);
|
2023-03-17 15:35:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-modal-instructions .float-search-modal-instructions-key {
|
2024-04-09 07:13:48 +00:00
|
|
|
font-weight: var(--font-extrabold);
|
|
|
|
|
margin-right: var(--size-2-2);
|
2023-03-18 13:11:10 +00:00
|
|
|
}
|
|
|
|
|
|
2024-10-31 08:17:09 +00:00
|
|
|
.float-search-modal-content:has(.float-search-modal-file-ctn)
|
|
|
|
|
.float-search-modal-search-ctn {
|
2024-04-09 07:13:48 +00:00
|
|
|
border-right: 1px solid var(--background-secondary);
|
2023-03-19 15:13:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-modal-file-ctn:has(.mod-active) {
|
2024-04-09 07:13:48 +00:00
|
|
|
border-bottom: 3px solid var(--color-accent);
|
2023-03-19 15:13:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-modal-file-ctn:has(.mod-active) .cm-scroller {
|
2024-04-09 07:13:48 +00:00
|
|
|
background-color: var(--background-primary);
|
2023-09-07 15:36:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-view-switch {
|
2024-04-09 07:13:48 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2023-09-07 15:36:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-view-menu .menu-item-icon {
|
2024-04-09 07:13:48 +00:00
|
|
|
color: var(--text-muted);
|
2023-09-07 15:36:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-view-menu svg {
|
2024-04-09 07:13:48 +00:00
|
|
|
fill: none;
|
|
|
|
|
stroke: currentcolor;
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
stroke-linecap: round;
|
|
|
|
|
stroke-linejoin: round;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body:not(.show-file-path) .search-result-file-title .search-result-file-path {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.show-file-path .search-result-file-title .search-result-file-path {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
font-size: var(--font-ui-smaller);
|
|
|
|
|
font-weight: var(--font-bolder);
|
|
|
|
|
margin-right: var(--size-2-2);
|
|
|
|
|
padding: 1px;
|
|
|
|
|
padding-left: var(--size-4-2);
|
|
|
|
|
background-color: var(--background-secondary-alt);
|
|
|
|
|
padding-right: var(--size-4-2);
|
|
|
|
|
border-radius: var(--radius-s);
|
|
|
|
|
|
|
|
|
|
--icon-size: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.show-file-path .search-result-file-title .search-result-file-path-icon {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
margin-right: var(--size-2-2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.show-file-path .search-result-file-title .search-result-file-path:hover {
|
|
|
|
|
background-color: var(--background-secondary);
|
2023-09-07 15:36:18 +00:00
|
|
|
}
|
2024-10-31 08:17:09 +00:00
|
|
|
|
|
|
|
|
.fs-leaf-view .workspace-split {
|
|
|
|
|
background-color: var(--background-primary);
|
|
|
|
|
}
|
2026-03-11 06:31:07 +00:00
|
|
|
|
|
|
|
|
/* ── CMDK Modal ── */
|
|
|
|
|
.prompt.float-search-cmdk {
|
|
|
|
|
width: 700px;
|
|
|
|
|
max-width: 90vw;
|
|
|
|
|
transition: width 0.15s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.prompt.float-search-cmdk.float-search-cmdk-expanded {
|
|
|
|
|
width: 1100px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-body {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
height: 50vh;
|
|
|
|
|
max-height: 600px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-body .prompt-results {
|
|
|
|
|
max-height: none;
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-expanded .float-search-cmdk-body .prompt-results {
|
|
|
|
|
flex: 0 0 40%;
|
|
|
|
|
border-right: 1px solid var(--background-modifier-border);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-preview {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-preview .view-header {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-preview .view-content {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-preview .fs-block {
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-preview .fs-content {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-preview .fs-content .workspace-split.mod-vertical {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.float-search-cmdk-preview .workspace-leaf-resize-handle {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.modal-container.float-search-cmdk-container.mod-dim {
|
|
|
|
|
z-index: 30;
|
|
|
|
|
}
|