diff --git a/assets/css/styles.scss b/assets/css/styles.scss
index f1634f000..d544fdf05 100644
--- a/assets/css/styles.scss
+++ b/assets/css/styles.scss
@@ -86,20 +86,20 @@ button {
font-weight: 700;
font-size: 16px;
cursor: pointer;
- transition: all .2s;
+ transition: all 0.2s ease-in-out;
- &[disabled],
- &.disabled {
+ &[disabled], &.disabled {
opacity: 0.7;
cursor: default;
}
- &:hover,
- &:focus {
- background-color: var(--act-color);
- box-shadow: inset 0 0 0 2px var(--ac-color);
- color: var(--ac-color);
- }
+ // Only show hover and focus if the button is *not*
+ // disabled.
+ &:not([disabled]):hover, &:not(.disabled):focus {
+ background-color: transparent;
+ box-shadow: inset 0 0 0 2px var(--ac-color);
+ color: var(--ac-color);
+ }
}
fieldset {
@@ -237,7 +237,8 @@ input[type="checkbox"] {
}
.disabled,
-input[disabled] {
+input[disabled],
+button[disabled] {
background-color: var(--err-color);
color: #b2b2b2;
}
diff --git a/assets/css/themes.scss b/assets/css/themes.scss
index 11606549b..d611740f3 100644
--- a/assets/css/themes.scss
+++ b/assets/css/themes.scss
@@ -10,6 +10,8 @@
--bg-dark-color: #000000;
// Background color
--bg-color: #121212;
+ // Auto-complete color
+ --atc-color: #212121;
// Text color
--fg-color: #FFF;
@@ -26,6 +28,8 @@
--bg-dark-color: #ffffff;
// Background color
--bg-color: #F6F8FA;
+ // Auto-complete color
+ --atc-color: #F1F1F1;
// Text color
--fg-color: #121212;
@@ -36,4 +40,4 @@
--ac-color: #51FF0D;
// Active text color
--act-color: #121212;
-}
\ No newline at end of file
+}
diff --git a/components/autocomplete.vue b/components/autocomplete.vue
new file mode 100644
index 000000000..0ec662627
--- /dev/null
+++ b/components/autocomplete.vue
@@ -0,0 +1,190 @@
+
+