Created
October 1, 2022 16:38
-
-
Save ConteMan/f9182e56ef23eced592bb78fde7949c1 to your computer and use it in GitHub Desktop.
Obsidian plugin. Better Command Palette. Simple style.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Better Command Palette */ | |
.better-command-palette .better-command-palette-title { | |
display: none; | |
} | |
.suggestion-prefix:after { | |
content: ": "; | |
} | |
.better-command-palette .suggestion-item { | |
display: flex; | |
flex-wrap: wrap; | |
align-items: center; | |
padding: 8px; | |
} | |
.better-command-palette .suggestion-item.hidden { | |
display: flex !important; | |
} | |
.better-command-palette .suggestion-item .suggestion-flair { | |
opacity: 0; | |
display: inline-flex; | |
align-items: center; | |
margin-right: 8px; | |
} | |
.better-command-palette .suggestion-item .recent-text { | |
flex-grow: 1; | |
display: inline-flex; | |
justify-content: end; | |
order: 10; | |
} | |
.better-command-palette .suggestion-content { | |
max-width: 80%; | |
} | |
.better-command-palette .suggestion-sub-content { | |
width: 100%; | |
order: 11; | |
padding-left: 24px; | |
} | |
.better-command-palette .suggestion-item .suggestion-flair svg{ | |
padding-top: 8px; | |
} | |
.better-command-palette .suggestion-item.is-selected .suggestion-flair { | |
opacity: 60; | |
} | |
.better-command-palette .suggestion-hotkey { | |
padding: 2px 12px; | |
margin-left: 8px; | |
margin-top: 0; | |
} | |
.better-command-palette .prompt-instructions { | |
opacity: 0; | |
} | |
.better-command-palette .prompt-instructions:hover { | |
opacity: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment