minor style tweaks

This commit is contained in:
Cade Scroggins
2019-11-06 15:17:51 -10:00
parent 1da8c94562
commit 7d33ff89b8
+11 -10
View File
@@ -204,7 +204,7 @@
/** /**
* Dynamic overlay background colors when command domains are matched. * Dynamic overlay background colors when command domains are matched.
*/ */
colors: true, colors: false,
/** /**
* The delimiter between a command key and your search query. For example, * The delimiter between a command key and your search query. For example,
@@ -241,10 +241,10 @@
<style type="text/css"> <style type="text/css">
:root { :root {
/* colors */ /* colors */
--background: #fff; --background: #fffef8;
--foreground: #232931; --foreground: #3e4959;
--searchBackground: #000; --searchBackground: #fffef8;
--searchForeground: #fff; --searchForeground: #3e4959;
/* fonts */ /* fonts */
--font-family: Lato, sans-serif; --font-family: Lato, sans-serif;
@@ -403,6 +403,7 @@
.search-suggestion { .search-suggestion {
padding: 0.75rem 1rem; padding: 0.75rem 1rem;
border-radius: 0.25rem;
text-align: left; text-align: left;
white-space: nowrap; white-space: nowrap;
cursor: pointer; cursor: pointer;
@@ -422,9 +423,9 @@
content: ' '; content: ' ';
position: absolute; position: absolute;
right: 0; right: 0;
bottom: -0.3rem; bottom: 0.1rem;
left: 0; left: 0;
height: 2px; height: 4px;
background: var(--searchForeground); background: var(--searchForeground);
opacity: 0.4; opacity: 0.4;
} }
@@ -486,9 +487,9 @@
display: none; display: none;
position: absolute; position: absolute;
right: 0; right: 0;
bottom: 2px; bottom: 0.5rem;
left: 0; left: 0;
height: 2px; height: 4px;
transition: 0.2s; transition: 0.2s;
transform: translateX(-2rem); transform: translateX(-2rem);
background: var(--foreground); background: var(--foreground);
@@ -502,7 +503,7 @@
.command a:hover .command-name::after, .command a:hover .command-name::after,
.command a:focus .command-name::after { .command a:focus .command-name::after {
transform: translateX(0); transform: translateX(0);
opacity: 1; opacity: 0.4;
} }
body.help .help, body.help .help,